t3rn0 / ast-commentsLinks
Extension to the built-in ast module. Finds comments in source code and adds them to the parsed tree.
☆49Updated 3 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:
- Cython plugin for Lark, reimplementing the LALR parser & lexer for better performance☆51Updated 6 months ago
- Easy creation of custom import hooks to experiment on alternatives to Python's syntax; see https://aroberge.github.io/ideas/docs/html/☆87Updated 2 years ago
- Annotate Python AST trees with source text and token information☆192Updated last month
- Write compiled bytecode inline with pure Python. 🤖☆82Updated last year
- Hypothesis strategies for generating Python programs, something like CSmith☆110Updated last year
- minimize python source code to find bugs more easily☆46Updated 2 weeks ago
- Pretty print the output of python stdlib `ast.parse`.☆198Updated 3 weeks ago
- ☆47Updated 3 weeks ago
- Grep Python Abstract Syntax Trees (AST) using XPath☆104Updated last month
- Over 600 fast Python bindings to the CPython C API. 🤯☆62Updated last year
- A list of Python type checkers (PEP 484 compliant and not, static and runtime/dynamic)☆71Updated 2 months ago
- Make Python CLI tools win the speed race, by cheating!☆76Updated last month
- Declarative instrumentation for Python.☆102Updated 2 weeks ago
- Proof-of-concept `record` type for Python☆30Updated last year
- A utility to fetch and download python packages☆159Updated 2 weeks ago
- Create reproducible installations for a virtual environment from a lock file☆85Updated 2 months ago
- An unofficial, importable pip API☆119Updated this week
- Get information about what a Python frame is currently doing, particularly the AST node being executed☆369Updated 5 months ago
- Vendorize packages from PyPI☆106Updated last year
- generate random python code to test linter/formatter/and other tools☆53Updated 2 weeks ago
- Safely evaluate AST nodes without side effects☆50Updated 3 weeks ago
- Extract semantic information about static Python code☆81Updated last month
- A Python type explainer!☆83Updated 2 years ago
- `diagnostic` makes it easier to build command line tools with great error reporting.☆31Updated 2 weeks ago
- A wrapper around the stdlib `tokenize` which roundtrips.☆61Updated last month
- A minimal re-implementation of Python's `venv` module☆139Updated 6 months ago
- Backport for type hinting generics in standard collections and union types as X | Y☆19Updated 4 years ago
- ☆37Updated 2 months ago
- A tool for generating random, syntactically-correct Python code. Designed for fuzzing and testing of tools that parse Python code.☆23Updated 2 years ago
- Python variant types that work with match☆54Updated last year