You are here: Home / LBN / Up2date / Data Science / BastionLinux 36 / python3-yandex-query-client-0.1.4-1.lbn36.noarch

python3-yandex-query-client-0.1.4-1.lbn36.noarch

Package Attributes
RPM  python3-yandex-query-client-0.1.4-1.lbn36.noarch.rpm Architecture  noarch Size  52047 Created  2024/07/11 00:13:13 UTC
Package Specification
Summary The Yandex Query official HTTP client
Group Unspecified
License ZPL
Home Page https://pypi.org/project/yandex-query-client
Description

Installation Install pip package: %pip install yandex-query-client --upgrade --quiet

Example: simple select

IAM_TOKEN="...."

PROJECT="my_folder_id"

config = YQHttpClientConfig(IAM_TOKEN, PROJECT) client = YQHttpClient(config)

query_id = client.create_query(query_text="select 777", name="my sample 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) print(f"results={results}")

Requires
rpmlib(PayloadFilesHavePrefix)  
rpmlib(FileDigests)  
rpmlib(PartialHardlinkSets)  
rpmlib(CompressedFileNames)  
rpmlib(PayloadIsZstd)  
Provides
python-yandex-query-client
python3-yandex-query-client
python3.10-yandex-query-client
python3.10dist(yandex-query-client)
python3dist(yandex-query-client)
Obsoletes
python-yandex-query-client

Document Actions