Metadata-Version: 2.4
Name: magic-lab-observer-backend
Version: 0.1.1
Summary: Backend API for LLM Observatory
Project-URL: Homepage, https://github.com/Magic-Lab-Studio/observer
Project-URL: Repository, https://github.com/Magic-Lab-Studio/observer.git
Project-URL: Issues, https://github.com/Magic-Lab-Studio/observer/issues
License-Expression: Apache-2.0
Requires-Python: >=3.10
Requires-Dist: alembic>=1.13.0
Requires-Dist: asyncpg>=0.29.0
Requires-Dist: fastapi>=0.111.0
Requires-Dist: httpx>=0.27.0
Requires-Dist: pydantic-settings>=2.0.0
Requires-Dist: pydantic>=2.0.0
Requires-Dist: python-dotenv>=1.0.0
Requires-Dist: pyyaml>=6.0
Requires-Dist: slowapi>=0.1.9
Requires-Dist: sqlalchemy[asyncio]>=2.0.0
Requires-Dist: uvicorn[standard]>=0.30.0
Provides-Extra: dev
Requires-Dist: aiosqlite>=0.20.0; extra == 'dev'
Requires-Dist: mypy>=1.10; extra == 'dev'
Requires-Dist: pytest-asyncio>=0.23.0; extra == 'dev'
Requires-Dist: pytest>=8.0; extra == 'dev'
Requires-Dist: ruff>=0.5; extra == 'dev'
Provides-Extra: sqlite
Requires-Dist: aiosqlite>=0.20.0; extra == 'sqlite'
Description-Content-Type: text/markdown

# LLM Observatory Backend

FastAPI backend for LLM Observatory - Open-source LLM observability.

## Installation

```bash
pip install -e ".[dev]"
```

## Running

```bash
# Start PostgreSQL
podman run -d --name postgres -p 5432:5432 -e POSTGRES_PASSWORD=postgres -e POSTGRES_DB=observatory postgres:16

# Run migrations
alembic upgrade head

# Start server
uvicorn app.main:app --reload
```

## API Documentation

Once running, visit:
- Swagger UI: http://localhost:8000/docs
- ReDoc: http://localhost:8000/redoc

## License

Apache License 2.0
