skillfed

yandex-query-client

The Yandex Query official HTTP client

yandex-query-client v0.1.4 3.9M downloads/30d#2,464 on PyPI2
Permissive license DORMANT released

What it is and what it does

yandex-query-client is an official HTTP client library for Yandex Query, Yandex Cloud's managed query service. It wraps the REST API to let you submit SQL queries, poll for completion, and fetch results with column names and types. The client handles authentication via IAM tokens and manages the query lifecycle—creation, waiting for success, and result retrieval—abstracting away direct HTTP calls.

The package depends on pandas, python-dateutil, requests, and urllib3 to handle data serialization and HTTP transport. It targets Python 3.8 and later. Maintenance is dormant as of mid-2024, so the library is stable but not actively developed; use it if you need to integrate Yandex Query into a Python application, but do not expect ongoing updates or support for new Yandex Cloud features.

Use it for:

  • Submit ad-hoc SQL queries to Yandex Query from a Python script and retrieve results programmatically.
  • Automate data extraction pipelines that query Yandex Cloud data warehouses and process results locally.
  • Build a thin wrapper around Yandex Query for batch analytics jobs that need to run SQL and consume output.
  • Integrate Yandex Query into a larger data processing workflow alongside pandas and other Python tools.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

HTTP client for submitting SQL queries to Yandex Query service and retrieving results with column metadata.

Yes, if you are already committed to Yandex Cloud and need to query Yandex Query from Python. The package is lightweight, has no security vulnerabilities, and uses standard dependencies. However, dormant maintenance means no active development; install it only if the current API surface meets your needs and you can tolerate no future updates.

Install

yandex-query-client on PyPI

pip

pip install yandex-query-client

uv

uv add yandex-query-client

poetry

poetry add yandex-query-client

Installing yandex-query-client

Before you install

Low install friction with standard dependencies. Maintenance is dormant—last commit was 2024-06-19 and no releases since 2024-05-10—so expect no active bug fixes or feature updates.

License in practice

MIT license (permissive) allows use, modification, and distribution with minimal restrictions.

Quickstart

pip install yandex-query-client

from yandex_query_client import YQHttpClient, YQHttpClientConfig

config = YQHttpClientConfig(IAM_TOKEN, PROJECT_ID)
client = YQHttpClient(config)
query_id = client.create_query(query_text="select 777", name="my query")
result_set_count = client.wait_query_to_succeed(query_id)
results = client.get_query_all_result_sets(query_id, result_set_count=result_set_count)

Requires valid Yandex Cloud IAM token and folder ID to authenticate and execute queries.

Verify before relying

  • Whether the package handles query timeouts or provides configurable wait/retry behavior.
  • Error handling and exception types raised by the client for failed queries or network issues.
  • Support for parameterized queries or prepared statements to prevent injection.
  • Whether results are automatically converted to pandas DataFrames or returned in raw format.

Package facts

License not declared (permissive)
Python support supports the current Python release (>=3.8)
Install friction low — pure-Python wheel
Runtime dependencies 4 — pandas, python-dateutil, requests, urllib3
Maintenance dormant — 826 days since the last release
Last repo commit
First released
Downloads 3,879,307/month — #2,464 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: yandex_query_client-0.1.4-py3-none-any.whl

License :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3

Tags

yandex query clientyandex cloud sql apiquery execution clientsql query submissionyandex query results
yandex-cloudsql-client

More Front-Ends packages

SQLAlchemy

SQLAlchemy is a Python SQL toolkit and Object…

permissive · top 100 on PyPI

psycopg2-binary

psycopg2-binary is a PostgreSQL database…

copyleft · top 1,000 on PyPI

alembic

Alembic generates and manages database schema…

permissive · top 1,000 on PyPI

weaviate-client

A Python client library for connecting to and…

permissive · top 1,000 on PyPI

databricks-sql-connector

A Python client library that connects to…

permissive · top 1,000 on PyPI

psycopg

Psycopg 3 is a PostgreSQL database adapter for…

copyleft · top 1,000 on PyPI

dune-client

A Python client for querying and managing Dune…

permissive · top 15,000 on PyPI

yandexcloud

Official Python SDK for Yandex.Cloud that…

permissive · top 5,000 on PyPI

apache-airflow-providers-yandex

Provides Apache Airflow integration with…

permissive · top 15,000 on PyPI

aioymaps

aioymaps is an async client library for…

permissive · top 15,000 on PyPI

redshift-connector

redshift_connector is a Python database driver…

permissive · top 1,000 on PyPI

sqlalchemy-hana

Provides a SQLAlchemy dialect that enables you…

permissive · top 15,000 on PyPI

aurora-data-api

A DB-API 2.0 compatible client for AWS Aurora…

permissive · top 15,000 on PyPI

elasticsearch-dbapi

Provides DBAPI (PEP-249) and SQLAlchemy dialect…

permissive · top 5,000 on PyPI

databend-driver

Python client library for connecting to…

permissive · top 15,000 on PyPI

google-search-results

A Python client for querying search results…

permissive · top 5,000 on PyPI