Skip to main content

ExpMan: Experiment Manager

PyPI version Python versions GitHub Release License

expman is a lightweight, functional research experiment management library.

Features

  • Functional Core: Pure functions for reliable data management

  • Universal Tracking: Metrics (Parquet), Config (YAML), Models (PyTorch), Plots (PD/Matplotlib)

  • Modern Web Dashboard:

    • Run Comparison: Overlay metrics from multiple runs on interactive Plotly charts.
    • Artifact Browser: Browse and preview all experiment files including auto-generated model architecture graphs.

    Dashboard Metrics Dashboard Artifacts

Installation

  • Basic Installation (Lightweight, no Torch/Graphviz):
pip install ra-expman
  • Full Installation (With PyTorch support for model saving & architecture graphs) (you can also choose to install torch, torchview and graphviz separately using the basic installation):
pip install "ra-expman[torch]"

Development

To develop expman (with frontend watch and backend reload):

expman dev

Quick Start

  1. Run an Experiment:

    from expman import Experiment
    import matplotlib.pyplot as plt
    import torch
    import torchvision
    
    # Initialize
    exp = Experiment("my_experiment")
    exp.log_params({"lr": 0.001, "model": "resnet18"})
    
    # Training Loop
    for i in range(100):
        exp.log_metrics({"loss": 0.5 - i*0.001, "accuracy": i*0.01}, step=i)
    
    # Save Artifacts & Auto-Generate Model Graph
    # Saving is non-blocking (runs in background thread)
    model = torchvision.models.resnet18()
    exp.save_model(model, "final.pt", input_size=(1, 3, 224, 224)) 
    

    For a complete example, check examples/test_run.py.

  2. Launch Dashboard:

    expman serve ./experiments
    

    Open http://localhost:8000

  3. Interactive Analysis: Load a run directly into a Python REPL with metrics and config pre-loaded:

    expman load experiments/my_experiment/runs/run_001
    

    Interactive Analysis Preview

Metadata

Release files for ra-expman 0.2.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ra-expman 0.2.7
File Size Uploaded Provenance Actions
ra_expman-0.2.7.tar.gz 1.6 MB Without provenance Details for ra_expman-0.2.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ra-expman 0.2.7
File Interpreter ABI Platform Actions
ra_expman-0.2.7-py3-none-any.whl Python 3 none any Details for ra_expman-0.2.7-py3-none-any.whl

Total release size: 3.2 MB

Release files / ra_expman-0.2.7.tar.gz

Download URL ra_expman-0.2.7.tar.gz
Size 1.6 MB
Tags Source
SHA-256 checksum
How to use checksums
90f30844c408f208baae0b23797a37179fa9ad3fd1b75462752d20bbafc68d9d
BLAKE2b-256 checksum
How to use checksums
8b46bd41f0d9453b316f61602e38f9632feb25406b5cc4bc625121b88f38e441
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / ra_expman-0.2.7-py3-none-any.whl

Download URL ra_expman-0.2.7-py3-none-any.whl
Size 1.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
8209911e68090597769541ffab71c738410453b12f3ad550653d1ab79eb588ad
BLAKE2b-256 checksum
How to use checksums
59f39e058e925e3de0706d5452d594fb579933c6b2b5aee6e2ade4e7ba87dfa5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for ra-expman 0.2.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.7 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page