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

#1psycopg2-binaryv2.9.13↓
90

psycopg2 - Python-PostgreSQL Database Adapter

129.7M/moLGPL with exceptions★ 3.7K
#2psycopgv3.3.8↓
89

PostgreSQL database adapter for Python

108.2M/moLGPL-3.0-only★ 2.5K
#3alembicv1.20.1↓
85

A database migration tool for SQLAlchemy.

121.4M/moMIT★ 4.5K
#4asyncpgv0.32.0↓
83

An asyncio PostgreSQL driver

76.1M/moApache-2.0★ 8.1K
#5snowflake-connector-pythonv5.2.0↓
81

Snowflake DB driver for Python

62.3M/moApache-2.0★ 15
#6xlrdv2.0.2↓
88

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

44.1M/moBSD
#7duckdbv2.0.0↓
90

DuckDB in-process database

40.2M/moMIT License★ 205
#8pymongov4.19.0↓
89

PyMongo - the Official MongoDB Python driver

← All categoriesSearch database & orm packages →
39.2M/moApache-2.0★ 4.4K
#9smart-openv9.0.2↓
86

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

34.4M/moMIT License★ 3.5K
#10snowballstemmerv3.1.1↓
89

This package provides 36 stemmers for 34 languages generated from Snowball algorithms.

19.1M/moBSD-3-Clause★ 891
#11psycopg2v2.9.13↓
74

psycopg2 - Python-PostgreSQL Database Adapter

37.0M/moLGPL with exceptions★ 3.7K

19 more packages

Sign in for free to see the full list

Sign in free