Local-first, git-aware ML experiment tracking.
Project description
Trackle
Trackle is a lightweight, local-first, git-aware ML experiment tracker.
Goals
- Local filesystem storage only
- No servers or networking
- Simple Python API and CLI
- Git-based reproducibility
Quick start
pip install -e .
import trackle
trackle.init(run_name="demo")
trackle.log_params({"lr": 0.01})
trackle.log_metric("loss", 0.5, step=1)
trackle.finish()
Storage layout
Runs are stored locally (default ./trackle_experiments):
trackle_experiments/
runs/
<run_id>/
run.json # metadata: name, created_at, finished_at, duration_s, tags
params.json # merged params
metrics.csv # step,key,value,timestamp
context.json # env info (python/os/hw/torch)
git.json # git commit/branch/dirty/remote
artifacts/ # copied artifacts
notes.md # optional note
CLI
trackle list-runs [--base DIR] [--limit N]
trackle diff-runs <run_a> <run_b> [--base DIR]
trackle plot-metrics <run_id> [--key metric] [--base DIR]
Extras
pip install trackle[viz]to enable matplotlib plotting in the CLI.pip install trackle[rich]to enable richer CLI output (if extended later).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
trackle_ml-0.1.1.tar.gz
(10.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file trackle_ml-0.1.1.tar.gz.
File metadata
- Download URL: trackle_ml-0.1.1.tar.gz
- Upload date:
- Size: 10.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4183c23122ae96a457def14c53417ab7fea4d9f9f541745fba8a447287563638
|
|
| MD5 |
e7ec1e04870eda453c85bbeedda91073
|
|
| BLAKE2b-256 |
439481b020248b1d9c933f9487a762d3f3a232b9e2e6d711eed5c8b1aecebcaa
|
File details
Details for the file trackle_ml-0.1.1-py3-none-any.whl.
File metadata
- Download URL: trackle_ml-0.1.1-py3-none-any.whl
- Upload date:
- Size: 11.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
18850ca2f670d967a9db78797650aaf55c6abfcc533956022fc10c273c411528
|
|
| MD5 |
14999cceb86188f8f9db0dd17ca54183
|
|
| BLAKE2b-256 |
8b04ff5d893b1d2673cf76159f85d57a30c835cd574ad072b4ceaeb7dbd4a184
|