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.3

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.3
File Size Uploaded Provenance Actions
runledger_cli-0.1.3.tar.gz 29.5 kB Without provenance Details for runledger_cli-0.1.3.tar.gz

Built distribution (wheel)

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

Total release size: 62.7 kB

Release files / runledger_cli-0.1.3.tar.gz

Download URL runledger_cli-0.1.3.tar.gz
Size 29.5 kB
Tags Source
SHA-256 checksum
How to use checksums
74039b93993cacfe031e65153ffcba7c0d70ae9c1f139bfd3b13e47cfc9d2eec
BLAKE2b-256 checksum
How to use checksums
529c6e6e8b6d04a2eefa303a7f4927af971832b80efdc14694bb735a8b4d1f76
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.3-py3-none-any.whl

Download URL runledger_cli-0.1.3-py3-none-any.whl
Size 33.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1e4ec00332494091162691e591bc24ac6f081006ceb552a61caf0329096b24ab
BLAKE2b-256 checksum
How to use checksums
ba781a2e86cac21a8f5660b31e5c7c4c75d188b318f07c1c275a80a6196b9165
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.3

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