Metadata-Version: 2.4
Name: adxlite
Version: 0.2.0
Summary: A local SQLite-based database with Kusto Query Language (KQL) support
Project-URL: Homepage, https://github.com/richarddzh/adxlite
Project-URL: Documentation, https://richarddzh.github.io/adxlite/
Project-URL: Repository, https://github.com/richarddzh/adxlite
Project-URL: Issues, https://github.com/richarddzh/adxlite/issues
License-Expression: MIT
Requires-Python: >=3.10
Requires-Dist: adxpandas>=0.1.0
Requires-Dist: pandas>=1.5.0
Provides-Extra: dev
Requires-Dist: pytest-cov>=4.0; extra == 'dev'
Requires-Dist: pytest>=7.0; extra == 'dev'
Provides-Extra: docs
Requires-Dist: mkdocs-material>=9.0; extra == 'docs'
Requires-Dist: mkdocs>=1.5; extra == 'docs'
Description-Content-Type: text/markdown

# adxlite

[![PyPI](https://img.shields.io/pypi/v/adxlite)](https://pypi.org/project/adxlite/)
[![Python](https://img.shields.io/badge/python-3.10%2B-blue)](https://pypi.org/project/adxlite/)

A local SQLite-based database with Kusto Query Language (KQL) support for Python.

## Installation

```bash
pip install adxlite
```

## Quick Start

```python
import pandas as pd
from adxlite import AdxLiteClient

client = AdxLiteClient()  # in-memory, or pass a path for persistence
client.ingest("Users", pd.DataFrame({
    "name": ["Ada", "Alan", "Grace"],
    "city": ["London", "London", "Arlington"],
    "score": [10, 20, 30],
}))

result = client.query('Users | where city == "London" | project name, score')
print(result)
```

## Features

- SQLite-backed persistent storage with KQL query interface
- Hybrid SQL + pandas execution for optimal performance
- Full KQL parser with support for common operators
- Type-aware schema metadata
- Depends on [adxpandas](https://pypi.org/project/adxpandas/) for parser and pandas execution

## Documentation

See the [full documentation](https://richarddzh.github.io/adxlite/) for comprehensive guides.

## Links

- [GitHub Repository](https://github.com/richarddzh/adxlite)
- [Documentation](https://richarddzh.github.io/adxlite/)
- [Issue Tracker](https://github.com/richarddzh/adxlite/issues)
