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

sqlparse

Python library for parsing and formatting SQL queries.

Databases, ORMs and clientsPYPI

GitHub

1. License

License from PyPI classifier.

github.com/andialbrecht/sqlparse

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

What sqlparse does

Python library for parsing and formatting SQL queries.

sqlparse popularity

65 / 100
Gid Score, #656 overall
31M
downloads a week, pypi
4,023
GitHub stars
9
agent projects use it
sqlparse: downloads per weekPyPI, sqlparse 30,546,720
sqlparse: GitHub starsandialbrecht/sqlparse 4,023

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

How sqlparse is used

  • sqlparse is a dependency in 9 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 190 projects, and what it is used with below comes from all of them.
  • Projects that use it most often also use Requests (90.0%), packaging (85.8%), urllib3 (83.2%).

By coding agent

5 projects, 0.2%

Often used with

In 90.0% of its projects
In 85.8% of its projects
In 83.2% of its projects
In 80.5% of its projects
In 80.5% of its projects
In 80.0% of its projects

More about sqlparse

More in Databases, ORMs and clients

Alternatives

sqlparse This page

BSDGid 6531M/wk

Compare sqlparse with another tool

Get started

Install it.

pip install sqlparse

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