--- id: azure-kusto-data version: "6.0.4" license: MIT license_treatment: permissive maintenance: active --- # azure-kusto-data — Kusto Data Client License: permissive · Maintenance: active · Downloads: 20.4M/mo ## 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 above — verify before relying. Query and interact with Microsoft Azure Kusto clusters from Python using a DB API-compatible interface, with support for both synchronous and asynchronous clients. 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 pip install azure-kusto-data uv add azure-kusto-data poetry add azure-kusto-data ## Installing azure-kusto-data 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. 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"]) Requires Azure credentials (client ID, secret, authority ID) and network access to a Kusto cluster endpoint. 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_current - Install friction: low - Maintenance: active - Downloads: 20.4M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags kusto query client python, azure kusto data connector, kusto cluster querying, azure data analytics python, kusto python db api, azure kusto async client, azure-integration, analytics-client, async-support [View on SkillFed](https://skillfed.io/packages/azure-kusto-data) · [View on PyPI](https://pypi.org/project/azure-kusto-data/)