Sponsors
Become a sponsor-
iPulse AI
Open Agentic Investment Research Platform. Inspect deep multi-agent market forecasts and stock picks.
Listed in editorial order, grouped by use case. Click a column header to re-sort the whole list.
Press / to search. Tags open their category. Click a row for details.
Search and filter
Results
| Row number | Tags | |||||
|---|---|---|---|---|---|---|
MySQL 2 projects |
||||||
| 1 | pymysql MySQL | 76,181,709 | 7,856 | MySQL Database Drivers Database & Storage | ||
|
A pure-Python MySQL and MariaDB client library, based on PEP 249.
|
||||||
| 2 | mysqlclient MySQL | 15,965,364 | 2,539 | MySQL Database Drivers Database & Storage | ||
|
MySQL and MariaDB connector (MySQLdb1 fork).
|
||||||
PostgreSQL 3 projects |
||||||
| 3 | psycopg PostgreSQL | 174,187,239 | 2,516 | PostgreSQL Database Drivers Database & Storage | ||
|
A PostgreSQL adapter for Python, the successor to psycopg2.
|
||||||
| 4 | asyncpg PostgreSQL | 128,362,354 | 8,117 | PostgreSQL Database Drivers Database & Storage | ||
|
A fast PostgreSQL database client library for Python/asyncio.
|
||||||
| 5 | pgvector PostgreSQL | 37,137,310 | 1,540 | PostgreSQL Database Drivers Database & Storage | ||
|
pgvector support for Python, adding vector types and similarity search to psycopg, asyncpg, SQLAlchemy, and Django.
|
||||||
SQLite 3 projects |
||||||
| 6 | sqlite3 SQLite | Stdlib | 77,691 | SQLite Database Drivers Database & Storage Stdlib | ||
|
(Python standard library) SQLite interface compliant with DB-API 2.0.
|
||||||
| 7 | apsw SQLite | 2,125,560 | 954 | SQLite Database Drivers Database & Storage | ||
|
Another Python SQLite Wrapper, exposing the complete SQLite C API.
|
||||||
| 8 | sqlite-utils SQLite | 1,042,365 | 2,180 | SQLite Database Drivers Database & Storage | ||
|
Python CLI utility and library for manipulating SQLite databases.
|
||||||
ClickHouse 2 projects |
||||||
| 9 | clickhouse-connect ClickHouse | 31,174,632 | 533 | ClickHouse Database Drivers Database & Storage | ||
|
The official ClickHouse client, with SQLAlchemy and Superset connectors.
|
||||||
| 10 | clickhouse-driver ClickHouse | 11,430,188 | 1,307 | ClickHouse Database Drivers Database & Storage | ||
|
Python driver with native interface for ClickHouse.
|
||||||
Other Relational Databases 3 projects |
||||||
| 11 | pyodbc Other Relational Databases | 28,367,093 | 3,091 | Other Relational Databases Database Drivers Database & Storage | ||
|
An ODBC bridge for connecting to SQL Server and any other ODBC-accessible database.
|
||||||
| 12 | oracledb Other Relational Databases | 18,767,742 | 456 | Other Relational Databases Database Drivers Database & Storage | ||
|
The official Python driver for Oracle Database, successor to cx_Oracle.
|
||||||
| 13 | mssql-python Other Relational Databases | 2,657,472 | 481 | Other Relational Databases Database Drivers Database & Storage | ||
|
Official Microsoft driver for SQL Server and Azure SQL, built on ODBC for high performance.
|
||||||
NoSQL Databases 3 projects |
||||||
| 14 | redis NoSQL Databases | 222,420,289 | 13,653 | NoSQL Databases Database Drivers Database & Storage | ||
|
The Python client for Redis.
|
||||||
| 15 | pymongo NoSQL Databases | 67,807,004 | 4,361 | NoSQL Databases Database Drivers Database & Storage | ||
|
The official Python client for MongoDB.
|
||||||
| 16 | cassandra-driver NoSQL Databases | 2,499,014 | 1,429 | NoSQL Databases Database Drivers Database & Storage | ||
|
The Python driver for Apache Cassandra.
|
||||||
No projects match your search.
Try a broader term, or .
Database Drivers guide
Psycopg is the PostgreSQL driver Django recommends. One design serves sync and async code: AsyncConnection and AsyncCursor mirror the sync classes, so you mostly add await. Open each connection in a with block. It commits when the block ends, rolls back on an exception, and closes the connection either way.
asyncpg is built for asyncio only, and skips DB-API on purpose to fit PostgreSQL better. In a server, create a pool with asyncpg.create_pool() at startup, then take a connection per request with async with pool.acquire().
pgvector adds the vector types and distance operators of the pgvector Postgres extension to Psycopg, asyncpg, SQLAlchemy, and Django. Enable the extension with CREATE EXTENSION IF NOT EXISTS vector, then register the types on each connection with register_vector(), or in your pool's connection hook. To find nearest neighbors, order by distance, with <-> for L2.
Django calls mysqlclient the recommended choice for MySQL, and ships its own adapter for it. It's a native driver built against MySQL's client library. Where you can't install that library and its headers, use PyMySQL, which SQLAlchemy calls a pure Python port of MySQLdb that targets full compatibility. The licenses differ too: mysqlclient is GPL, and PyMySQL is MIT.
sqlite3 comes with Python, and SQLite needs no server. Use the connection as a context manager: it commits when the block succeeds and rolls back when it raises.
APSW wraps SQLite's complete C API. Unlike sqlite3, it makes no effort to hide how SQLite differs from other databases. Its docs suggest it when you want SQLite's own features, and sqlite3 when you want DB-API and an easy switch to another database. At startup, call apsw.bestpractice.apply(apsw.bestpractice.recommended) before opening any connection. It configures SQLite for best performance and catches common mistakes.
sqlite-utils sits on top of sqlite3 to create and fill databases, not to be a full ORM. Pass insert_all() a list of dicts, and it creates the table and columns for you. Its command-line tool pipes JSON or CSV straight into a new database file.
clickhouse-connect is ClickHouse's official client and talks HTTP, so it works through load balancers, proxies, and enterprise network controls. clickhouse-driver uses the native TCP protocol instead, which its docs say is more configurable and sends compact binary data.
pyodbc reaches any database through that database's ODBC driver, plus one driver manager for all of them. Windows has one built in; on macOS and Unix, you install one first. For SQL Server and Azure SQL, Microsoft's own mssql-python connects without an external driver manager.
python-oracledb is Oracle's official driver. In its default Thin mode, it connects straight to Oracle Database without Oracle Client libraries.
redis-py is the Python client for Redis, and MongoDB's docs call PyMongo the recommended way to work with MongoDB from Python. cassandra-driver talks to Apache Cassandra over Cassandra's binary protocol, with sync and async APIs.
With any SQL database, pass values as query parameters instead of formatting them into the SQL string. The sqlite3 docs say this avoids SQL injection. For more per database, see awesome-mysql, awesome-postgres, and awesome-sqlite.
Contribute
Know a project that belongs here?
Tell us what it does and why it stands out.