Metadata-Version: 2.4
Name: datarobot-genai
Version: 0.1.3
Summary: Generic helpers for GenAI
Project-URL: Homepage, https://github.com/datarobot-oss/datarobot-genai
Author: DataRobot, Inc.
License: Apache-2.0
License-File: AUTHORS
License-File: LICENSE
Requires-Python: >=3.10
Description-Content-Type: text/markdown

# datarobot-genai
Repository for the DataRobot GenAI Library

## Releases (tag-driven)

- Set the release version in `pyproject.toml`.
- Push a tag `vX.Y.Z` (e.g., `v0.3.0`).
- CI validates the tag matches `project.version`, builds, and publishes.

### Where releases go
- PRs: CI publishes dev builds to TestPyPI (`X.Y.Z.dev<run>`), for validation.
- Tags: CI publishes to PyPI when a `vX.Y.Z` tag is pushed.

### Install from TestPyPI (quick check)
```bash
VERSION=X.Y.Z.dev123   # replace with the run number shown in the PR workflow
pip install --upgrade pip
pip install -i https://test.pypi.org/simple/ datarobot-genai=="$VERSION"
python -c "import datarobot_genai as drg; print(drg.__version__)"
```

### Secrets
- `TEST_PYPI_API_TOKEN` (username `__token__`)
- `PYPI_API_TOKEN` (username `__token__`)

## Local development (quick start)

```bash
# install dev dependencies (uses uv)
uv sync --all-extras --dev

# activate virtualenv if not auto-activated
source .venv/bin/activate

# enable git hooks
pre-commit install

# run tests
make test
```
