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:
- Annotate Python AST trees with source text and token information☆192Updated 3 weeks ago
- Cython plugin for Lark, reimplementing the LALR parser & lexer for better performance☆51Updated 6 months ago
- minimize python source code to find bugs more easily☆46Updated this week
- 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
- Hypothesis strategies for generating Python programs, something like CSmith☆110Updated last year
- Pretty print the output of python stdlib `ast.parse`.☆196Updated 2 weeks ago
- Write compiled bytecode inline with pure Python. 🤖☆82Updated last year
- ☆46Updated 3 weeks ago
- An unofficial, importable pip API☆119Updated last month
- Decisions by the Python Typing Council☆51Updated last year
- `diagnostic` makes it easier to build command line tools with great error reporting.☆31Updated this week
- Python variant types that work with match☆54Updated last year
- Grep Python Abstract Syntax Trees (AST) using XPath☆104Updated 3 weeks ago
- Backport for type hinting generics in standard collections and union types as X | Y☆19Updated 4 years ago
- generate random python code to test linter/formatter/and other tools☆53Updated this week
- A Python type explainer!☆83Updated 2 years ago
- Create reproducible installations for a virtual environment from a lock file☆85Updated 2 months ago
- A utility to fetch and download python packages☆159Updated this week
- A wrapper around the stdlib `tokenize` which roundtrips.☆61Updated last month
- Proof-of-concept `record` type for Python☆30Updated last year
- 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)☆70Updated 2 months ago
- ☆39Updated last year
- Get information about what a Python frame is currently doing, particularly the AST node being executed☆369Updated 5 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
- Retrieve information from typeshed and other typing stubs☆30Updated 3 weeks ago
- Utilities for run-time type validation and multiple dispatch☆172Updated 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 last week
- Extract semantic information about static Python code☆81Updated last month
- Collecting examples of unsoundness in the Python type system☆74Updated 3 months ago