Skip to main content

ML experiment tracker

Project description

Goodseed

ML experiment tracker. Logs metrics and configs to local SQLite files, serves them via a built-in HTTP server, and visualizes them in the browser.

Install

cd goodseed
pip install -e .

For development:

pip install -e ".[dev]"

Quick Start

import goodseed

with goodseed.Run(experiment_name="my-experiment") as run:
    run.log_configs({"learning_rate": 0.001, "batch_size": 32})

    for step in range(100):
        loss = train_step()
        run.log_metrics({"loss": loss}, step=step)

Then view your runs:

goodseed serve

How It Works

Each Run() creates a SQLite file at ~/.goodseed/projects/<project>/runs/<run_name>.sqlite. Metrics and configs are written there during training. After the run closes, the WAL is checkpointed so the result is a single .sqlite file.

The goodseed serve command starts a local HTTP server that reads these files and exposes a JSON API. The frontend at goodseed.ai connects to this server to display your runs.

Configuration

Variable Description
GOODSEED_HOME Data directory (default: ~/.goodseed)
GOODSEED_PROJECT Default project name (default: default)

CLI

goodseed                   # Start the server (default command)
goodseed serve [dir]       # Start the server, optionally from a specific directory
goodseed serve --port 9000 # Use a custom port
goodseed list              # List local runs

Tests

pip install -e ".[dev]"
pytest tests/ -v

See DOCS.md for architecture details and API reference.

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

goodseed-0.2.3.tar.gz (50.6 kB view details)

Uploaded Source

Built Distribution

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

goodseed-0.2.3-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

Details for the file goodseed-0.2.3.tar.gz.

File metadata

  • Download URL: goodseed-0.2.3.tar.gz
  • Upload date:
  • Size: 50.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for goodseed-0.2.3.tar.gz
Algorithm Hash digest
SHA256 e806228d78e861c7e79a0dcb4f1e1bcfdb934724344d095bf0b51e9a3a191f68
MD5 3c3d81b11e174de6c137cb62be41bf39
BLAKE2b-256 426814570940ccb5226032b355631f77f535c7ca6969b2537c9418caa8441a0e

See more details on using hashes here.

File details

Details for the file goodseed-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: goodseed-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 17.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for goodseed-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c85930c32ec20a8d28538402a2fac09ff0ded9b4d98117a07f48f25b85e5fd81
MD5 c4700aa7c67ea5e619fe3feddd58531a
BLAKE2b-256 008405998b7d564bd35ac40533d52c549fbaa2ddb3612f2975f4d2157c935ff1

See more details on using hashes here.

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