Skip to main content

Execute Kusto Query Language (KQL) queries over pandas DataFrames

Project description

adxpandas

Execute Kusto Query Language (KQL) queries directly over one or more pandas DataFrames — no database required.

Installation

pip install adxpandas

Quick Start

import pandas as pd
from adxpandas import AdxPandasClient

df = pd.DataFrame({
    "name": ["Ada", "Alan", "Grace"],
    "city": ["London", "London", "Arlington"],
    "score": [10, 20, 30],
})

client = AdxPandasClient({"Users": df})
result = client.query('Users | where city == "London" | project name, score')
print(result)

Features

  • Pure pandas execution — no SQLite or other database dependencies
  • Full KQL parser with support for common operators
  • Operators: where, project, project-away, extend, summarize, sort, top, take, distinct, count, parse, join, union
  • Scalar functions: string, math, datetime operations
  • Aggregate functions: count, sum, avg, min, max, dcount, countif, sumif, avgif
  • let statements (scalar and tabular)
  • Union source form queries

Documentation

See the AdxLite documentation for comprehensive guides covering both adxlite and adxpandas.

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

adxpandas-0.1.0.tar.gz (19.0 kB view details)

Uploaded Source

Built Distribution

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

adxpandas-0.1.0-py3-none-any.whl (21.5 kB view details)

Uploaded Python 3

File details

Details for the file adxpandas-0.1.0.tar.gz.

File metadata

  • Download URL: adxpandas-0.1.0.tar.gz
  • Upload date:
  • Size: 19.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for adxpandas-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3bb97b777dc615b0ab8c2d503b22964e44e92ececd06e597b8d61e6ab51acc52
MD5 1d26eaf837b11fb766ab9d980afa29b0
BLAKE2b-256 375af6b9f0235bff14842d5e21c4a39814d09593a0e754b32c17d1063e048ddc

See more details on using hashes here.

Provenance

The following attestation bundles were made for adxpandas-0.1.0.tar.gz:

Publisher: publish.yml on richarddzh/adxlite

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file adxpandas-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: adxpandas-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 21.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for adxpandas-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aa52bb204c609b67c05622cbc3028be1f2ef0075422a9eaa4e5da6df21ec65c6
MD5 10bb63cddc2068022a1a6b3e22b488b8
BLAKE2b-256 2f9be70b65e458ccf4e3fb8fbaa83722e7fa859c4c9132f68789d52bc7a14c08

See more details on using hashes here.

Provenance

The following attestation bundles were made for adxpandas-0.1.0-py3-none-any.whl:

Publisher: publish.yml on richarddzh/adxlite

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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