Axion Lab
Backend package for the Axion Lab experiment evaluation system. Provides the FastAPI server, data models, DP runner, and storage adapters.
Prerequisites
- Python 3.12+
- uv
Setup
# Install dependencies
uv sync --all-extras
Build
# Build the Python package
uv build
# Or from the repository root
make build-Axion Lab
Usage
Start the API server
axion_lab server, axion-lab server, and python -m axion_lab server all start the same API server. The command automatically runs migrations before startup. By default it uses SQLite + file storage for local development (and respects explicit environment variables when provided).
uv run axion_lab server --reload --host 0.0.0.0 --port 8000
Default local values:
DATABASE_URL=sqlite+aiosqlite:///./axion_lab.dbDATABASE_TYPE=sqliteOBJECT_STORE_PROVIDER=fileOBJECT_STORE_LOCAL_PATH=./data/object_store
Run tests
uv run pytest
Lint
uv run ruff check src/
Project Structure
src/
├── axion_lab/ # Core library (models, repositories, storage, DP)
├── axion_lab_server/ # FastAPI application and routers
└── axion_lab_alembic/ # Database migrations
Metadata
Release files for axion-lab 0.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| axion_lab-0.0.7.tar.gz | 201.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| axion_lab-0.0.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 289.0 kB
Release files / axion_lab-0.0.7.tar.gz
| Download URL | axion_lab-0.0.7.tar.gz |
|---|---|
| Size | 201.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eb5674b1b8c976dc05dabb142c07497a4f82167b39bda76774302713f53f3fc3
|
|
BLAKE2b-256 checksum How to use checksums |
50293ba14c6add69c6db1c6d03f07af510525ee98fd892c64b921754f754164a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 16, 2026.
Transparency logRelease files / axion_lab-0.0.7-py3-none-any.whl
| Download URL | axion_lab-0.0.7-py3-none-any.whl |
|---|---|
| Size | 87.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b8af55384df9ce06fe9c1cc66c7496502f8a19621694ce9b34ee3d45bd19bfe0
|
|
BLAKE2b-256 checksum How to use checksums |
4b4a0d1090e9dea76b67c8a9dd33c1b960f124928f227e6c88473473d59d83f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 16, 2026.
Transparency log