Installation¶
Get started with Axion in minutes.
Install from Source¶
# Clone the repository
git clone https://github.com/ax-foundry/axion.git
cd axion
# Create virtual environment (optional)
python -m venv venv
source venv/bin/activate # On Windows: .\venv\Scripts\activate
# Install the package
pip install -e .
Development Installation¶
For contributing or running tests:
Optional Dependencies¶
Axion uses optional dependencies to keep the core installation lightweight. Install extras based on what you need:
Combining Extras¶
Install multiple extras at once:
Configuration¶
Create a .env file in your project root:
Use axion.init() to configure both logging and tracing at once:
Verify Installation¶
from axion import Dataset, metric_registry
# Check available metrics
print(metric_registry.list_metrics())