skillfed

ydb

YDB Python SDK

ydb Permissive license Apache 2.0 Active 101 v3.31.2 released

Install

ydb on PyPI

pip

pip install ydb

uv

uv add ydb

poetry

poetry add ydb

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 — 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

Programming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13

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
  • pip version 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
ydb python clientdistributed sql database sdkydb connectorgrpc database clientydb query executionpython database driverydb transaction management

Similar packages