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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3musllinux: musl 1.2+ x86-64

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

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

Uploaded Python 3

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

Uploaded Python 3

p95-0.5.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.5.0-py3-none-win_amd64.whl.

File metadata

  • Download URL: p95-0.5.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.4 {"installer":{"name":"uv","version":"0.10.4","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.5.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 638431b99db29a51111b50123dfa2cfac06470483601bad3fce1da5e35709a57
MD5 14eead829369a7fced36602a186b0c9b
BLAKE2b-256 0f0e7c51437cd01ef840778ca43ef06a43f97d79adf052b17a5f3dc4deb97889

See more details on using hashes here.

File details

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

File metadata

  • Download URL: p95-0.5.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.4 {"installer":{"name":"uv","version":"0.10.4","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.5.0-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 64e8dc61a9dad88d15fd09d34396eede1504cd851835e6d7d131632637f3fec9
MD5 c62019bcb88ae9ad01336c48b3b0566d
BLAKE2b-256 72d3284db56aa10907dda597f62f0db9053e2a8d498cc913c0df687a5cec9a22

See more details on using hashes here.

File details

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

File metadata

  • Download URL: p95-0.5.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.4 {"installer":{"name":"uv","version":"0.10.4","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.5.0-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 b4ced99ae77d5a8fe0df848e3b5b7aad975688603baf6054b807ff028c1e9f47
MD5 3dea0e431ac99a3fdba7443754f7e522
BLAKE2b-256 1f5c2e34054e99c22ca1af6c13a046106dcbb7420e83ed7843ac82e1090b6225

See more details on using hashes here.

File details

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

File metadata

  • Download URL: p95-0.5.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.4 {"installer":{"name":"uv","version":"0.10.4","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.5.0-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d71ee377d8cc7a233d6988827eb93c0a0b3b5d8dc9f53ac0248adddc2066677f
MD5 642ecb55a66efa93018781055b3bd0ba
BLAKE2b-256 643165ff52b3695b8ed85b37b7df7738d190f42e1ca9b95d5000dfc5904475e5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: p95-0.5.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.4 {"installer":{"name":"uv","version":"0.10.4","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.5.0-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 95e95afb671480612b3f7c3354ad9b40af9429c2412505beaed676158d5cdcdf
MD5 364e805eadb11d9fdde8eb72bfb14e1e
BLAKE2b-256 40fd4658991efe3ad222e502ca069ee0e0f70e83ea6d0320cac7521a3fbe9371

See more details on using hashes here.

File details

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

File metadata

  • Download URL: p95-0.5.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.4 {"installer":{"name":"uv","version":"0.10.4","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.5.0-py3-none-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 74a0b198f9df2813ff93da547ec380d3e7fd8c0ad6d6ef489c5e5cca74d7c396
MD5 7ad4ddfedf6a2f1d7f0b0f806056f0f5
BLAKE2b-256 ec74214471c5fda177fabd440c925387ff07eb19fc695d2cb976ddccc5e35ef8

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