| 1 |
django.db.models
Relational Databases
|
87,382 |
|
ORM
|
→ |
|
|
|
| 2 |
sqlite3
SQLite
|
72,556 |
|
Database Drivers
|
→ |
|
(Python standard library) SQLite interface compliant with DB-API 2.0.
|
|
| 3 |
duckdb
Database & Storage
|
37,899 |
|
Database
|
→ |
|
An in-process SQL OLAP database management system; optimized for analytics and fast queries, similar to SQLite but for analytical workloads.
|
|
| 4 |
chromadb
Database & Storage
|
27,760 |
|
Database
|
→ |
|
An open-source embedding database for building AI applications with embeddings and semantic search.
|
|
| 5 |
sqlmodel
Relational Databases
|
17,894 |
|
ORM
|
→ |
|
SQLModel is based on Python type annotations, and powered by Pydantic and SQLAlchemy.
|
|
| 6 |
redis-py
NoSQL Databases
|
13,524 |
|
Database Drivers
|
→ |
|
The Python client for Redis.
|
|
| 7 |
peewee
Relational Databases
|
11,960 |
|
ORM
|
→ |
|
|
|
| 8 |
sqlalchemy
Relational Databases
|
11,816 |
|
ORM
|
→ |
|
The Python SQL Toolkit and Object Relational Mapper.
|
|
| 9 |
orjson
Database & Storage
|
8,049 |
|
Serialization
|
→ |
|
Fast, correct JSON library.
|
|
| 10 |
pymysql
MySQL
|
7,832 |
|
Database Drivers
|
→ |
|
A pure Python MySQL driver compatible to mysql-python.
|
|
| 11 |
tinydb
Database & Storage
|
7,501 |
|
Database
|
→ |
|
A tiny, document-oriented database.
|
|
| 12 |
marshmallow
Database & Storage
|
7,234 |
|
Serialization
|
→ |
|
A lightweight library for converting complex objects to and from simple Python datatypes.
|
|
| 13 |
tortoise-orm
Relational Databases
|
5,564 |
|
ORM
|
→ |
|
An easy-to-use asyncio ORM inspired by Django, with relations support.
|
|
| 14 |
dataset
Relational Databases
|
4,860 |
|
ORM
|
→ |
|
Store Python dicts in a database - works with SQLite, MySQL, and PostgreSQL.
|
|
| 15 |
elasticsearch-py
Database & Storage
|
4,368 |
|
Search
|
→ |
|
|
|
| 16 |
mongoengine
NoSQL Databases
|
4,351 |
|
ORM
|
→ |
|
A Python Object-Document-Mapper for working with MongoDB.
|
|
| 17 |
pymongo
NoSQL Databases
|
4,341 |
|
Database Drivers
|
→ |
|
The official Python client for MongoDB.
|
|
| 18 |
pony
Relational Databases
|
3,826 |
|
ORM
|
→ |
|
ORM that provides a generator-oriented interface to SQL.
|
|
| 19 |
django-haystack
Database & Storage
|
3,752 |
|
Search
|
→ |
|
Modular search for Django.
|
|
| 20 |
python-diskcache
Database & Storage
|
2,875 |
|
Caching
|
→ |
|
SQLite and file backed cache backend with faster lookups than memcached and redis.
|
|
| 21 |
cachetools
Database & Storage
|
2,723 |
|
Caching
|
→ |
|
Extensible memoizing collections and decorators.
|
|
| 22 |
beanie
NoSQL Databases
|
2,674 |
|
ORM
|
→ |
|
An asynchronous Python object-document mapper (ODM) for MongoDB.
|
|
| 23 |
pynamodb
NoSQL Databases
|
2,647 |
|
ORM
|
→ |
|
|
|
| 24 |
mysqlclient
MySQL
|
2,526 |
|
Database Drivers
|
→ |
|
|
|
| 25 |
psycopg
PostgreSQL
|
2,377 |
|
Database Drivers
|
→ |
|
The most popular PostgreSQL adapter for Python.
|
|
| 26 |
django-cacheops
Database & Storage
|
2,265 |
|
Caching
|
→ |
|
A slick ORM cache with automatic granular event-driven invalidation.
|
|
| 27 |
msgpack
Database & Storage
|
2,084 |
|
Serialization
|
→ |
|
MessagePack serializer implementation for Python.
|
|
| 28 |
sqlite-utils
SQLite
|
2,046 |
|
Database Drivers
|
→ |
|
Python CLI utility and library for manipulating SQLite databases.
|
|
| 29 |
cassandra-driver
NoSQL Databases
|
1,428 |
|
Database Drivers
|
→ |
|
The Python Driver for Apache Cassandra.
|
|
| 30 |
clickhouse-driver
Other Relational Databases
|
1,293 |
|
Database Drivers
|
→ |
|
Python driver with native interface for ClickHouse.
|
|
| 31 |
pickledb
Database & Storage
|
1,071 |
|
Database
|
→ |
|
A simple and lightweight key-value store for Python.
|
|
| 32 |
ZODB
Database & Storage
|
753 |
|
Database
|
→ |
|
A native object database for Python. A key-value and object graph database.
|
|
| 33 |
pysolr
Database & Storage
|
698 |
|
Search
|
→ |
|
|
|
| 34 |
mssql-python
Other Relational Databases
|
421 |
|
Database Drivers
|
→ |
|
Official Microsoft driver for SQL Server and Azure SQL, built on ODBC for high performance and low memory usage.
|
|
| 35 |
dogpile.cache
Database & Storage
|
294 |
|
Caching
|
→ |
|
dogpile.cache is a next generation replacement for Beaker made by the same authors.
|
|
| 36 |
django-mongodb-backend
NoSQL Databases
|
220 |
|
Database Drivers
|
→ |
|
Official MongoDB database backend for Django.
|
|