Skip to main content

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.db
  • DATABASE_TYPE=sqlite
  • OBJECT_STORE_PROVIDER=file
  • OBJECT_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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

axion_lab-0.0.7.tar.gz (201.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

axion_lab-0.0.7-py3-none-any.whl (87.2 kB view details)

Uploaded Python 3

File details

Details for the file axion_lab-0.0.7.tar.gz.

File metadata

  • Download URL: axion_lab-0.0.7.tar.gz
  • Upload date:
  • Size: 201.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for axion_lab-0.0.7.tar.gz
Algorithm Hash digest
SHA256 eb5674b1b8c976dc05dabb142c07497a4f82167b39bda76774302713f53f3fc3
MD5 bf43ed4e005ffbb4d9c4501e25b91641
BLAKE2b-256 50293ba14c6add69c6db1c6d03f07af510525ee98fd892c64b921754f754164a

See more details on using hashes here.

Provenance

The following attestation bundles were made for axion_lab-0.0.7.tar.gz:

Publisher: release.yaml on elda27/axion

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file axion_lab-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: axion_lab-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 87.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for axion_lab-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 b8af55384df9ce06fe9c1cc66c7496502f8a19621694ce9b34ee3d45bd19bfe0
MD5 9b462ab942bcd23652cb96a5eb861b58
BLAKE2b-256 4b4a0d1090e9dea76b67c8a9dd33c1b960f124928f227e6c88473473d59d83f7

See more details on using hashes here.

Provenance

The following attestation bundles were made for axion_lab-0.0.7-py3-none-any.whl:

Publisher: release.yaml on elda27/axion

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.0.7 This release

2 files

0.0.5

2 files

0.0.3

2 files

0.0.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page