Skip to main content

A Kusto client package

Project description

net-kusto-client

This package is used to query and ingest data into kusto

To Install

Create a free kusto cluster following these instructions, https://learn.microsoft.com/en-us/azure/data-explorer/start-for-free-web-ui

py -m pip install net-kusto-client

Please create local.settings.json file in your home folder, you can also copy example.csv to home folder for testing.

~/ ├── local.settings.json ├── example.csv

The client_id in local.settings.json can be either the aad application id or the user-assigned managed identity. The client_secret is used as the application key.

Usage

import net_kusto_client
k_client = net_kusto_client.NetKustoClient()
k_client.create_sample_table()
k_client.ingest_sample_data()
k_client.execute_sample_query()
k_client.execute_stormevents_sample_query()

On the kusto database you can delete the table using .drop table DeviceInfo

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

net_kusto_client-0.1.1.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

net_kusto_client-0.1.1-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file net_kusto_client-0.1.1.tar.gz.

File metadata

  • Download URL: net_kusto_client-0.1.1.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.4

File hashes

Hashes for net_kusto_client-0.1.1.tar.gz
Algorithm Hash digest
SHA256 1316a68f36a744fd3a40a547a7ec1149ecbcc11608903396fd0293cc7cf732ed
MD5 6b769f19e02a2a5603603c46763b6124
BLAKE2b-256 2b5e6e05a4ebaf1cd6363d21d13f633a576e92dc699d5f5d2041a4f19e862883

See more details on using hashes here.

File details

Details for the file net_kusto_client-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for net_kusto_client-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e5db722b8d6376f3c002cbc3eca273dd52dc513231ec9818b46a5fb0dbf34b98
MD5 0d33ef5effd96fa6ac11c26ba9a2b763
BLAKE2b-256 c5994da52bd0ac46e0e141d58f578ba6e99b34942f9cf8b1cbcb1a291080ac30

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page