t3rn0 / ast-commentsLinks
Extension to the built-in ast module. Finds comments in source code and adds them to the parsed tree.
☆46Updated 2 months ago
Alternatives and similar repositories for ast-comments
Users that are interested in ast-comments are comparing it to the libraries listed below
Sorting:
- Annotate Python AST trees with source text and token information☆183Updated 2 months ago
- Easy creation of custom import hooks to experiment on alternatives to Python's syntax; see https://aroberge.github.io/ideas/docs/html/☆83Updated last year
- Cython plugin for Lark, reimplementing the LALR parser & lexer for better performance☆50Updated last month
- Write compiled bytecode inline with pure Python. 🤖☆80Updated 11 months ago
- Pretty print the output of python stdlib `ast.parse`.☆197Updated 2 weeks ago
- Hypothesis strategies for generating Python programs, something like CSmith☆106Updated last year
- minimize python source code to find bugs more easily☆41Updated 2 weeks ago
- ☆45Updated 11 months ago
- `diagnostic` makes it easier to build command line tools with great error reporting.☆30Updated last year
- Make Python CLI tools win the speed race, by cheating!☆74Updated 2 months ago
- Get information about what a Python frame is currently doing, particularly the AST node being executed☆359Updated last week
- A utility to fetch and download python packages☆152Updated this week
- Create reproducible installations for a virtual environment from a lock file☆85Updated last week
- Backport for type hinting generics in standard collections and union types as X | Y☆18Updated 4 years ago
- Complete lxml external type annotation☆67Updated this week
- A wrapper around the stdlib `tokenize` which roundtrips.☆58Updated 2 weeks ago
- Collecting examples of unsoundness in the Python type system☆64Updated this week
- Over 600 fast Python bindings to the CPython C API. 🤯☆61Updated 11 months ago
- Grep Python Abstract Syntax Trees (AST) using XPath☆100Updated 5 months ago
- An unofficial, importable pip API☆116Updated 2 weeks ago
- Proof-of-concept `record` type for Python☆30Updated last year
- Decisions by the Python Typing Council☆48Updated 10 months ago
- A fast and flexible reimplementation of data classes☆84Updated 2 years ago
- Useful types for Python☆139Updated last month
- Backport of PEP 654 (exception groups)☆46Updated last month
- A subprocess.run drop-in replacement that supports a tee mode, being able to display output in real time while still capturing it. No dep…☆62Updated this week
- Runtime typing introspection tools☆53Updated 3 months ago
- Vendorize packages from PyPI☆104Updated last year
- generate random python code to test linter/formatter/and other tools☆46Updated this week
- Retrieve information from typeshed and other typing stubs☆29Updated last month