azure-kusto-data
Kusto Data Client
Decision gist · record as of 2026-08-14
Yes. This is the official, actively maintained client for Kusto queries in Python. It has low install friction, no known vulnerabilities, permissive licensing, and is widely used (top 5000 on PyPI). Install it if you need to query Kusto clusters from Python; skip it only if you have no Kusto infrastructure or prefer a different query interface.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Azure credentials (client ID, secret, authority ID) and network access to a Kusto cluster endpoint.
- Low friction installation with a pure-Python wheel.
- Actively maintained as of 2026-05-06, with recent commits and no known vulnerabilities.
License · maintenance · safety
MIT (permissive) — MIT license permits commercial and private use with minimal restrictions, making it suitable for most enterprise and open-source projects.
last release 2026-05-06 (100 days) · last repo commit 2026-08-13 · 204 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 20,373,143 downloads/mo, #1,040 on PyPI
Alternatives
Verify before relying
pip install azure-kusto-data
from azure.kusto.data import KustoClient, KustoConnectionStringBuilder
kcsb = KustoConnectionStringBuilder.with_aad_application_key_authentication(
cluster, client_id, client_secret, authority_id
)
with KustoClient(kcsb) as client:
response = client.execute("Samples", "StormEvents | take 10")
for row in response.primary_results[0]:
print(row[0], row["EventType"])- Whether the async client requires additional system dependencies beyond the base package.
- Performance characteristics when handling large result sets or long-running queries.
- Connection pooling behavior and resource cleanup guarantees across different Python versions.
What it is and what it does
Azure Kusto Data is the official Python client library for querying Microsoft Azure Kusto clusters, a service designed for large-scale data analytics. It provides a familiar DB API interface that works with Python 3.9 and later, supporting all Kusto data types and enabling queries from Jupyter notebooks, Azure Databricks, and other Python environments.
The library offers both synchronous and asynchronous query clients. The sync client uses a context manager pattern to maintain a connection pool for efficiency, while the async variant (installed via the "aio" extra) returns awaitables for non-blocking queries. Authentication is handled through Azure Active Directory using application credentials or other AAD methods. The package depends on azure-identity, azure-core, requests, msal, python-dateutil, and ijson for parsing.
Use it for
- Execute KQL queries against Kusto clusters from Python data analysis scripts or notebooks.
- Build ETL pipelines that extract data from Kusto for processing with pandas or other analytics libraries.
- Integrate Kusto queries into async Python applications for non-blocking data retrieval.
- Automate data exploration and reporting workflows in Azure Databricks or Jupyter environments.
- Develop monitoring or alerting systems that query Kusto for operational metrics and logs.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
This is the official, actively maintained client for Kusto queries in Python. It has low install friction, no known vulnerabilities, permissive licensing, and is widely used (top 5000 on PyPI). Install it if you need to query Kusto clusters from Python; skip it only if you have no Kusto infrastructure or prefer a different query interface.
Install
azure-kusto-data on PyPI
Before you install
Low friction installation with a pure-Python wheel. Actively maintained as of 2026-05-06, with recent commits and no known vulnerabilities. Requires Python 3.9 or later.
Requires Azure credentials (client ID, secret, authority ID) and network access to a Kusto cluster endpoint.
License in practice
MIT license permits commercial and private use with minimal restrictions, making it suitable for most enterprise and open-source projects.
Quickstart
pip install azure-kusto-data
from azure.kusto.data import KustoClient, KustoConnectionStringBuilder
kcsb = KustoConnectionStringBuilder.with_aad_application_key_authentication(
cluster, client_id, client_secret, authority_id
)
with KustoClient(kcsb) as client:
response = client.execute("Samples", "StormEvents | take 10")
for row in response.primary_results[0]:
print(row[0], row["EventType"])
Verify before relying
- Whether the async client requires additional system dependencies beyond the base package.
- Performance characteristics when handling large result sets or long-running queries.
- Connection pooling behavior and resource cleanup guarantees across different Python versions.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 6 packagespython-dateutilrequestsazure-identitymsalijsonazure-core |
| Maintenance | Actively maintained 100 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 20,373,143 / month, #1,040 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9 |
Evidence: azure_kusto_data-6.0.4-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 › “kusto query client python”
- azure-kusto-dataQuery and interact with Microsoft Azure Kusto clusters from Python…
- azure-monitor-queryExecutes read-only queries against Azure Monitor's Logs data platform…
- azure-mgmt-kustoManages Azure Kusto clusters, databases, and data connections through…
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.
YDB Python SDK is the official client library for connecting to and querying YDB databases from Python applications.
Install it if you need to connect Python applications to YDB databases.
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.
See also azure-kusto-ingest · LucoPy · azure-mgmt-kusto · azure-monitor-query · azure-cosmos · azure-synapse-spark · msgraph-sdk · azure-mgmt-streamanalytics · libsql-client · msgraph-beta-sdk