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.2.0-py3-none-win_amd64.whl (5.5 MB view details)

Uploaded Python 3Windows x86-64

p95-0.2.0-py3-none-musllinux_1_2_x86_64.whl (10.4 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

p95-0.2.0-py3-none-musllinux_1_2_aarch64.whl (10.4 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

p95-0.2.0-py3-none-manylinux2014_x86_64.whl (10.4 MB view details)

Uploaded Python 3

p95-0.2.0-py3-none-manylinux2014_aarch64.whl (10.4 MB view details)

Uploaded Python 3

p95-0.2.0-py3-none-macosx_10_13_universal2.whl (5.2 MB view details)

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

File details

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

File metadata

  • Download URL: p95-0.2.0-py3-none-win_amd64.whl
  • Upload date:
  • Size: 5.5 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","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.2.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 589e1728486b349943f4fc02dda3b42a89e6cc75c3982fee001853a6b642d962
MD5 dd24d71aacb2c78c36335f4eb4cb1126
BLAKE2b-256 fc977bc181723bc24b81bc010797026fdf536b0c89aaed79842ad109bcfbb4c2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: p95-0.2.0-py3-none-musllinux_1_2_x86_64.whl
  • Upload date:
  • Size: 10.4 MB
  • Tags: Python 3, musllinux: musl 1.2+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","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.2.0-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 7d28f32e8e3f49cd79c4a7222dd2feeec77998f941a75a23e33597fa062c179a
MD5 f7b7a7bf86c815fa9a1f7b9f42a8b8e2
BLAKE2b-256 7883af16b62d8bf95291e29679a34e4a65a3c04fbae74c697f9db7c6101bd054

See more details on using hashes here.

File details

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

File metadata

  • Download URL: p95-0.2.0-py3-none-musllinux_1_2_aarch64.whl
  • Upload date:
  • Size: 10.4 MB
  • Tags: Python 3, musllinux: musl 1.2+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","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.2.0-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 8dbc7a98c53bdd4dd1fc83f374446eee822334b32449aac48f69bf72cda5d60e
MD5 1700beb14dbcb718a8e45e521601c4ca
BLAKE2b-256 d2d64adf5ec3e0b01cac951a0ad07a0db248abb2a2c698cfb92772f3b665fa62

See more details on using hashes here.

File details

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

File metadata

  • Download URL: p95-0.2.0-py3-none-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 10.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","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.2.0-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1aad03b39e99e0bce0ce5ae1b802655eec464c22eedf963794404ec64c710baa
MD5 7e4e29d061931d560c301e642c6ca8a9
BLAKE2b-256 7b2d5b8a8920fc42df4bce08884cde272d7492863e6303b5a19ee4b33f597381

See more details on using hashes here.

File details

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

File metadata

  • Download URL: p95-0.2.0-py3-none-manylinux2014_aarch64.whl
  • Upload date:
  • Size: 10.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","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.2.0-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 e953cb53f42be24cdc805d2b1478b9f3244e8510f9848d132c1e8654381320bc
MD5 1a10bb73d50d19b57d14c572b84e9630
BLAKE2b-256 66f2dfe6e73e1425c9551e2ca0fdbce0b53c22e9aaadd64bcbf69034cd84d051

See more details on using hashes here.

File details

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

File metadata

  • Download URL: p95-0.2.0-py3-none-macosx_10_13_universal2.whl
  • Upload date:
  • Size: 5.2 MB
  • Tags: Python 3, macOS 10.13+ universal2 (ARM64, x86-64)
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","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.2.0-py3-none-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 2136d7b5d782f9ff6a178d7535d8d0a2b607eb30f32a3341401c82dc98ccde13
MD5 5be27ddd0b80a9520f6bb29f33664858
BLAKE2b-256 4c880012ebee4cecddd536bdec27b0770dcb6f02adaafebc45795edf0c3469a8

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