Skip to content
UPEEC

Database Drivers

Libraries that connect Python to a specific database.

Easy
Comments 0

This is an overview — pick a sub-topic below.

Sub-topics (10)

sqlite3

The built-in driver for SQLite, a full SQL database in a single file.

Beginner♥ 0🔖 0💬 0

psycopg and asyncpg

PostgreSQL drivers: psycopg 3 (sync + async, the standard) and asyncpg (very fast async).

Easy♥ 0🔖 0💬 0

PyMySQL and mysqlclient

MySQL/MariaDB drivers — pure Python (PyMySQL) or C-based and faster (mysqlclient).

Easy♥ 0🔖 0💬 0

PyMongo and Motor

MongoDB drivers: PyMongo (sync) and Motor (async).

Easy♥ 0🔖 0💬 0

redis-py

Client for Redis — in-memory key-value store used for caching, queues, rate limits and pub/sub.

Easy♥ 0🔖 0💬 0

DuckDB

An in-process analytical SQL database — query CSV, Parquet and pandas DataFrames at high speed.

Easy♥ 0🔖 0💬 0

Supabase and Firebase Admin SDKs

Python clients for hosted backends: Supabase (Postgres + auth + storage) and Firebase (Firestore, auth, messaging).

Easy♥ 0🔖 0💬 0

Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.

Discussion (0)

Sign in or join free to ask questions and discuss this topic.