Kusto Ingest Client
Project description
from azure.kusto.data import KustoConnectionStringBuilder, DataFormat
from azure.kusto.ingest import QueuedIngestClient, IngestionProperties, FileDescriptor, BlobDescriptor
ingestion_props = IngestionProperties(database="{database_name}", table="{table_name}", data_format=DataFormat.CSV)
client = QueuedIngestClient(KustoConnectionStringBuilder.with_interactive_login("https://ingest-{cluster_name}.kusto.windows.net"))
file_descriptor = FileDescriptor("{filename}.csv", 15360) # in this example, the raw (uncompressed) size of the data is 15KB (15360 bytes)
client.ingest_from_file(file_descriptor, ingestion_properties=ingestion_props)
client.ingest_from_file("{filename}.csv", ingestion_properties=ingestion_props)
blob_descriptor = BlobDescriptor("https://{path_to_blob}.csv.gz?sas", 51200) # in this example, the raw (uncompressed) size of the data is 50KB (52100 bytes)
client.ingest_from_blob(blob_descriptor, ingestion_properties=ingestion_props)
Overview
Kusto Python Ingest Client Library provides the capability to ingest data into Kusto clusters using Python. It is Python 3.x compatible and supports data types through familiar Python DB API interface.
It’s possible to use the library, for instance, from Jupyter Notebooks which are attached to Spark clusters, including, but not exclusively, Azure Databricks instances.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file azure_kusto_ingest-6.0.2.tar.gz.
File metadata
- Download URL: azure_kusto_ingest-6.0.2.tar.gz
- Upload date:
- Size: 19.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ebc1570de9f34b3ce075b332d4f1205631575f5a524c7bdc84f81e5f33157d1a
|
|
| MD5 |
dae4ff27a766e264bab4f0db82182820
|
|
| BLAKE2b-256 |
d533e4511ff217ef72ff4d286fcbc1633fc89c5b5b5c9eae447b21b4b1cbe2ff
|
Provenance
The following attestation bundles were made for azure_kusto_ingest-6.0.2.tar.gz:
Publisher:
release.yml on Azure/azure-kusto-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
azure_kusto_ingest-6.0.2.tar.gz -
Subject digest:
ebc1570de9f34b3ce075b332d4f1205631575f5a524c7bdc84f81e5f33157d1a - Sigstore transparency entry: 969327605
- Sigstore integration time:
-
Permalink:
Azure/azure-kusto-python@dc3d28b09c51a8a45a6c224059dabbd856d6dba8 -
Branch / Tag:
refs/tags/v6.0.2 - Owner: https://github.com/Azure
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@dc3d28b09c51a8a45a6c224059dabbd856d6dba8 -
Trigger Event:
push
-
Statement type:
File details
Details for the file azure_kusto_ingest-6.0.2-py3-none-any.whl.
File metadata
- Download URL: azure_kusto_ingest-6.0.2-py3-none-any.whl
- Upload date:
- Size: 28.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf21c41bbbcea49fc0fba3cb43013bec687a9b1a5113d20aa6c4c8aee2342119
|
|
| MD5 |
8722f7ab4db9a372187de0817e24e9bc
|
|
| BLAKE2b-256 |
b9253b205d02e11211c3c4b61e326b00a9c47117ca1f29e4e8161c563c21998c
|
Provenance
The following attestation bundles were made for azure_kusto_ingest-6.0.2-py3-none-any.whl:
Publisher:
release.yml on Azure/azure-kusto-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
azure_kusto_ingest-6.0.2-py3-none-any.whl -
Subject digest:
cf21c41bbbcea49fc0fba3cb43013bec687a9b1a5113d20aa6c4c8aee2342119 - Sigstore transparency entry: 969327607
- Sigstore integration time:
-
Permalink:
Azure/azure-kusto-python@dc3d28b09c51a8a45a6c224059dabbd856d6dba8 -
Branch / Tag:
refs/tags/v6.0.2 - Owner: https://github.com/Azure
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@dc3d28b09c51a8a45a6c224059dabbd856d6dba8 -
Trigger Event:
push
-
Statement type: