Skip to main content

Experiment tracker and lab journal made for humans — and sexy human-agent interaction for AI research

Project description

buro

An experiment tracker and lab journal made for humans — and for sexy human ⇄ agent interaction in AI research. Log your runs, metrics, and media to a Buro server.

Install

pip install buro

Quickstart

import buro

run = buro.init(project="my-project")        # or "team-slug/my-project"
for step in range(100):
    buro.log({"loss": 1.0 / (step + 1), "acc": step / 100}, step=step)
buro.finish()

init(project=...) resolves the project against the server and auto-creates it if it doesn't exist. project is a slug ref: "slug" (personal) or "team-slug/slug" (team).

Authenticate

Log in once on your machine:

buro login --api-url https://<your-buro-server>
buro whoami

The SDK resolves credentials in this order:

  1. buro.setup(api_key=..., api_url=...) in code
  2. BURO_API_KEY / BURO_API_URL environment variables
  3. ~/.buro/credentials (written by buro login)

On a cluster or in CI, the env-var path is usually easiest:

export BURO_API_KEY=buro_key_...
export BURO_API_URL=https://<your-buro-server>

Log media

buro.log({"sample": buro.Image("path/to/image.png")})   # numpy array or PIL image also work
# also available: buro.Audio, buro.Video

Code tracking

Every run automatically snapshots the source code that actually ran, so the compare view can show exactly what changed between two runs — not just which hyperparameters differed.

It works by tracing, not scanning: buro watches the Python modules your run imports and keeps the ones that are your code — everything outside the standard library, your installed packages, and buro itself. Each file is recorded under its import path (models/encoder.py, not an absolute path on your machine), hashed, and uploaded once — identical files are shared across runs, so a hyperparameter sweep that doesn't touch the code uploads nothing new.

Because it follows the imports rather than walking a directory, the snapshot is:

  • exactly your run's code — the entry script plus the modules it imported, across packages; never a stray sweep of your whole repo, a sibling project, or config/secret files that happen to sit nearby;
  • the same on every machine — a file is identified by how it's imported, so the same code on your laptop and on a cluster diffs as unchanged;
  • best-effort — snapshotting never slows down or crashes your run.

Config files (config.yaml, lockfiles, …) are not captured — their values already live in your run config (buro.init(config=...)). For an unusual layout, or to pin exactly what's captured, set BURO_CODE_ROOT=/path/to/project.

Docs

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

buro-0.0.4.tar.gz (189.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

buro-0.0.4-py3-none-any.whl (36.5 kB view details)

Uploaded Python 3

File details

Details for the file buro-0.0.4.tar.gz.

File metadata

  • Download URL: buro-0.0.4.tar.gz
  • Upload date:
  • Size: 189.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for buro-0.0.4.tar.gz
Algorithm Hash digest
SHA256 366a17ffd53e863c006d6e3eb76e3d99eb34acdc0db6f1687aff68fe524d1366
MD5 b58b1f0a7af112b0550e4157cb51e7ed
BLAKE2b-256 6dbb60125c2099024a86da459aa221421eed46225b48a574a20bdee07878ec9b

See more details on using hashes here.

Provenance

The following attestation bundles were made for buro-0.0.4.tar.gz:

Publisher: sdk-publish.yml on dunnolab/buro

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file buro-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: buro-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 36.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for buro-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 77aa48704443a08d22db00a1e0e9834a13adb30be750dab53b46f65c7d49e093
MD5 c99040447b9b5b987d0f77d3411069b2
BLAKE2b-256 684938b62e86575553ba0b2e9a164cfecdf49092dcde25ed356ad3b7e0b91b7e

See more details on using hashes here.

Provenance

The following attestation bundles were made for buro-0.0.4-py3-none-any.whl:

Publisher: sdk-publish.yml on dunnolab/buro

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page