Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

parso

Python parser library for syntax analysis and AST generation.

Languages, types and runtimesPYPI

GitHubWebsite

1. License

License from PyPI classifier.

github.com/davidhalter/parso

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What parso does

Python parser library for syntax analysis and AST generation.

parso popularity

61 / 100
Gid Score, #939 overall
27.3M
downloads a week, pypi
679
GitHub stars
6
agent projects use it
parso: downloads per weekPyPI, parso 26,913,711
parso: GitHub starsdavidhalter/parso 679

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How parso is used

  • parso is a dependency in 6 of the 6,258 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750); counting those, it appears in 512 projects, and what it is used with below comes from all of them.
  • The most used alternative in our scan is pycparser (39 projects).
  • Projects that use it most often also use packaging (98.8%), prompt-toolkit (98.4%), Pygments (98.2%).

Often used with

In 98.8% of its projects
In 98.4% of its projects
In 98.2% of its projects
In 97.9% of its projects
In 97.9% of its projects
In 96.3% of its projects
In 95.1% of its projects

More about parso

More in Languages, types and runtimes

Alternatives

parso This page

MITGid 6127.3M/wk

pycparser

C language parser written in pure Python for language tools.

BSD-3-ClauseGid 73282M/wk

astroid

Abstract syntax tree library for Python with semantic inference for code analysis.

LGPL-2.1-or-laterGid 509.4M/wk

Compare parso with another tool

Get started

Install it.

pip install parso

No step-by-step start for parso yet: we have not written its hand-checked card.