Annotate Python AST trees with source text and token information
☆192Jan 8, 2026Updated 2 months ago
Alternatives and similar repositories for asttokens
Users that are interested in asttokens are comparing it to the libraries listed below
Sorting:
- Get information about what a Python frame is currently doing, particularly the AST node being executed☆383Sep 1, 2025Updated 6 months ago
- A common base representation of python source code for pylint and other projects☆574Mar 2, 2026Updated last week
- ☆49Jan 11, 2026Updated last month
- Annotator that adds scope information to an ast☆26Jun 23, 2025Updated 8 months ago
- Safely evaluate AST nodes without side effects☆51Jan 11, 2026Updated last month
- A Python build and release management tool.☆15Feb 13, 2026Updated 3 weeks ago
- A Python Parser☆665Feb 9, 2026Updated last month
- Python AST read/write☆860Feb 17, 2026Updated 2 weeks ago
- Pretty print the output of python stdlib `ast.parse`.☆197Jan 18, 2026Updated last month
- ☆10Aug 25, 2020Updated 5 years ago
- Triplestore wrapper package for Python.☆12Updated this week
- Manage legacy code with comments.☆17Updated this week
- Bicycle Repair Man - Rewrite Python Sources with Your Additions☆19Oct 17, 2022Updated 3 years ago
- Python AST that abstracts the underlying Python version☆145Nov 29, 2025Updated 3 months ago
- A command-line search utility for Python ASTs using XPath syntax.☆256Apr 20, 2022Updated 3 years ago
- Create reproducible installations for a virtual environment from a lock file☆85Nov 25, 2025Updated 3 months ago
- Better version of repr/reprlib for short, cheap string representations in Python☆25Aug 10, 2024Updated last year
- A Python type checker☆27Updated this week
- python library with a set of tools for simple debugging of python programs☆19Apr 17, 2023Updated 2 years ago
- ☆15Jun 21, 2025Updated 8 months ago
- Griffe extension for `annotated-doc` (originally PEP 727)☆21Updated this week
- A concrete syntax tree parser and serializer library for Python that preserves many aspects of Python's abstract syntax tree☆1,855Jan 22, 2026Updated last month
- Utilities for refactoring imports in python-like syntax.☆24Dec 22, 2025Updated 2 months ago
- Self-compiling compiler of a Python subset. Just enough Python to Python in Python.☆46Feb 21, 2023Updated 3 years ago
- unittest subTest() support and subtests fixture☆253Nov 10, 2025Updated 3 months ago
- C# Data Extraction for "Learning to Represent Edits"☆27Nov 3, 2018Updated 7 years ago
- A tool for mining graph-based change patterns in Python code☆20Dec 12, 2025Updated 2 months ago
- A pure python declarative custom binary protocol parser & generator using dataclasses and type hinting. Like Pydantic for binary protocol…☆53Jul 31, 2024Updated last year
- IDE allow you to refactor code, Baron allows you to write refactoring code.☆298Dec 9, 2021Updated 4 years ago
- Experimental Python API for Ruff☆34Mar 1, 2026Updated last week
- Extract semantic information about static Python code☆82Dec 11, 2025Updated 2 months ago
- Plugin for adding a marker to slow running tests. 🐌☆15Nov 7, 2019Updated 6 years ago
- Bottom-up approach to refactoring in python☆724Jan 29, 2022Updated 4 years ago
- Run-time type checker for Python☆1,746Feb 19, 2026Updated 2 weeks ago
- The collection of Context-Free Path Querying algorithms☆14Dec 16, 2025Updated 2 months ago
- Re-apply type annotations from .pyi stubs to your codebase.☆146Aug 14, 2022Updated 3 years ago
- Pytest plugin providing advanced doctest features☆117Mar 1, 2026Updated last week
- Hypothesis extension to allow generating strings based on regex☆26Nov 1, 2018Updated 7 years ago
- A wrapper around the stdlib `tokenize` which roundtrips.☆61Dec 22, 2025Updated 2 months ago