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

↑ SQLAlchemy↑ SQLAlchemy↑ psycopg2-binary↑ alembic↑ snowflake-connector-python
#1SQLAlchemyv2.0.52↑
94

Database Abstraction Library

261.4M/moMIT★ 12.1K
#2SQLAlchemyv2.0.52↑
94

Database Abstraction Library

261.4M/moMIT★ 11.9K
#3psycopg2-binaryv2.9.12↑
90

psycopg2 - Python-PostgreSQL Database Adapter

170.9M/moLGPL with exceptions★ 3.7K
#4alembicv1.19.1↑
89

A database migration tool for SQLAlchemy.

136.2M/moMIT★ 4.3K
#5snowflake-connector-pythonv4.7.2↑
89

Snowflake Connector for Python

116.0M/moApache-2.0★ 725
#6sqlparsev0.6.0↑
89

A non-validating SQL parser.

91.8M/moBSD License★ 4.0K
#7pymongov4.17.0↑
91

PyMongo - the Official MongoDB Python driver

70.8M/moApache-2.0★ 4.4K
#8psycopgv3.3.4↑
89
← All categoriesSearch database & orm packages →

PostgreSQL database adapter for Python

77.6M/moLGPL-3.0-only★ 2.5K
#9psycopg-binaryv3.3.4↑
89

PostgreSQL database adapter for Python -- C optimisation distribution

73.3M/moLGPL-3.0-only★ 2.5K
#10asyncpgv0.31.0↑
85

An asyncio PostgreSQL driver

73.4M/moApache-2.0★ 8.1K
#11PyMySQLv1.2.0↑
87

Pure Python MySQL Driver

60.4M/moMIT★ 7.8K

19 more packages

Sign in for free to see the full list

Sign in free