Metadata-Version: 2.4
Name: databao
Version: 0.3.0rc2
Author-email: Maryia Lapatsina <maryia.lapatsina@jetbrains.com>, Yury Khudyakov <yury.khudyakov@jetbrains.com>
Requires-Python: >=3.11
Requires-Dist: adbc-driver-manager>=1.10.0
Requires-Dist: adbc-driver-snowflake>=1.10.0
Requires-Dist: click<9.0.0,>=8.2.1
Requires-Dist: databao-agent~=0.1.4.dev4
Requires-Dist: databao-context-engine[snowflake]~=0.5.0
Requires-Dist: fastmcp>=2.0.0
Requires-Dist: nh3>=0.2.15
Requires-Dist: prettytable>=3.10.0
Requires-Dist: pyyaml>=6.0
Requires-Dist: streamlit[snowflake]>=1.53.0
Requires-Dist: uuid6>=2024.7.10
Provides-Extra: athena
Requires-Dist: databao-context-engine[athena]; extra == 'athena'
Provides-Extra: bigquery
Requires-Dist: databao-context-engine[bigquery]; extra == 'bigquery'
Provides-Extra: clickhouse
Requires-Dist: databao-context-engine[clickhouse]; extra == 'clickhouse'
Provides-Extra: mssql
Requires-Dist: databao-context-engine[mssql]; extra == 'mssql'
Provides-Extra: pdf
Requires-Dist: databao-context-engine[pdf]; extra == 'pdf'
Description-Content-Type: text/markdown

# Databao CLI

A command-line interface tool for managing Databao Agents and Context Engine (DCE) components.

## Requirements

- Python >= 3.11
- [uv](https://docs.astral.sh/uv/)

## Installation

To set up the project locally, clone the repository and install the dependencies:

```bash
uv sync
```

## Usage

Once installed, you can use the `databao` command.

### General Help

```bash
databao --help
```

### Agents Commands

To interact with agents:

```bash
databao agents hello
# Example output: "Hello from Agents!"
```

### DCE Commands

To interact with DCE:

```bash
databao dce hello
# Example output: "Hello from DCE!"
```

## Development

### Setup

Install development dependencies:

```bash
uv sync
```

### Running Tests

This project uses pytest for testing:

```bash
uv run pytest
```

### Running E2E Tests

E2E tests are located in a separate project under `e2e-tests/`. To run them:

```bash
uv run pytest e2e-tests
```

### Linting

Run ruff to check and format code:

```bash
uv run ruff check src tests e2e-tests
uv run ruff format src tests e2e-tests
```