PyPI StatsPyPI Stats
DiscoverCompareTrendingDashboard
PyPI Stats — Download analytics for Python packages
APIGitHubPrivacyTerms

Sign in to subscribe to our weekly trending newsletter.

Download data sourced from BigQuery (Google). Counts may include CI/CD and mirror traffic.
Inspired by and built upon the work of pypistats.org
Discover/Database & ORM
🗄️

Best Python Database & ORM Libraries

Libraries for connecting to databases, building queries, and managing schema migrations.

24 packages · ranked by health score & downloads

Trending this week

↑ redshift-connector↑ smart-open↑ asyncpg↑ duckdb↑ streamlit
#1SQLAlchemyv2.0.48
88

Database Abstraction Library

318.7M/moMIT★ 11.7K
#2psycopg2-binaryv2.9.11
91

psycopg2 - Python-PostgreSQL Database Adapter

199.3M/moLGPL with exceptions★ 3.6K
#3snowflake-connector-pythonv4.3.0
89

Snowflake Connector for Python

154.3M/moApache-2.0★ 714
#4alembicv1.18.4
80

A database migration tool for SQLAlchemy.

156.3M/mo
#5pymongov4.16.0
87

PyMongo - the Official MongoDB Python driver

86.8M/mo★ 4.3K
#6xlrdv2.0.2
89

Library for developers to extract data from Microsoft Excel (tm) .xls spreadsheet files

59.2M/moBSD
#7sqlparsev0.5.5
72

A non-validating SQL parser.

117.4M/mo★ 4.0K
#8PyMySQLv1.1.2
80

Pure Python MySQL Driver

77.5M/mo★ 7.8K
#9redshift-connectorv2.1.12↑
89

Redshift interface library

50.5M/moApache License 2.0★ 218
#10sqlalchemy-bigqueryv1.16.0
85

SQLAlchemy dialect for BigQuery

59.8M/mo★ 492
#11pg8000v1.31.5
92

PostgreSQL interface library

41.3M/moBSD 3-Clause License
#12smart-openv7.5.1↑
81

Utils for streaming large files (S3, HDFS, GCS, SFTP, Azure Blob Storage, gzip, bz2, zst...)

67.3M/mo★ 3.4K
#13mysql-connector-pythonv9.6.0
90

A self-contained Python driver for communicating with MySQL servers, using an API that is compliant with the Python Database API Specificati

43.7M/moCustom★ 950
#14snowflake-sqlalchemyv1.9.0
82

Snowflake SQLAlchemy Dialect

61.4M/mo★ 262
#15psycopg2v2.9.11
91

psycopg2 - Python-PostgreSQL Database Adapter

40.4M/moLGPL with exceptions★ 3.6K
#16pymssqlv2.3.13
86

DB-API interface to Microsoft SQL Server for Python. (new Cython-based version)

42.0M/moGPL-3.0★ 881
#17asyncpgv0.31.0↑
78

An asyncio PostgreSQL driver

57.5M/mo
#18pyodbcv5.3.0
89

DB API module for ODBC

34.5M/moMIT★ 3.1K
#19psycopgv3.3.3
80

PostgreSQL database adapter for Python

49.2M/mo★ 2.3K
#20duckdbv1.4.4↑
87

DuckDB in-process database

31.4M/mo★ 122
#21psycopg-binaryv3.3.3
80

PostgreSQL database adapter for Python -- C optimisation distribution

42.0M/mo★ 2.3K
#22streamlitv1.55.0↑
87

A faster way to build and share data apps

30.0M/mo★ 44.0K
#23cuda-bindingsv13.1.1↑
85

Python bindings for CUDA

32.5M/mo
#24peeweev4.0.1↑
88

a little orm

27.4M/mo★ 12.0K
← All categoriesSearch database & orm packages →