| 1 |
django.db.models
Relational Databases
|
87,510 |
|
Relational Databases
ORM
Database & Storage
|
→ |
|
|
|
|
|
| 2 |
sqlite3
SQLite
|
72,760 |
|
SQLite
Database Drivers
Database & Storage
Built-in
|
→ |
|
(Python standard library) SQLite interface compliant with DB-API 2.0.
|
|
|
|
| 3 |
duckdb
Database & Storage
|
38,309 |
|
Database
Database & Storage
|
→ |
|
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
|
28,004 |
|
Database
Database & Storage
|
→ |
|
An open-source embedding database for building AI applications with embeddings and semantic search.
|
|
|
|
| 5 |
sqlmodel
Relational Databases
|
17,952 |
|
Relational Databases
ORM
Database & Storage
|
→ |
|
SQLModel is based on Python type annotations, and powered by Pydantic and SQLAlchemy.
|
|
|
|
| 6 |
redis-py
NoSQL Databases
|
13,533 |
|
NoSQL Databases
Database Drivers
Database & Storage
|
→ |
|
The Python client for Redis.
|
|
|
|
| 7 |
peewee
Relational Databases
|
11,967 |
|
Relational Databases
ORM
Database & Storage
|
→ |
|
A small, expressive ORM.
|
|
|
|
| 8 |
sqlalchemy
Relational Databases
|
11,871 |
|
Relational Databases
ORM
Database & Storage
|
→ |
|
The Python SQL Toolkit and Object Relational Mapper.
|
|
|
|
| 9 |
orjson
Database & Storage
|
8,083 |
|
Serialization
Database & Storage
|
→ |
|
Fast, correct JSON library.
|
|
|
|
| 10 |
pymysql
MySQL
|
7,837 |
|
MySQL
Database Drivers
Database & Storage
|
→ |
|
A pure Python MySQL driver compatible to mysql-python.
|
|
|
|
| 11 |
tinydb
Database & Storage
|
7,517 |
|
Database
Database & Storage
|
→ |
|
A tiny, document-oriented database.
|
|
|
|
| 12 |
marshmallow
Database & Storage
|
7,238 |
|
Serialization
Database & Storage
|
→ |
|
A lightweight library for converting complex objects to and from simple Python datatypes.
|
|
|
|
| 13 |
tortoise-orm
Relational Databases
|
5,568 |
|
Relational Databases
ORM
Database & Storage
|
→ |
|
An easy-to-use asyncio ORM inspired by Django, with relations support.
|
|
|
|
| 14 |
dataset
Relational Databases
|
4,862 |
|
Relational Databases
ORM
Database & Storage
|
→ |
|
Store Python dicts in a database - works with SQLite, MySQL, and PostgreSQL.
|
|
|
|
| 15 |
elasticsearch-py
Database & Storage
|
4,371 |
|
Search
Database & Storage
|
→ |
|
The official low-level Python client for Elasticsearch.
|
|
|
|
| 16 |
mongoengine
NoSQL Databases
|
4,350 |
|
NoSQL Databases
ORM
Database & Storage
|
→ |
|
A Python Object-Document-Mapper for working with MongoDB.
|
|
|
|
| 17 |
pymongo
NoSQL Databases
|
4,346 |
|
NoSQL Databases
Database Drivers
Database & Storage
|
→ |
|
The official Python client for MongoDB.
|
|
|
|
| 18 |
pony
Relational Databases
|
3,827 |
|
Relational Databases
ORM
Database & Storage
|
→ |
|
ORM that provides a generator-oriented interface to SQL.
|
|
|
|
| 19 |
django-haystack
Database & Storage
|
3,738 |
|
Search
Database & Storage
|
→ |
|
Modular search for Django.
|
|
|
|
| 20 |
python-diskcache
Database & Storage
|
2,878 |
|
Caching
Database & Storage
|
→ |
|
SQLite and file backed cache backend with faster lookups than memcached and redis.
|
|
|
|
| 21 |
cachetools
Database & Storage
|
2,732 |
|
Caching
Database & Storage
|
→ |
|
Extensible memoizing collections and decorators.
|
|
|
|
| 22 |
beanie
NoSQL Databases
|
2,676 |
|
NoSQL Databases
ORM
Database & Storage
|
→ |
|
An asynchronous Python object-document mapper (ODM) for MongoDB.
|
|
|
|
| 23 |
pynamodb
NoSQL Databases
|
2,648 |
|
NoSQL Databases
ORM
Database & Storage
|
→ |
|
A Pythonic interface for Amazon DynamoDB.
|
|
|
|
| 24 |
mysqlclient
MySQL
|
2,529 |
|
MySQL
Database Drivers
Database & Storage
|
→ |
|
MySQL connector with Python 3 support ( mysql-python fork).
|
|
|
|
| 25 |
psycopg
PostgreSQL
|
2,393 |
|
PostgreSQL
Database Drivers
Database & Storage
|
→ |
|
The most popular PostgreSQL adapter for Python.
|
|
|
|
| 26 |
django-cacheops
Database & Storage
|
2,268 |
|
Caching
Database & Storage
|
→ |
|
A slick ORM cache with automatic granular event-driven invalidation.
|
|
|
|
| 27 |
msgpack
Database & Storage
|
2,089 |
|
Serialization
Database & Storage
|
→ |
|
MessagePack serializer implementation for Python.
|
|
|
|
| 28 |
sqlite-utils
SQLite
|
2,055 |
|
SQLite
Database Drivers
Database & Storage
|
→ |
|
Python CLI utility and library for manipulating SQLite databases.
|
|
|
|
| 29 |
cassandra-driver
NoSQL Databases
|
1,427 |
|
NoSQL Databases
Database Drivers
Database & Storage
|
→ |
|
The Python Driver for Apache Cassandra.
|
|
|
|
| 30 |
clickhouse-driver
Other Relational Databases
|
1,295 |
|
Other Relational Databases
Database Drivers
Database & Storage
|
→ |
|
Python driver with native interface for ClickHouse.
|
|
|
|
| 31 |
pickledb
Database & Storage
|
1,069 |
|
Database
Database & Storage
|
→ |
|
A simple and lightweight key-value store for Python.
|
|
|
|
| 32 |
ZODB
Database & Storage
|
754 |
|
Database
Database & Storage
|
→ |
|
A native object database for Python. A key-value and object graph database.
|
|
|
|
| 33 |
pysolr
Database & Storage
|
700 |
|
Search
Database & Storage
|
→ |
|
A lightweight Python wrapper for Apache Solr.
|
|
|
|
| 34 |
mssql-python
Other Relational Databases
|
425 |
|
Other Relational Databases
Database Drivers
Database & Storage
|
→ |
|
Official Microsoft driver for SQL Server and Azure SQL, built on ODBC for high performance and low memory usage.
|
|
|
|
| 35 |
dogpile.cache
Database & Storage
|
295 |
|
Caching
Database & Storage
|
→ |
|
dogpile.cache is a next generation replacement for Beaker made by the same authors.
|
|
|
|
| 36 |
django-mongodb-backend
NoSQL Databases
|
221 |
|
NoSQL Databases
Database Drivers
Database & Storage
|
→ |
|
Official MongoDB database backend for Django.
|
|
|
|