Azure / azure-kusto-python

Kusto client libraries for Python
MIT License
183 stars 107 forks source link
azure-data-explorer kusto python sdk

Microsoft Azure Kusto (Azure Data Explorer) SDK for Python

azure-kusto-data Package provides the capability to query Kusto clusters with Python.
PyPI version Downloads
azure-kusto-ingest Package allows sending data to Kusto service - i.e. ingest data.
PyPI version Downloads

Install

Option 1: Via PyPi

To install via the Python Package Index (PyPI), type:

Option 2: Source Via Git

To get the source code of the SDK via git just type:

git clone https://github.com/Azure/azure-kusto-python
cd ./azure-kusto-python/azure-kusto-data
python3 setup.py install
cd ../azure-kusto-ingest
python3 setup.py install

Option 3: Source Zip

Download a zip of the code via GitHub or PyPi. Then follow the same instructions in option 2.

Optionals:

Minimum Requirements

Authentication methods:

<!> IMPORTANT NOTICE <!>: User authentication (using username and password) has a major caveat: Sometimes users are required to use Multi-Factor Authentication. In such a case, this flow won't work for them. It is a limitation of the AAD library we are using under the hood. There are several bugs reported.

There is also a feature request for the adal team to work on implementing IWA (Intergrated Windows Auth) so that signed in users won't have to authenticate. Feel free to upvote if it is relevant in your case.

Samples:

Best Practices

See the SDK best practices guide, which though written for the .NET SDK, applies similarly here.

Need Support?

Looking for SDKs for other languages/platforms?

Contribute

We gladly accept community contributions.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

For general suggestions about Microsoft Azure please use our UserVoice forum.