Skip to content
Agents tracked: 378 Downloads (7d): 244M down 5.7% GitHub stars: 8.4M VS Code installs: 151M Releases (7d): 407 Agent status: 1 with issues Updated Oct 10, 2026

sqlparse

Python library for parsing and formatting SQL queries.

Databases, ORMs and clients PyPI

Used in agent projects
23
0.2% of 12,697 public repos built with AI coding agents
Rank in databases, orms and clients
#28 of 30
by use in those projects
Downloads
26.2M
PyPI, last 7 days, sqlparse
GitHub stars
4,020
last push Aug 13, 2026

How sqlparse is used

sqlparse is a dependency in 23 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.2%), #28 of 30 in databases, orms and clients. The most used alternative there is Prisma. Projects that use it most often also use Requests (82.6%), urllib3 (78.3%), asgiref (73.9%).

Often used with sqlparse

Requests82.6% of sqlparse projects · 15.5× more than average
urllib378.3% of sqlparse projects · 51.5× more than average
asgiref73.9% of sqlparse projects · 312.8× more than average
Django73.9% of sqlparse projects · 208.5× more than average
packaging65.2% of sqlparse projects · 57.5× more than average
charset-normalizer65.2% of sqlparse projects · 52.4× more than average
python-dotenv60.9% of sqlparse projects · 9.3× more than average

By coding agent

GitHub Copilot0.2% of projects set up for it

Share of public repos configured for each agent that list sqlparse as a dependency.

Install

Packagepip install sqlparse
Main stacksPython (22), Next.js (1)
Example projectssynapticore-io/marimo-flow, Inf1n1tyDeS0ul/oneinfinity

Alternatives to sqlparse

All databases, orms and clients

Tool Used in agent projectsDownloads / wk GitHub starsLicense
Prisma npm
Modern ORM with intuitive schema, migrations, and type-safe database queries.
381 (3.0%) 19M 23 Apache-2.0
pg npm
PostgreSQL client for Node.js with pure JavaScript and libpq API compatibility.
372 (2.9%) 63.4M 13.2K MIT
Drizzle ORM npm
TypeScript ORM for SQL databases with type safety and zero-runtime overhead.
323 (2.5%) 27.2M 36K Apache-2.0
Drizzle Kit npm
CLI migration tool for Drizzle ORM that auto-generates SQL migrations intelligently.
309 (2.4%) 22.3M 36K MIT
SQLAlchemy pypi
Python SQL toolkit and object-relational mapper for database abstraction.
250 (2.0%) 85.7M 12.2K —
better-sqlite3 npm
Fastest and simplest SQLite library for Node.js with synchronous API.
162 (1.3%) 11.3M 7,513 MIT
psycopg2 pypi
Popular PostgreSQL adapter for Python with full database access and query execution.
143 (1.1%) 50.7M 3,656 LGPL with exceptions
Mongoose npm
MongoDB object modeling library providing schema validation and query building.
142 (1.1%) 6.6M 27.5K MIT
Is sqlparse right for your project? Ask AgentGid →