PyRank
  • Insights
  • PyPI
  • GitHub
  • Search
  • Compare
  • Advisories
  • Ecosystem
  • About

Ast Python Packages

Python packages with the GitHub topic ast. Sorted by relevance, with stars and monthly downloads.
mypyc
ast-serialize

Fast Python parser that generates a serialized AST

65.4M 9 7
pylint-dev
astroid

A common base representation of python source code for pylint and other projects

53.5M 580 339
xberg-io
tree-sitter-language-pack

Comprehensive tree-sitter grammar compilation with polyglot bindings — Rust, Python, Node.js, Go, Java, Ruby, Elixir, PHP, C#, WASM, Dart, Kotlin-Android, Swift, Zig, and CLI. 306+ languages.

11.7M 417 65
lmfit
asteval

minimalistic evaluator of python expression using ast module

6M 219 51
cpcloud
protoletariat

Protocol Buffers for the rest of us

2.2M 214 14
ast-grep
ast-grep-cli

⚡A CLI tool for code structural search, lint and rewriting. Written in Rust

2M 15K 405
schettino72
import-deps

find python module imports

1.4M 25 4
python-rope
rope

a python refactoring library

1.4M 2K 183
neogeny
tatsu

竜 TatSu generates Python parsers from grammars in a variation of EBNF

993K 445 56
ast-grep
ast-grep-py

⚡A CLI tool for code structural search, lint and rewriting. Written in Rust

854K 15K 405
asottile
astpretty

Pretty print the output of python stdlib `ast.parse`.

526K 200 21
netromdk
vermin

Concurrently detect the minimum Python versions needed to run code

401K 522 29
Kronuz
esprima

ECMAScript parsing infrastructure for multipurpose analysis

393K 267 47
t3rn0
ast-comments

Extension to the built-in ast module. Finds comments in source code and adds them to the parsed tree.

377K 50 11
openrewrite
openrewrite

Automated mass refactoring of source code.

215K 4K 533
smacke
pyccolo

Declarative instrumentation for Python.

181K 105 3
boolangery
luaparser

A Lua parser and AST builder written in Python.

115K 144 53
fastobo
fastobo

Faultless AST for Open Biomedical Ontologies in Python.

107K 33 4
python-formate
astatine

Some handy helper functions for Python's AST module.

98K 0 1
jgravelle
jcodemunch-mcp

Cut AI token costs 95%+ on code exploration. The leading MCP server for precise, symbol-level GitHub code retrieval via tree-sitter AST. Works with Claude Code, Cursor & any MCP client. 313B+ tokens saved.

93K 2K 300
isidentical
refactor

AST-based fragmental source code refactoring toolkit for Python

47K 459 20
hchasestevens
astpath

A command-line search utility for Python ASTs using XPath syntax.

41K 258 57
inducer
cgen

C/C++ source generation from an AST

39K 177 35
alexmojaki
sorcery

Dark magic delights in Python

37K 428 22
    • Data from PyPI, GitHub, ClickHouse, and BigQuery