Skip to main content

labnotes

Browse experiment designs, notes, and run data from a folder.

uvx labnotes --experiments-folder experiments --data-folder data
  • --experiments-folder holds one subfolder per experiment, each with a design.yaml (with a study key) and any number of markdown notes.
  • --data-folder holds the run data and a .dirsql.toml that declares a runs table with a study column. An experiment's runs are the rows whose study matches its design's.

That serves a local site at http://127.0.0.1:8000: a table of experiments, and a page per experiment with its parameters, its notes, progress per cell of the design grid, and every run so far. Both folders are watched, so a reload shows new runs and edited notes.

design.yaml keys the site reads: study, fixed, varies (each key a list of values), runs_per_cell, and completed_run, a SQL condition over the runs table that marks a run as complete. Anything else shows up as-is.

-h/--host and -p/--port change where it listens; -h 0.0.0.0 (or a Tailscale IP) serves beyond localhost. Every other uvicorn option passes through: --reload, --workers, --proxy-headers, --root-path, the --ssl-* set, and the rest. labnotes --help lists them. The folders can also come from LABNOTES_EXPERIMENTS_FOLDER and LABNOTES_DATA_FOLDER. --json prints the experiments as JSON and exits.

From the command line

Name an experiment to print what has run for it as JSON. Add SQL to query that experiment's runs: runs holds only its runs, main.runs every run.

uvx labnotes models-effort "SELECT model, COUNT(*) AS n FROM runs GROUP BY 1" \
  --experiments-folder experiments --data-folder data

Agent skill

npx skills add thekevinscott/labnotes

The skill tells a coding agent to run labnotes context, which prints a usage guide for the installed version.

Metadata

Release files for labnotes 0.0.11

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

Source distribution (sdist)

Source distribution for labnotes 0.0.11
File Size Uploaded
labnotes-0.0.11.tar.gz 88.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for labnotes 0.0.11
File Interpreter ABI Platform
labnotes-0.0.11-py3-none-any.whl Python 3 none any Details

Total release size: 119.9 kB

Release files / labnotes-0.0.11.tar.gz

Download URL labnotes-0.0.11.tar.gz
Size 88.3 kB
Tags Source
SHA-256 checksum
How to use checksums
6e2912d5bb4ac962727ba0e44d4936fc0240742fa1d60a65286be24da3baaa1f
BLAKE2b-256 checksum
How to use checksums
b8295935319337f76f6d926b5c5e973c78ae9dcb09d1900f3d3aa5b7aab6b90a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 17, 2026.

Transparency log

Release files / labnotes-0.0.11-py3-none-any.whl

Download URL labnotes-0.0.11-py3-none-any.whl
Size 31.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2576fa67f78afd0f2601fe57104af36f669a90761ac59b02f05ee8b3b2b299b6
BLAKE2b-256 checksum
How to use checksums
4f9a8c8981a5c180515aecef7e1320cd36ca74c9bf46392922f8982e6aafeecc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 17, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.0.11 This release

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

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