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

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.4
File Size Uploaded Provenance Actions
runledger_cli-0.1.4.tar.gz 30.9 kB Without provenance Details for runledger_cli-0.1.4.tar.gz

Built distribution (wheel)

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

Total release size: 65.5 kB

Release files / runledger_cli-0.1.4.tar.gz

Download URL runledger_cli-0.1.4.tar.gz
Size 30.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c1e072562856e18b575f3d2cdf191b8279eff65ffb6a391d9d744034037dbd5c
BLAKE2b-256 checksum
How to use checksums
a9ab54a4b92da8107d6912a400faf57629360501f0e6443e8b1e4000c0553df2
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.4-py3-none-any.whl

Download URL runledger_cli-0.1.4-py3-none-any.whl
Size 34.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
31ee3653b6e106ce427f4caedc43a6ecd526e35c7cd557ca8332ce0512f43c1a
BLAKE2b-256 checksum
How to use checksums
94ac76497f8641c2c0cbd655d122f9cab447439d95b721d677b7d4fa2e8a48b7
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.4

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