Skip to main content

Python SDK for p95 ML experiment tracking

Project description

p95 Python SDK

Track ML experiments locally. No server setup required.

Installing the Python package includes the binary for the TUI and the web server.

Install

pip install p95

Usage

from p95 import Run

with Run(project="my-project", name="experiment-1") as run:
    run.log_config({"learning_rate": 0.001, "epochs": 10})

    for epoch in range(10):
        loss = train_one_epoch()
        run.log_metrics({"loss": loss}, step=epoch)

View Results

# Opens a dashboard at http://localhost:6767
pnf serve --logdir ~/.p95/logs

# Opens the TUI
pnf tui --logdir ~/.p95/logs

API

run.log_metrics({"loss": 0.5, "accuracy": 0.85}, step=epoch)  # Log metrics
run.log_config({"lr": 0.001})                                  # Log config
run.add_tags(["baseline"])                                     # Add tags

Environment Variables

Variable Description Default
P95_LOGDIR Where to save logs ~/.p95/logs

License

MIT

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

p95-0.10.0-py3-none-win_amd64.whl (5.6 MB view details)

Uploaded Python 3Windows x86-64

p95-0.10.0-py3-none-musllinux_1_2_x86_64.whl (10.5 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

p95-0.10.0-py3-none-musllinux_1_2_aarch64.whl (10.5 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

p95-0.10.0-py3-none-manylinux2014_x86_64.whl (10.5 MB view details)

Uploaded Python 3

p95-0.10.0-py3-none-manylinux2014_aarch64.whl (10.5 MB view details)

Uploaded Python 3

p95-0.10.0-py3-none-macosx_10_13_universal2.whl (5.3 MB view details)

Uploaded Python 3macOS 10.13+ universal2 (ARM64, x86-64)

File details

Details for the file p95-0.10.0-py3-none-win_amd64.whl.

File metadata

  • Download URL: p95-0.10.0-py3-none-win_amd64.whl
  • Upload date:
  • Size: 5.6 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for p95-0.10.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 2304f71735193c440e1395a114b643b2b9a78491caafe6da7435c85075f18ec4
MD5 70f83f3ff549dabcff01ca63c6c233a6
BLAKE2b-256 960f45450ed947c699a5ee8f6e27b6a40b6f8fa78dd28e0e0d8a9e4c686ea24b

See more details on using hashes here.

File details

Details for the file p95-0.10.0-py3-none-musllinux_1_2_x86_64.whl.

File metadata

  • Download URL: p95-0.10.0-py3-none-musllinux_1_2_x86_64.whl
  • Upload date:
  • Size: 10.5 MB
  • Tags: Python 3, musllinux: musl 1.2+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for p95-0.10.0-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 08be30efbe365922117ed77242d763d3032f8a0f85c1f99c59097f6a1b301e92
MD5 8ae09a6e8115d038ae480fbc460194f6
BLAKE2b-256 af7baf6589ed0662ff450efb8b3d6508b70a635e7f857f395aff7aee9a0ec18b

See more details on using hashes here.

File details

Details for the file p95-0.10.0-py3-none-musllinux_1_2_aarch64.whl.

File metadata

  • Download URL: p95-0.10.0-py3-none-musllinux_1_2_aarch64.whl
  • Upload date:
  • Size: 10.5 MB
  • Tags: Python 3, musllinux: musl 1.2+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for p95-0.10.0-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 54381dfbf02c49fe48652f55a0c8dd35d329c59308db53ec9dbd8d8e76faafef
MD5 cb6bc1701849e01142ccfecb1e2b35d0
BLAKE2b-256 721e5f7a42811d2cab73f649cca0ea4ff5db82d6c57dbe555fbf78de976aa10e

See more details on using hashes here.

File details

Details for the file p95-0.10.0-py3-none-manylinux2014_x86_64.whl.

File metadata

  • Download URL: p95-0.10.0-py3-none-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 10.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for p95-0.10.0-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a0a85b27db946a8f23064b1fe50c19a71fba2ae0a62f622176063d7f189490bd
MD5 97a3902c020a57af7a26655ce08425f5
BLAKE2b-256 45de8724124cc008e435d53ac4bd2ee0bd795dc0540c59820612b2301f83b757

See more details on using hashes here.

File details

Details for the file p95-0.10.0-py3-none-manylinux2014_aarch64.whl.

File metadata

  • Download URL: p95-0.10.0-py3-none-manylinux2014_aarch64.whl
  • Upload date:
  • Size: 10.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for p95-0.10.0-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 42fdfd8f339e4594ff1143947752c003c3dd27597d1c15570bb962c5654c9562
MD5 9a4a0f8256c6adf78e2ee1f77595195c
BLAKE2b-256 ab53c62df87805f4e439a3ebef0870685c0878c5e64fb10b422780f7ee9cec10

See more details on using hashes here.

File details

Details for the file p95-0.10.0-py3-none-macosx_10_13_universal2.whl.

File metadata

  • Download URL: p95-0.10.0-py3-none-macosx_10_13_universal2.whl
  • Upload date:
  • Size: 5.3 MB
  • Tags: Python 3, macOS 10.13+ universal2 (ARM64, x86-64)
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for p95-0.10.0-py3-none-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 95bcbd3e538b805b4d34ad5103cf5cc26717b62765d7ba7efcaec402ed19f4c1
MD5 0de1514117dbe774b229ef92223b7991
BLAKE2b-256 aec48cbfc1e560614e0581fdb8a64e396c2f6ee2c5c80ccc1e7a49fcd801bff4

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