Metadata-Version: 2.4
Name: net_kusto_client
Version: 0.1.2
Summary: A Kusto client package
Author-email: Larry Zhu <larry.lan.zhu@gmail.com>
License-Expression: MIT
Project-URL: Repository, https://github.com/myusernamehasbeentaken/net-kusto-client
Keywords: network,kusto,client
Classifier: Programming Language :: Python :: 3.9
Classifier: Operating System :: OS Independent
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: azure-kusto-data>=5.0.3
Requires-Dist: azure-kusto-ingest>=5.0.3
Requires-Dist: pandas>=2.3.0
Requires-Dist: aiohttp>=3.12.13
Dynamic: license-file

# 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
