Skip to content
Agents tracked: 502 Releases (7d): 613 Agent status: 4 with issuesSince last limit reset: Claude 7d · Codex 5d For AI agents: Markdown Updated Nov 18, 2026

asyncpg vs aiosqlite

In 1,621 Python projects set up for AI coding agents, asyncpg is a dependency in 68 (4.2%) and aiosqlite in 55 (3.4%): asyncpg is 1.2× as common. Among repos created in the last 90 days that use a databases, orms and clients tool, asyncpg is in 28.0% and aiosqlite in 8.0%, against 15.8% and 13.7% of older ones. 15 projects list both, often a sign of a migration or of a monorepo with several apps.

Databases, ORMs and clients PyPI Updated Nov 17, 2026

asyncpg4.2%
aiosqlite3.4%

Share of 1,621 Python projects set up for AI coding agents that list each one as a dependency.

Side by side

asyncpgaiosqlite
Agent projects that use it6855
Rank in databases, orms and clients#11#12
In new repos with a databases, orms and clients tool (last 90 days)28.0%8.0%
In older repos with one15.8%13.7%
Downloads, last 7 days35.1M18M
GitHub stars8,1201,584
Last push to its repoOct 8, 2026Mar 1, 2026
LicenseApache-2.0MIT
Funding——
Projects that list both15

Downloads include CI runs and installs as a dependency of other packages. Stars and pushes are from GitHub's API; downloads from PyPI.

By coding agent

Projects set up forPython reposasyncpgaiosqlite
Claude Code7825.4%4.1%
GitHub Copilot8054.1%2.5%
Cursor5486.4%3.8%
Gemini CLI836.0%0%
Devin Desktop608.3%0%

Share of the Python repos configured for each agent (its config file in the repo) that list the tool. A repo set up for two agents counts for both.

asyncpg

Fast asyncio PostgreSQL driver for non-blocking database operations in Python.

Most often used with it:

FastAPI89.7% of its projects
Uvicorn85.3% of its projects
Pydantic82.4% of its projects
SQLAlchemy75.0% of its projects
python-dotenv58.8% of its projects

pip install asyncpg

aiosqlite

Asyncio wrapper for SQLite enabling non-blocking database operations in Python.

Most often used with it:

Pydantic85.5% of its projects
Uvicorn81.8% of its projects
FastAPI78.2% of its projects
python-dotenv65.5% of its projects
Pydantic Settings63.6% of its projects

pip install aiosqlite

More matchups

asyncpg vs psycopgpsycopg2 vs asyncpgPrisma vs Drizzle ORMpg vs Neon Serverless Driver

How we count

Projects are public GitHub repos our weekly scan finds through coding-agent config files (CLAUDE.md, AGENTS.md, .cursor/mcp.json and others); a project uses a tool when its package.json, requirements.txt or pyproject.toml lists it. "Same job" was checked for every pair, so add-ons and companions are never paired. Shares by repo age compare repos created in the last 90 days with older ones in the same scan. More on the method.