psycopg-pool
Connection pool for Psycopg PostgreSQL driver for efficient database access.
Databases, ORMs and clients PyPI LGPL-3.0-only
How psycopg-pool is used
psycopg-pool is a dependency in 10 of the 6,208 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 2,661, Ethereum and EVM 1,496, 3D and games 2,818, agent frameworks and SDKs 10,983); counting those, it appears in 44 projects, and what it is used with below comes from all of them. The most used alternative in our scan is asyncpg (70 projects). Projects that use it most often also use psycopg (97.7%), Pydantic (88.6%), python-dotenv (86.4%).
psycopg-pool popularity over time
Gid Score 58: downloads 88, use in agent projects 39, GitHub stars 27, downloads trend 69 (each 0-100). How it is calculated.
Often used with psycopg-pool
| psycopg | 97.7% of psycopg-pool projects · 85.4× more than average |
|---|---|
| Pydantic | 88.6% of psycopg-pool projects · 10.3× more than average |
| python-dotenv | 86.4% of psycopg-pool projects · 9.4× more than average |
| Uvicorn | 79.5% of psycopg-pool projects · 10.4× more than average |
| FastAPI | 72.7% of psycopg-pool projects · 9.7× more than average |
| LangChain | 70.5% of psycopg-pool projects · 34.7× more than average |
| Requests | 70.5% of psycopg-pool projects · 10.4× more than average |
| OpenAI Python Library | 70.5% of psycopg-pool projects · 17.9× more than average |
From all 44 projects in our scan that use psycopg-pool, including the dependency samples.
By coding agent
| Claude Code | 0.2% of projects set up for it |
|---|---|
| GitHub Copilot | 0.2% of projects set up for it |
| Cursor | 0.2% of projects set up for it |
Share of public repos configured for each agent that list psycopg-pool as a dependency.
How psycopg-pool is funded
GitHub Sponsors
| @dvarrazzo | 32 current sponsors |
|---|
GitHub shows how many people and companies sponsor an account, not how much they pay. Sponsors of a person back all of their work, which here includes psycopg2, psycopg, psycopg (binary).
Ways to fund psycopg-pool
As the maintainers list them in FUNDING.yml on GitHub. Checked Oct 20, 2026.
Install
| Package | pip install psycopg-pool |
|---|---|
| Main stacks | Python (44) |
| Example projects | apconw/Aix-DB, KodyKendall/LlamaBot, aanno/cocoindex-code-mcp-server, jjfrost/pg-sk-agents-lab, mimfort/rag_for_git |
Alternatives to psycopg-pool
Tools that do the same job, so a project picks one or the other. Add-ons and libraries used alongside psycopg-pool are not listed here; they are in "Often used with".
| Tool | Gid Score | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|---|
| asyncpg pypi Fast asyncio PostgreSQL driver for non-blocking database operations in Python. |
70 | 70 (4.3%) | 30.5M | 8,111 | Apache-2.0 |
| aiosqlite pypi Asyncio wrapper for SQLite enabling non-blocking database operations in Python. |
62 | 58 (3.6%) | 15.9M | 1,582 | MIT |
More in Databases, ORMs and clients: pg Drizzle ORM Prisma Drizzle Kit SQLAlchemy better-sqlite3 psycopg2 Alembic