$npx skillfedfor your agent

Database packages

533 packages · page 1 of 14 · 748 including subcategories

Subcategories

Packages

psycopg2-binary Worth it
PyPI · Database · released Apr 2026

psycopg2-binary is a PostgreSQL database adapter for Python that implements the DB API 2.0 specification, enabling Python applications to connect to and query PostgreSQL databases with thread-safe concurrent operations.

copyleftcompiled wheel · 3.9+
271.6Mdownloads / mo
redis Worth it
PyPI · Database · released Jul 2026

Python client library for connecting to and executing commands against Redis key-value stores, supporting both synchronous and asynchronous operations.

Install it if your application needs to interact with Redis; the only prerequisite is a running Redis server instance.

MITpure Python · 3.10+
268.3Mdownloads / mo
ydb Worth it
PyPI · Database · released Jul 2026

YDB Python SDK is the official client library for connecting to and querying YDB databases from Python applications.

Install it if you need to connect Python applications to YDB databases.

permissive licensepure Python · 3.10+
210.0Mdownloads / mo
snowflake-connector-python Worth it
PyPI · Database · released Aug 2026

Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.

Apache-2.0compiled wheel · 3.10+
193.6Mdownloads / mo
sqlparse Worth it
PyPI · Database · released Aug 2026

sqlparse tokenizes SQL text into a tree of statements, clauses, and expressions, and provides functions to split scripts, format queries, and inspect parsed tokens without validating dialect or syntax.

Install it if you need to manipulate, format, or analyze SQL text programmatically.

BSD-3-Clausepure Python · 3.10+
148.9Mdownloads / mo
dbt-adapters With conditions
PyPI · Database · released Jul 2026

Provides base adapter protocols and shared functionality that database adapters use to integrate with dbt-core, handling connections, dialect translation, relation caching, and core interface management.

Apache-2.0pure Python · 3.10.0+
121.3Mdownloads / mo
pymongo Worth it
PyPI · Database · released Apr 2026

PyMongo is the official MongoDB Python driver, providing synchronous and asynchronous APIs for querying, inserting, updating, and managing MongoDB databases from Python applications.

Install it if you need to connect Python to MongoDB.

Apache-2.0compiled wheel · 3.9+
119.0Mdownloads / mo
psycopg Worth it
PyPI · Database · released May 2026

Psycopg 3 is a PostgreSQL database adapter for Python that enables applications to connect to, query, and manage PostgreSQL databases using Python code.

Install it if you need to connect Python to PostgreSQL.

LGPL-3.0-onlypure Python · 3.10+
117.0Mdownloads / mo
dbt-core Worth it
PyPI · Database · released Aug 2026

dbt-core transforms raw data in a warehouse using SQL select statements organized as models, handling compilation, testing, and dependency management across data transformation projects.

Install it if you need to build SQL-based data transformations with testing and documentation; you will also need to install a warehouse-specific adapter…

Apache-2.0pure Python · 3.10+
113.7Mdownloads / mo
psycopg-binary With conditions
PyPI · Database · released May 2026

Provides compiled C optimizations for the PostgreSQL database adapter, accelerating database operations when installed as an optional component.

LGPL-3.0-onlycompiled wheel · 3.10+
109.6Mdownloads / mo
snowflake-snowpark-python Worth it
PyPI · Database · released Jul 2026

Snowpark Python provides APIs to query and process data directly in Snowflake without moving data to your local system, with support for both native Snowpark and pandas-compatible interfaces.

Install it if you use Snowflake and want to process data without moving it to your application layer.

Apache-2.0pure Python
100.7Mdownloads / mo
PyMySQL Worth it
PyPI · Database · released May 2026

PyMySQL is a pure-Python MySQL and MariaDB client library that implements the DB-API 2.0 standard, enabling Python applications to connect to and query MySQL or MariaDB databases without compiled extensions.

Install it if you are building a Python application that must connect to MySQL or MariaDB and prefer or require a pure-Python driver.

MITpure Python · 3.9+
95.7Mdownloads / mo
py-key-value-aio With conditions
PyPI · Database · released May 2026

Provides an async-only, pluggable key-value store abstraction with support for multiple backends and automatic TTL handling.

Apache-2.0pure Python · 3.10+
90.3Mdownloads / mo
xlrd With conditions
PyPI · Database · released Jun 2025

xlrd reads data and formatting information from legacy Excel .xls files, extracting cell values, sheet metadata, and formula results without support for newer formats or advanced features like macros, charts, or password protection.

However, note that it is aging (last release 426 days ago) and does not support newer Excel formats—if you work primarily with .xlsx or .xlsm files, look elsewhere.

BSD-3-Clausepure Pythonaging
89.9Mdownloads / mo
awswrangler Worth it
PyPI · Database · released Aug 2026

AWS SDK for pandas integrates pandas DataFrames with AWS data services—S3, Athena, Redshift, DynamoDB, Timestream, and others—enabling direct read/write operations without manual API calls.

Install it if you work with pandas and AWS data services—it eliminates boilerplate and integrates naturally into existing pandas workflows.

Apache-2.0pure Python
88.1Mdownloads / mo
sqlglot Worth it
PyPI · Database · released Aug 2026

SQLGlot parses, transpiles, optimizes, and analyzes SQL across over 30 dialects without external dependencies, enabling format conversion and semantic analysis of queries.

MITpure Python · 3.9+
83.5Mdownloads / mo
snowflake-sqlalchemy Worth it
PyPI · Database · released Jul 2026

Snowflake SQLAlchemy is a SQLAlchemy dialect that enables SQLAlchemy applications to connect to and query Snowflake databases using standard SQLAlchemy ORM and Core APIs.

Install it if you are building a Python application that needs to connect to Snowflake and prefer SQLAlchemy's abstraction layer over raw SQL or the connector API.

Apache-2.0pure Python · 3.8+
79.6Mdownloads / mo
psycopg2 Worth it
PyPI · Database · released Apr 2026

PostgreSQL database adapter for Python that implements the DB API 2.0 specification, enabling thread-safe connections, cursors, and SQL execution with native support for PostgreSQL data types.

copyleftcompiled wheel · 3.9+
59.2Mdownloads / mo
duckdb Worth it
PyPI · Database · released Jul 2026

DuckDB is an in-process SQL database engine that executes analytical queries on local and remote data files (CSV, Parquet, JSON) without requiring a separate server or external dependencies.

MITcompiled wheel · 3.10.0+
57.2Mdownloads / mo
pymssql Worth it
PyPI · Database · released Feb 2026

pymssql provides a Python DB-API interface to Microsoft SQL Server, built on FreeTDS, enabling standard database operations like connecting, querying, and retrieving results.

Install it if you need to connect Python to Microsoft SQL Server and prefer a lightweight, DB-API-compliant interface over heavier ORMs.

copyleftcompiled wheel · 3.9+
54.9Mdownloads / mo
peewee Worth it
PyPI · Database · released Jul 2026

Peewee is a lightweight ORM that maps Python classes to database tables and provides a query builder for SQLite, MySQL, MariaDB, and PostgreSQL, with optional asyncio support.

license unclearpure Python · 3.8+
51.7Mdownloads / mo
cuda-bindings With conditions
PyPI · Database · released May 2026

Provides low-level Python bindings for CUDA host APIs, offering 1:1 access to CUDA functionality from Python code.

LicenseRef-NVIDIA-SOFTWARE-LICENSEcompiled wheel · 3.10+
50.1Mdownloads / mo
mysql-connector-python Worth it
PyPI · Database · released Jul 2026

MySQL Connector/Python is a PEP 249-compliant database driver that enables Python programs to connect to and query MySQL databases using a standard API.

copyleftpure Python · 3.10+
49.6Mdownloads / mo
h5py Worth it
PyPI · Database · released Mar 2026

h5py reads and writes HDF5 files from Python, providing both low-level API access and high-level interfaces that map HDF5 datasets and groups to NumPy arrays and Python data structures.

Install it if you work with scientific data, need portable binary storage, or must interoperate with HDF5 files from other tools or languages.

BSD-3-Clausecompiled wheel · 3.10+
45.8Mdownloads / mo
pyodbc With conditions
PyPI · Database · released Oct 2025

pyodbc provides Python access to ODBC databases through a DB API 2.0-compliant interface, supporting SQL Server, Access, and other ODBC-compatible data sources.

Install only if ODBC infrastructure is confirmed available; otherwise, consider a native database driver for your specific database.

permissive licensecompiled wheel · 3.9+
43.6Mdownloads / mo
diskcache Worth it
PyPI · Database · released Aug 2023

DiskCache provides a pure-Python disk-backed cache library that stores key-value pairs using SQLite and the filesystem, offering an alternative to in-memory caching systems like Memcached or Redis.

However, two known vulnerabilities are flagged in the security record—verify whether they affect version 5.6.3 or your use case before deploying to production.

Apache-2.0pure Python · 3+dormant2 known vulnerabilities
40.2Mdownloads / mo
pyiceberg Worth it
PyPI · Database · released Mar 2026

PyIceberg provides programmatic access to Apache Iceberg table metadata and data, implementing the Iceberg table specification in Python for reading and writing Iceberg-format datasets.

Apache-2.0compiled wheel
38.9Mdownloads / mo
snowballstemmer Worth it
PyPI · Database · released Jun 2026

Provides stemming algorithms for 34 languages, reducing word variants to a common stem for text search and indexing applications.

Install it if you need stemming for search or text indexing.

permissive licensepure Python · 3.3+
36.1Mdownloads / mo
pgvector Worth it
PyPI · Database · released Jul 2026

Adds vector storage and similarity search support to PostgreSQL through Python ORMs and database drivers, enabling semantic search and embeddings workflows.

Install it if you need vector search in PostgreSQL from Python—it's the standard bridge between pgvector and popular ORMs.

MITpure Python · 3.10+
35.6Mdownloads / mo
psycopg-pool With conditions
PyPI · Database · released May 2026

Provides a connection pool for Psycopg 3, managing reusable PostgreSQL database connections to reduce overhead and improve performance in applications that make frequent database queries.

LGPL-3.0-onlypure Python · 3.10+
32.7Mdownloads / mo
clickhouse-connect Worth it
PyPI · Database · released Aug 2026

A Python database driver for ClickHouse that supports DataFrames, arrays, and query execution through HTTP, with optional SQLAlchemy and async support.

Apache-2.0compiled wheel
31.4Mdownloads / mo
deltalake With conditions
PyPI · Database · released Jul 2026

Deltalake provides native Python bindings to Delta Lake, enabling you to read, write, and manage Delta tables with Pandas integration and OpenTelemetry tracing support.

Apache-2.0compiled wheel · 3.10+
29.5Mdownloads / mo
oracledb With conditions
PyPI · Database · released Jul 2026

A Python driver for connecting to Oracle Database directly, conforming to the Python Database API 2.0 specification with support for both thin mode (direct connection) and thick mode (with optional Oracle Client libraries).

UPL-1.0 OR Apache-2.0compiled wheel · 3.9+
27.1Mdownloads / mo
azure-cosmos Worth it
PyPI · Database · released Jul 2026

Python client library for Azure Cosmos DB SQL API that manages databases, containers, and JSON documents with SQL-like query support.

Install it if you are building applications on Azure Cosmos DB SQL API and need a native Python client.

MITpure Python · 3.9+
26.5Mdownloads / mo
partd With conditions
PyPI · Database · released May 2024

Partd is a key-value byte store that appends values to existing keys and retrieves them, with support for multiple backends (in-memory, file-based, buffered, or remote) and optional compression or encoding layers.

However, dormant maintenance (last release May 2024, minimal recent activity) means it is best suited to stable, well-tested scenarios rather than active feature…

permissive licensepure Python · 3.9+dormant
22.6Mdownloads / mo
qdrant-client Worth it
PyPI · Database · released Aug 2026

Python client library for Qdrant vector search engine, supporting both local in-memory and remote server modes with sync and async APIs.

Install it if you need to integrate vector search into a Python application—whether for prototyping locally or connecting to a production Qdrant deployment.

Apache-2.0pure Python · 3.10+
22.4Mdownloads / mo
mysqlclient With conditions
PyPI · Database · released Feb 2026

mysqlclient provides a Python interface to MySQL and MariaDB databases, enabling direct database connections and query execution from Python code.

GPL-2.0-or-latercompiled wheel · 3.10+
21.6Mdownloads / mo
sqlmodel Worth it
PyPI · Database · released Jun 2026

SQLModel combines SQLAlchemy and Pydantic to let you define SQL database tables and rows as Python classes with type annotations, eliminating code duplication between ORM models and data validators.

MITpure Python · 3.10+
21.0Mdownloads / mo
azure-kusto-data Worth it
PyPI · Database · released May 2026

Query and interact with Microsoft Azure Kusto clusters from Python using a DB API-compatible interface, with support for both synchronous and asynchronous clients.

Install it if you need to query Kusto clusters from Python; skip it only if you have no Kusto infrastructure or prefer a different query interface.

MITpure Python · 3.9+
20.4Mdownloads / mo
cachelib Worth it
PyPI · Database · released Aug 2026

CacheLib provides a unified API for interacting with multiple cache backends—Redis, Memcached, MongoDB, DynamoDB, file system, in-memory, uWSGI, and Valkey—so you can swap implementations without changing application code.

Install it if you need flexible caching or plan to support multiple backends.

BSD-3-Clausepure Python · 3.11+
19.3Mdownloads / mo