Runlytics
A fast, lazy, modern experiment dashboard with a drop-in SummaryWriter. It uses the standard library and supports
Python 3.10 and newer; numpy, Pillow, and matplotlib are optional.
pip install . # or: pip install ".[fast]" / ".[media]"
python examples/demo.py
runlytics --logdir demo_runs # http://localhost:6006
from runlytics import SummaryWriter
with SummaryWriter("runs/exp1") as w:
w.add_scalar("loss/train", 0.5, step,
description="Cross-entropy on the training batch. Lower is better.")
w.add_histogram("weights/fc1", tensor, step)
The "i" button
Every chart has an i button. Pass description="..." (Markdown allowed) to any add_* call and that text
is shown there, so nobody has to open the code to learn what a chart means. Charts without a description show a
generic explanation of the chart type.
Features
Scalars, custom scalars, histograms, images, graphs, text, audio, video, embeddings, PR curves, HParams and mesh views, with smoothing, log axes, outlier clipping, zoom, CSV/PNG export, relative and wall-time axes and live reload.
Why it is fast
- Lazy: startup only lists and stats
events.out.*file names; a run is parsed only when selected. - Incremental: live runs are tailed by byte offset; partial trailing records are handled.
- Bounded: LRU memory budget (
--max_memory_mb), compact array storage, per-generation result caches. - Lean transfer: LTTB downsampling, gzip + ETag, one request per tag for all runs.
- UI: charts are built only when scrolled into view; virtualized run list; no frameworks.
- Writer: async queue; CRC and I/O happen off your training thread.
Running as a background service
Runlytics does no work while nobody is looking: after --idle_scan_secs (default 60) without a request it stops
rescanning directories, and after --idle_release_secs (default 300) it frees every parsed run and cache.
The next browser request resumes transparently. Event files that are not selected are never opened.
Existing event files written by other tools are read as-is (any events.out.* file), so old logs open directly.
CLI
--logdir, --logdir_spec name:path,..., --host, --bind_all, --port, --reload_interval,
--path_prefix, --purge_orphaned_data, --samples_per_plugin scalars=1500,histograms=50,
--max_memory_mb, --idle_scan_secs, --idle_release_secs, --window_title, --open.
Layout
runlytics/
core/ binary format: CRC, records, wire, tensors, events
charting/ line (LTTB), histogram, image, audio builders
store/ lazy scanner, incremental run parser, cached queries
server/ HTTP app, handler, routes/
writer/ SummaryWriter, async file writer, mixins
cli/ argument parsing and entry point
utils/ small helpers
web/ dependency-free UI (css/, js/)
See CONTRIBUTING, CHANGELOG, TODO and SECURITY.
License: MIT. Author: Bradley Odimmasi.
Log directory
--logdir is resolved from the directory you start runlytics in: relative paths are tried relative to it first, then as written. Omit --logdir (or pass it without a value) to use the current directory.
Development
runlytics --dev ... is meant for working on the dashboard itself: bundled web files are re-read from disk on every request (edit, then refresh; no restart) and each request is logged to stderr. It is intentionally not listed in --help.
Metadata
Release files for runlytics 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| runlytics-0.2.0.tar.gz | 71.8 kB | With provenance | Details for runlytics-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| runlytics-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for runlytics-0.2.0-py3-none-any.whl |
Total release size: 158.7 kB
Release files / runlytics-0.2.0.tar.gz
| Download URL | runlytics-0.2.0.tar.gz |
|---|---|
| Size | 71.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7fe1dd1d215ded0105d667254bd6a8744853ebe66d48c4f97c12de33ce3fe0c1
|
|
BLAKE2b-256 checksum How to use checksums |
fc350a47fbb1c33b53fea0a6b63e4de657201d14bad751fab9f0e21e94476671
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 13, 2026.
Transparency logRelease files / runlytics-0.2.0-py3-none-any.whl
| Download URL | runlytics-0.2.0-py3-none-any.whl |
|---|---|
| Size | 86.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8e2b837b2dec193ae7e578e796942aafd87b841f623889f08ac50175fab7390c
|
|
BLAKE2b-256 checksum How to use checksums |
98eb84a49b65c9fd076966db8d8f597218249fcb72d863417362d987fc4035ec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 13, 2026.
Transparency logSecurity for runlytics 0.2.0
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for runlytics-0.2.0.tar.gz
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 Nov 13, 2026.
Transparency logA 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.