Skip to main content

Microsoft Kusto access via IPython

Project description

# ipython-kusto - Run Microsoft Kusto queries in IPython notebooks

This extension borrows extensively from Catherine Devlin’s ipython-sql extension. https://github.com/catherinedevlin/ipython-sql

It provides two magics:

  • %kqlset - a line magic to set the default cluster and database

  • %kql/%%kql - a line or cell magic to execute Kusto Query Language queries and return the results as a Pandas dataframe. The dataframe will be assigned to a variable ‘kqlresult’ (can be overridden with –set argument)

If you run either of these followed by a ‘?’ you will get additional help.

When running a query, you may be redirected to a browser page to sign in if a token is needed.

See the example notebook in the examples/ directory for more details.

0.0.2

A typo crept in to 0.0.1 release; that has been fixed. Added a –quiet option to not display the dataframe.

0.01. Initial release

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

ipython-kusto-0.0.2.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

ipython_kusto-0.0.2-py3.8.egg (7.9 kB view details)

Uploaded Source

File details

Details for the file ipython-kusto-0.0.2.tar.gz.

File metadata

  • Download URL: ipython-kusto-0.0.2.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for ipython-kusto-0.0.2.tar.gz
Algorithm Hash digest
SHA256 3ec3c940404789173ac1165378d94c8865970a1cc96843b25e318c9cabcd0285
MD5 9c73953e88406558430571d9d74294d8
BLAKE2b-256 7f023fbcf76a647a6b1e41898379b755574b15616926603fbe401137f1e9f60c

See more details on using hashes here.

File details

Details for the file ipython_kusto-0.0.2-py3.8.egg.

File metadata

  • Download URL: ipython_kusto-0.0.2-py3.8.egg
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for ipython_kusto-0.0.2-py3.8.egg
Algorithm Hash digest
SHA256 2cc90badffed1063cc6c6ca22e6bc8ddb17e809469c99cfa6c1ec1319a4e53c0
MD5 53db5f198e56f6e2809948a49e38c375
BLAKE2b-256 791ac2b59ec7b48ad652e9ddebe3bfb619c3c787ab299da5396c2fd5fd64c9b6

See more details on using hashes here.

Supported by

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