Skip to main content

Here’s the updated README with the troubleshooting note added right after the installation instructions. The primary command remains runledger, but users who hit the Windows PATH issue now have a clear fallback.


RunLedger

A zero-instrumentation experiment registry. Point RunLedger at a folder of JSON experiment files and search, filter, aggregate, diff, and export the results; no SDK, no code changes, no cloud.

Most experiment trackers make you instrument your training code before they can help you. RunLedger reads the JSON you're already writing, no wandb.init(), no mlflow.log_metric(), and indexes it in real Postgres, giving you full relational search: structured comparisons, full-text, fuzzy matching, and exact array-element lookups, from one CLI command.

Backed by Postgres, served by a Spring Boot API, and fronted by a Python CLI.

Install

pip install runledger-cli

Requires Docker. If it's not installed, runledger detects that on first run and links you straight to the installer; everything else (Postgres, the backend) is managed for you.

Troubleshooting: runledger command not found (Windows)

On some Windows systems, the Python Scripts folder is not automatically added to your PATH. If runledger is not recognized after installation, you have two options:

  1. Add the Scripts folder to your PATH permanently (recommended):

    • Find where runledger was installed: pip show runledger-cli | findstr Location
    • Navigate to that folder, then up one level to the Scripts directory.
    • Add that Scripts path to your system PATH via System Properties > Environment Variables.
    • Restart your terminal.
  2. Use the Python module fallback (works immediately, no PATH changes):

    python -m cli.ledger
    

    All subcommands and the guided wizard work exactly the same way; just prefix every command with python -m cli.ledger.

Once the PATH is configured, runledger will work as shown in the examples below.

Installing from source
git clone https://github.com/yourusername/run-ledger.git
cd run-ledger
docker compose up -d
pip install -e .

Quick start

runledger scan ~/experiments --batch my-sweep
runledger search --metric accuracy --op gt --value 0.9 --batch my-sweep
runledger aggregate --metric accuracy --agg AVG --group-by experiment --batch my-sweep

New here? Run runledger with no arguments — the guided wizard walks you through your first scan and search.

What you get

  • Search any field, no schema required — structured comparisons (gt, lt, eq...), full-text with stemming, and fuzzy matching for typos, all on arbitrary dot-paths, including fields nested inside arrays (results[].sst2_cacc).
  • Compound AND/OR across multiple conditions in one query.
  • Exact match pointers — array searches tell you exactly which element(s) matched (results[3].sst2_cacc = 0.933), not just that the run did.
  • Aggregates & group-by — AVG / MAX / MIN / SUM / COUNT, straight from the CLI.
  • Safe re-scanning — ingestion is idempotent; a changed file gets a new version, and diff --history shows you what changed and when.
  • Run diff, saved searches, JSONL ingestion, block-depth control — see docs/examples.md for each in action.
  • Self-hosted, local-first — your data never leaves your machine.

Metric paths

Address any value with a dot-path — accuracy, metrics.loss, results[].sst2_cacc. Shorthand (cacc) resolves automatically when it's unambiguous. Run runledger metrics --batch <batch> to see everything discovered in a scan, or add --verbose for full paths.

Docs

License

MIT

Metadata

Release files for runledger-cli 0.1.5

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

Source distribution (sdist)

Source distribution for runledger-cli 0.1.5
File Size Uploaded Provenance Actions
runledger_cli-0.1.5.tar.gz 30.9 kB Without provenance Details for runledger_cli-0.1.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for runledger-cli 0.1.5
File Interpreter ABI Platform Actions
runledger_cli-0.1.5-py3-none-any.whl Python 3 none any Details for runledger_cli-0.1.5-py3-none-any.whl

Total release size: 65.5 kB

Release files / runledger_cli-0.1.5.tar.gz

Download URL runledger_cli-0.1.5.tar.gz
Size 30.9 kB
Tags Source
SHA-256 checksum
How to use checksums
170f2fa6b4f54a1d5633f2d37891b98eda61a736c331ee72aacd58a8c16d8fba
BLAKE2b-256 checksum
How to use checksums
3d3a80f71f943f593dbc7f3459840eb4ceb4addb110c94ed42e343717b39f4f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / runledger_cli-0.1.5-py3-none-any.whl

Download URL runledger_cli-0.1.5-py3-none-any.whl
Size 34.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d6bd37c60439a2e57ffd255acea5dfb993867131544e41c318c26ce5c63060f8
BLAKE2b-256 checksum
How to use checksums
90f82bb95ecb85625dc100ac0a90bf2f65d6a2197f85279ca2cd82a95acdb03f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Security for runledger-cli 0.1.5

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.

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