ydb
YDB Python SDK
Install
ydb on PyPI
pip
pip install ydbuv
uv add ydbpoetry
poetry add ydbPackage facts
| License | Apache 2.0 (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 4 — grpcio, packaging, protobuf, aiohttp |
| Maintenance | actively maintained — 14 days since the last release |
| Last repo commit | |
| First released | |
| Popularity | one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-13) |
Evidence: ydb-3.31.2-py3-none-any.whl
About ydb
from the package's own PyPI description — quoted content, verbatim
YDB Python SDK
License (image) PyPI version (image) API Reference (image) Functional tests (image) Style checks (image) codecov (image)
Officially supported Python client for YDB.
Documentation: <a href="https://ydb-platform.github.io/ydb-python-sdk" target="_blank">https://ydb-platform.github.io/ydb-python-sdk</a>
Quickstart
Prerequisites
- Python 3.10 or higher
pipversion 9.0.1 or higher
If necessary, upgrade your version of pip:
```sh $...
Read as markdown · JSON record · Source repository · Homepage
AI interpretation — verify before relying
AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page
Official Python client for YDB, a distributed SQL database, enabling connection, querying, and transaction management through gRPC-based protocol bindings.
Low friction: pure-wheel distribution with four common runtime dependencies (grpcio, protobuf, aiohttp, packaging). Active maintenance—last commit 2026-08-13, release 14 days prior—and no known vulnerabilities.
Apache 2.0 permissive license allows commercial and private use with minimal restrictions; you may use, modify, and distribute the package provided you retain the license notice.
Usage
pip install ydb
import ydb
driver = ydb.construct_credentials_from_environ()
with ydb.Driver(endpoint="grpc://localhost", database="/local", credentials=driver) as conn:
conn.wait()
Python 3.10 or higher required; YDB server instance must be accessible at the specified endpoint.
Verdict: Actively maintained official SDK with no security issues, permissive licensing, and low install friction. Suitable for production use with YDB databases; requires Python 3.10+ and a running YDB instance.
Needs verification
- Whether aiohttp is used for async operations or is an optional dependency for specific features
- Typical latency and throughput characteristics for common query patterns
- Support scope for YDB server versions relative to SDK version 3.31.2
- Default timeout values and connection pooling behavior
Similar packages
permissive · top 1,000 on PyPI
db-dtypespermissive · top 1,000 on PyPI
google-cloud-bigquerypermissive · top 1,000 on PyPI
databricks-sql-connectorpermissive · top 1,000 on PyPI
awswranglerpermissive · top 1,000 on PyPI
snowflake-snowpark-pythonpermissive · top 1,000 on PyPI
sqlalchemy-bigquerypermissive · top 1,000 on PyPI
uvpermissive · top 1,000 on PyPI
kafka-pythonpermissive · top 1,000 on PyPI
uv-buildpermissive · top 1,000 on PyPI