azure-kusto-data Package provides the capability to query Kusto clusters with Python.
azure-kusto-ingest Package allows sending data to Kusto service - i.e. ingest data.
To install via the Python Package Index (PyPI), type:
- pip install azure-kusto-data
- pip install azure-kusto-ingest
To get the source code of the SDK via git just type:
git clone git://github.com/Azure/azure-kusto-python.git
cd ./azure-kusto-python/azure-kusto-data
python setup.py install
cd ../azure-kusto-ingest
python setup.py install
Download a zip of the code via GitHub or PyPi. Then follow the same instructions in option 2.
- Python 2.7, 3.4, 3.5, or 3.6.
- See setup.py for dependencies
- AAD Username/password - Provide your AAD username and password to Kusto client.
- AAD application - Provide app ID and app secret to Kusto client.
- AAD code - Provide only your AAD username, and authenticate yourself using a code, generated by ADAL.