mbdevpl/typed-astunparse

Python 3 AST unparser with type comments support.

43
/ 100
Emerging

This tool helps Python developers who work with Abstract Syntax Trees (ASTs) by converting an AST back into human-readable Python code. Specifically, it takes an AST that includes type comments (as defined in PEP 484) and outputs the original Python source code, preserving those type comments. This is essential for developers building tools that analyze or transform Python code while needing to retain type information.

No commits in the last 6 months. Available on PyPI.

Use this if you are a Python developer creating tools that process Python source code and need to convert an Abstract Syntax Tree (AST) back into code while preserving type comments.

Not ideal if you are not a Python developer or if your workflow does not involve manipulating Python Abstract Syntax Trees.

Python development code generation static analysis language tooling type hinting
Stale 6m
Maintenance 0 / 25
Adoption 7 / 25
Maturity 25 / 25
Community 11 / 25

How are scores calculated?

Stars

31

Forks

4

Language

Python

License

Apache-2.0

Last pushed

Oct 24, 2019

Commits (30d)

0

Dependencies

3

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/mbdevpl/typed-astunparse"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.