labnotes
Browse experiment designs, notes, and run data from a folder.
uvx labnotes
labnotes reads two folders, named in a .labnotes.toml at the project root:
experiments = "experiments"
data = "data"
Both keys are optional and default to the values above. Paths are relative to
.labnotes.toml, or absolute, or start with ~. labnotes reads the file from
the working folder, or from the path given with -c.
experimentsholds one subfolder per experiment, each with adesign.yaml(with astudykey) and any number of markdown notes.dataholds the run data and a.dirsql.tomlthat declares arunstable with astudycolumn. An experiment's runs are the rows whosestudymatches 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. --experiments-folder
and --data-folder, or LABNOTES_EXPERIMENTS_FOLDER and
LABNOTES_DATA_FOLDER, override .labnotes.toml. --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"
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.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| labnotes-0.0.12.tar.gz | 89.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| labnotes-0.0.12-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 122.2 kB
Release files / labnotes-0.0.12.tar.gz
| Download URL | labnotes-0.0.12.tar.gz |
|---|---|
| Size | 89.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1aa78942571ac44b3aceb95dd86f8c2d0f905a59242dc4d8483696b5181e9fab
|
|
BLAKE2b-256 checksum How to use checksums |
e53d4562ab257f44cc692e7c66af07d683950044540e235b82f0ecc156e8d7bb
|
| 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 logRelease files / labnotes-0.0.12-py3-none-any.whl
| Download URL | labnotes-0.0.12-py3-none-any.whl |
|---|---|
| Size | 33.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d002d4546e74efd53f4685160caa5c254173e3a4fd24553ea459c866cb57b401
|
|
BLAKE2b-256 checksum How to use checksums |
8b70b06bc1be0ee52b46980a98f71e327802d2b7f59d584f1254c5ecac86618b
|
| 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