ydb
YDB Python SDK
Decision gist · record as of 2026-08-14
Yes. YDB is a top-1000 package with active maintenance, no known vulnerabilities, low install friction, and permissive licensing. Install it if you need to connect Python applications to YDB databases. The only constraint is the Python 3.10 or higher requirement.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or higher; YDB server endpoint must be accessible at runtime.
- Low install friction with a pure-wheel distribution.
- Active maintenance with a recent release (15 days old) and ongoing commits.
License · maintenance · safety
Apache 2.0 (permissive) — Apache 2.0 is permissive; you can use this package freely in commercial and open-source projects with minimal restrictions.
last release 2026-07-30 (15 days) · last repo commit 2026-08-13 · 101 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 209,984,972 downloads/mo, #197 on PyPI
Alternatives
Verify before relying
pip install ydb
import ydb
driver = ydb.construct_credentials_from_environ()
with ydb.Driver(endpoint="grpc://localhost", database="/local", credentials=driver) as client:
session = client.table_client.session().create()
result = session.execute_query("SELECT 1")- Whether the package supports async/await patterns beyond aiohttp integration.
- Specific performance characteristics or throughput limits for typical workloads.
- Whether connection pooling and retry logic are built-in or require manual configuration.
- Exact endpoint and port configuration required for connecting to a YDB instance.
What it is and what it does
YDB Python SDK is the officially supported client library for YDB, a distributed SQL database. It provides a Python interface to connect to YDB instances, execute queries, and manage transactions using gRPC as the underlying transport protocol. The package wraps protobuf message definitions and gRPC stubs to expose a Pythonic API for database operations.
The SDK depends on grpcio for network communication, protobuf for message serialization, packaging for version handling, and aiohttp for asynchronous HTTP support. It targets modern Python versions (3.10 and above) and is actively maintained by the YDB platform team. Installation is straightforward via pip with no compiled dependencies.
Use it for
- Connect a Python application to a YDB cluster and execute SQL queries.
- Build data pipelines that read from or write to YDB tables.
- Integrate YDB as a backend for web applications or microservices.
- Perform batch operations or analytics queries against YDB datasets.
- Manage transactions and session lifecycle in distributed database scenarios.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
YDB is a top-1000 package with active maintenance, no known vulnerabilities, low install friction, and permissive licensing. Install it if you need to connect Python applications to YDB databases. The only constraint is the Python 3.10 or higher requirement.
Install
ydb on PyPI
Before you install
Low install friction with a pure-wheel distribution. Active maintenance with a recent release (15 days old) and ongoing commits. Requires Python 3.10 or higher.
Requires Python 3.10 or higher; YDB server endpoint must be accessible at runtime.
License in practice
Apache 2.0 is permissive; you can use this package freely in commercial and open-source projects with minimal restrictions.
Quickstart
pip install ydb
import ydb
driver = ydb.construct_credentials_from_environ()
with ydb.Driver(endpoint="grpc://localhost", database="/local", credentials=driver) as client:
session = client.table_client.session().create()
result = session.execute_query("SELECT 1")
Verify before relying
- Whether the package supports async/await patterns beyond aiohttp integration.
- Specific performance characteristics or throughput limits for typical workloads.
- Whether connection pooling and retry logic are built-in or require manual configuration.
- Exact endpoint and port configuration required for connecting to a YDB instance.
Package facts
| License | Apache 2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packagesgrpciopackagingprotobufaiohttp |
| Maintenance | Actively maintained 15 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 209,984,972 / month, #197 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Programming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13 |
Evidence: ydb-3.31.2-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “ydb database client”
- ydbYDB Python SDK is the official client library for connecting to and…
- ydb-dbapiA Python DBAPI driver for YDB that provides sync and async database…
- apache-airflow-providers-ydbIntegrates YDB (a distributed SQL database) with Apache Airflow,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Database packages
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.
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.
Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.
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.
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.
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.
See also ydb-dbapi · apache-airflow-providers-ydb · aerospike · fdb · couchbase · libsql-client · nebula3-python · CouchDB · hdbcli · pydgraph