Python Database Drivers

Open-source Python projects categorized as Database Drivers

Top 19 Python Database Driver Projects

Database Drivers
  1. redis-py

    Redis Python client

  2. Judoscale

    Save 47% on cloud hosting with autoscaling that just works. Judoscale integrates with Django, FastAPI, Celery, and RQ to make autoscaling easy and reliable. Save big, and say goodbye to request timeouts and backed-up task queues.

    Judoscale logo
  3. PyMySQL

    MySQL client library for Python

  4. asyncpg

    A fast PostgreSQL Database Client Library for Python/asyncio.

    Project mention: FastAPI, Pydantic, Psycopg3: the holy trinity for Python web APIs | dev.to | 2024-10-24

    asyncpg: this was the gold standard async database driver for Postgres, being one of the first to market and most performant. While all other drivers use the C library libpq to interface with Postgres, MagicStack opted to rewrite their own custom implementation and also deviate from Python DBAPI spec. If performance is your main criteria here, then asyncpg is probably the best option.

  5. kafka-python

    Python client for Apache Kafka

  6. dataset

    Easy-to-use data handling for SQL data stores with support for implicit table creation, bulk loading, and transactions.

  7. mysqlclient

    MySQL/MariaDB connector for Python

  8. motor

    Motor - the async Python driver for MongoDB and Tornado or asyncio

  9. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  10. cassandra-python-driver

    DataStax Python Driver for Apache Cassandra

  11. clickhouse-driver

    ClickHouse Python Driver with native interface support

  12. pymssql

    Official home for the pymssql source code.

  13. SuperSQLite

    A supercharged SQLite library for Python

  14. HappyBase

    A developer-friendly Python library to interact with Apache HBase

  15. django-pgtrigger

    Write Postgres triggers for your Django models

  16. queries

    PostgreSQL database access simplified

  17. txRedis

    A Redis client library for Twisted Python

  18. txpostgres

    Twisted wrapper for asynchronous PostgreSQL connections

  19. telephus

    Telephus is a connection pooled, low-level client API for Cassandra in Twisted python.

  20. py2neo

    Py2neo is a comprehensive toolkit for working with Neo4j from within Python applications or from the command line.

  21. mysql-python

    MySQLdb is a Python DB API-2.0 compliant library to interact with MySQL 3.23-5.1 (unofficial mirror)

  22. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Python Database Drivers discussion

Log in or Post with

Python Database Drivers related posts

  • Another Python SQLite Wrapper

    1 project | news.ycombinator.com | 7 Sep 2024
  • Psycopg 3.2 released – PostgreSQL driver for Python

    1 project | news.ycombinator.com | 1 Jul 2024
  • PyPy has been working for me for several years now

    4 projects | news.ycombinator.com | 30 May 2024
  • Ask HN: Is Python async/await some kind of joke?

    4 projects | news.ycombinator.com | 27 Jan 2024
  • kafka-python VS quix-streams - a user suggested alternative

    2 projects | 7 Dec 2023
  • quix-streams VS kafka-python - a user suggested alternative

    2 projects | 7 Dec 2023
  • Can't install mysqclient in python 3.12

    2 projects | /r/django | 6 Dec 2023
  • A note from our sponsor - InfluxDB
    influxdata.com | 29 Apr 2025
    Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems. Learn more →

Index

What are some of the best open-source Database Driver projects in Python? This list will help you:

# Project Stars
1 redis-py 12,992
2 PyMySQL 7,761
3 asyncpg 7,285
4 kafka-python 5,736
5 dataset 4,800
6 mysqlclient 2,496
7 motor 2,486
8 cassandra-python-driver 1,402
9 clickhouse-driver 1,251
10 pymssql 856
11 SuperSQLite 722
12 HappyBase 608
13 django-pgtrigger 585
14 queries 255
15 txRedis 128
16 txpostgres 105
17 telephus 94
18 py2neo 67
19 mysql-python 15

Sponsored
Save 47% on cloud hosting with autoscaling that just works
Judoscale integrates with Django, FastAPI, Celery, and RQ to make autoscaling easy and reliable. Save big, and say goodbye to request timeouts and backed-up task queues.
judoscale.com

Did you know that Python is
the 2nd most popular programming language
based on number of references?