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

↑ snowflake-connector-python↑ snowflake-snowpark-python↑ psycopg2↑ duckdb↑ peewee
#1SQLAlchemyv2.0.51
79

Database Abstraction Library

299.7M/moMIT★ 11.9K
#2SQLAlchemyv2.0.51
79

Database Abstraction Library

299.7M/moMIT★ 11.9K
#3psycopg2-binaryv2.9.12
84

psycopg2 - Python-PostgreSQL Database Adapter

188.0M/moLGPL with exceptions★ 3.6K
#4snowflake-connector-pythonv4.6.0↑
84

Snowflake Connector for Python

133.5M/moApache-2.0★ 727
#5snowflake-snowpark-pythonv1.52.0↑
90

Snowflake Snowpark for Python

72.0M/moApache License, Version 2.0★ 336
#6sqlalchemy-bigqueryv1.17.0
94

SQLAlchemy dialect for BigQuery

59.5M/moMIT License★ 5.3K
#7pymongov4.17.0
86

PyMongo - the Official MongoDB Python driver

84.7M/moApache-2.0★ 4.3K
#8sqlparsev0.5.5
81

A non-validating SQL parser.

← All categoriesSearch database & orm packages →
104.5M/moBSD License★ 4.0K
#9alembicv1.18.5
72

A database migration tool for SQLAlchemy.

146.6M/moMIT★ 4.2K
#10xlrdv2.0.2↓
85

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

60.2M/moBSD
#11psycopgv3.3.4
81

PostgreSQL database adapter for Python

69.9M/moLGPL-3.0-only★ 2.4K

19 more packages

Sign in for free to see the full list

Sign in free