Project Bourne
Every experiment has a history.
Universal experiment provenance and reproducibility for science and engineering.
Project Bourne records how scientific and engineering commands were executed: the exact argument vector, process output, timing, exit status, Git state, and the system that ran them. It is local-first, framework-agnostic, and requires no changes to the program being recorded.
After the v0.1.1 release workflow succeeds, install Project Bourne from PyPI:
python -m pip install bourneprov
bourne run python examples/demo.py
bourne list
bourne show @1
The same verified wheel and source distribution are attached to the v0.1.1 GitHub release. To install a downloaded release asset instead:
python -m pip install ./bourneprov-0.1.1-py3-none-any.whl
python -m pip install ./bourneprov-0.1.1.tar.gz
Run any executable, then compare the two most recent experiments without copying their IDs:
bourne run bash -c "echo hello"
bourne compare @2 @1
The program inside an experiment does not need to be Python. The same wrapper works for commands such as:
bourne run ./solver case.yaml
bourne run julia simulation.jl
bourne run mpirun -np 64 ./solver
Program stdout and stderr remain visible while the command runs and are also preserved in the experiment record.
Human-friendly experiment references
Every experiment keeps its canonical 26-character ULID in storage. CLI commands that accept an experiment also understand convenience references:
01M02GDJEW... unique ULID prefix
latest most recent experiment
@1 most recent experiment
@2 second-most-recent experiment
@3 third-most-recent experiment
For example:
bourne show latest
bourne show 01M02GDJEW
bourne compare @2 @1
Bourne never guesses when a prefix is ambiguous; it lists the matching
canonical IDs and asks for a longer prefix. bourne list displays a concise
10-character prefix by default. Use bourne list --full-id when canonical IDs
are needed.
Shell completion
Completion candidates include canonical experiment IDs, latest, and recent
@N references. Activate completion for the current shell session with:
# Bash
source <(bourne completion bash)
# Zsh
source <(bourne completion zsh)
# Fish
bourne completion fish | source
Add the appropriate command to your shell startup file to enable it
permanently. Completion for bourne show and bourne compare queries the
currently configured database, including an exported BOURNE_DB.
What v0.1.1 records
Each experiment has a public, time-sortable ULID and records:
- execution status (
completed,failed, orinterrupted), command and arguments, working directory, UTC timestamps, duration, and exit code; - captured stdout and stderr;
- Git repository root, commit, branch, and dirty state when available;
- operating system, version, architecture, hostname, CPU, and optional NVIDIA GPU, active driver, and driver-supported CUDA metadata.
Collectors degrade gracefully. A missing Git repository, nvidia-smi, NVIDIA
GPU, or CUDA installation does not stop the experiment.
Failed and interrupted commands are recorded before bourne returns their
process semantics:
bourne run python -c "raise RuntimeError('boom')"
bourne list
On POSIX systems, Bourne runs an experiment in its own process group so Ctrl+C normally terminates its descendants without targeting unrelated processes.
Process execution success is not a claim of scientific correctness. Scientific verification is deliberately separate and is not implemented in v0.1.1.
Local storage
Bourne stores records in a local SQLite database. The default path is:
~/.local/share/bourne/experiments.sqlite3
Set BOURNE_DB to use a different database, which is useful for isolated
projects and tests:
BOURNE_DB=/path/to/experiments.sqlite3 bourne list
On Windows, the default uses %LOCALAPPDATA%\Bourne\experiments.sqlite3 when
LOCALAPPDATA is set. If XDG_DATA_HOME is set, Bourne respects it on other
platforms.
Development
The v0.1.1 runtime uses only the Python standard library. Run the tests with:
python -W error::ResourceWarning -m unittest discover -s tests -v
The first release intentionally does not include artifact tracking, lineage,
scientific verification, remote execution, schedulers, cloud services,
dashboards, or autonomous agents. See docs/VISION.md for the longer-term
direction.
Metadata
Release files for bourneprov 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bourneprov-0.1.1.tar.gz | 24.4 kB | With provenance | Details for bourneprov-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bourneprov-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for bourneprov-0.1.1-py3-none-any.whl |
Total release size: 45.2 kB
Release files / bourneprov-0.1.1.tar.gz
| Download URL | bourneprov-0.1.1.tar.gz |
|---|---|
| Size | 24.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eb8d1936b9345f5ec1c4e05ab9683b3f56042bffb54586be6ac8905455422897
|
|
BLAKE2b-256 checksum How to use checksums |
6361c0f9fbaba2a80373287a6212759ee474033d4fc3aedfb1d227ebbac7d35d
|
| 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 Aug 15, 2026.
Transparency logRelease files / bourneprov-0.1.1-py3-none-any.whl
| Download URL | bourneprov-0.1.1-py3-none-any.whl |
|---|---|
| Size | 20.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8b7e092df70cabef89a35af1a78f10154d6fb32ee66c20ea691ddb7f2b2a60a6
|
|
BLAKE2b-256 checksum How to use checksums |
0b0eecf356300d92ca8d1e25ae2c66ec2aebb43c4d3e3e54c925c4f1661754b9
|
| 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 Aug 15, 2026.
Transparency logSecurity for bourneprov 0.1.1
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for bourneprov-0.1.1.tar.gz
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 Aug 15, 2026.
Transparency logA 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.