Skip to main content

Lightweight experiment tracking backed by SQLite

Project description

gsql-track

Lightweight experiment tracking backed by SQLite. Zero dependencies beyond the Python standard library.

Install

pip install gsql-track

Quick Start

from gsql_track import GsqlTrack

t = GsqlTrack("my-experiment")
run = t.start_run("baseline")
run.log_params({"lr": 0.001, "bs": 64})

for step in range(100):
    run.log(step=step, loss=loss, acc=acc)

run.finish()
t.close()

Log Predictions (for mistake analysis)

run.log_predictions([
    {"id": "e1", "pred": "A", "label": "A", "conf": 0.95, "text": "..."},
    {"id": "e2", "pred": "B", "label": "A", "conf": 0.60, "text": "..."},
])

Web Dashboard

View results in the browser with the companion Go CLI:

gsql track serve

Wrapper API

Wrap an existing tracker class to automatically log to gsql:

from gsql_track import tracked
tracker = tracked(MyTracker(config), experiment="mnist")

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

gsql_track-0.1.1.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

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

gsql_track-0.1.1-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file gsql_track-0.1.1.tar.gz.

File metadata

  • Download URL: gsql_track-0.1.1.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.7

File hashes

Hashes for gsql_track-0.1.1.tar.gz
Algorithm Hash digest
SHA256 7c1020c9fcfa0e4741875b54d799f392681abd44043f5530be0ac2caa1cb51d2
MD5 e8c266eb7df2d4a9bf0d48216c24a419
BLAKE2b-256 3faf9fe4db7c72a31430cf3f0c1617285fbd3d8b7dd95f75b074050f0f8fd861

See more details on using hashes here.

File details

Details for the file gsql_track-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: gsql_track-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.7

File hashes

Hashes for gsql_track-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f45dd28b3212ca1a27d1a15f1ee58f8d8e7a4db7593a0f5206eb25bcdfa9896a
MD5 0a075003778e995720a2b9cf1c8c5817
BLAKE2b-256 be1dedcc9e20196d27d2b188fc2e6ee648f1fe46c2ebc3ed49d6706d1e5206fd

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