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↑ alembic↑ psycopg↑ psycopg-binary
#1SQLAlchemyv2.1.9↑
92

Database Abstraction Library

211.0M/moMIT★ 12.3K
#2SQLAlchemyv2.1.9↑
92

Database Abstraction Library

211.0M/moMIT★ 12.3K
#3psycopg2-binaryv2.9.13
90

psycopg2 - Python-PostgreSQL Database Adapter

122.9M/moLGPL with exceptions★ 3.7K
#4alembicv1.20.1↑
89

A database migration tool for SQLAlchemy.

118.4M/moMIT★ 4.5K
#5psycopgv3.3.9↑
89

PostgreSQL database adapter for Python

110.2M/moLGPL-3.0-only★ 2.5K
#6psycopg-binaryv3.3.9↑
89

PostgreSQL database adapter for Python -- C optimisation distribution

108.1M/moLGPL-3.0-only★ 2.5K
#7asyncpgv0.32.0↑
87

An asyncio PostgreSQL driver

74.0M/moApache-2.0★ 8.1K
#8pymongov4.20.0↑
93
← All categoriesSearch database & orm packages →

PyMongo - the Official MongoDB Python driver

37.5M/moApache-2.0★ 4.4K
#9duckdbv2.0.0↑
91

DuckDB in-process database

41.0M/moMIT License★ 207
#10snowflake-connector-pythonv5.2.0
82

Snowflake DB driver for Python

57.2M/moApache-2.0★ 15
#11PyMySQLv1.2.4
87

Pure Python MySQL Driver

43.7M/moMIT★ 7.9K

19 more packages

Sign in for free to see the full list

Sign in free