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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3musllinux: musl 1.2+ x86-64

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

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

Uploaded Python 3

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

Uploaded Python 3

p95-0.11.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.11.0-py3-none-win_amd64.whl.

File metadata

  • Download URL: p95-0.11.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.11.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 1bc55d41171ed419d44bc9a4c7c49e249327ad4a7dc798069da6548d878aca6b
MD5 6bb78c172fac833304d8ed16ba06f45a
BLAKE2b-256 b47ce52a480f5de2b564f09f74e8044ca55a3d9ed2a7ac0656a924cd9637e6d1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: p95-0.11.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.11.0-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 14afba42fb6d63d4893d6d3d8ef2a78427806594c67be2a33f1ed4c6fc864754
MD5 13a8db15ceb41c8db0c0fbb4947e8f07
BLAKE2b-256 4703f5743101ad44314917249cfc23944355102a7b294573151566532eb22cb4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: p95-0.11.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.11.0-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 ffb211f22d96cf59a30afce4cc2a7b096c098ec50ceb8e5e78c76352578e09b5
MD5 12dc64f2e93a8751c3f5c8dc813faadc
BLAKE2b-256 09b09f250250cd2f15f5de670b79ba9fa26f2988263aca348b35439399629913

See more details on using hashes here.

File details

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

File metadata

  • Download URL: p95-0.11.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.11.0-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 03b7035df03a7a1a4037bc39caee4b76eb4556dfec42bd383a3b70199987de25
MD5 7fc2b8335c832f591d63a07982272f5f
BLAKE2b-256 aef6e00d0584623ddb02d7e7ff5e3bfa30641c42778ee8767dcf71b00663d6cc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: p95-0.11.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.11.0-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c949155f8b26e88e619e98d09d60f6f99b7cd9ed65c105ddb472916162024954
MD5 9a8ba0b1bc940e95aaffda23263fb7c0
BLAKE2b-256 0b82f15448c7aabd1dbb738057742de858c6d6fca63d1727aab2ad43ee06ea90

See more details on using hashes here.

File details

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

File metadata

  • Download URL: p95-0.11.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.11.0-py3-none-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 1fe42dc60d7d5236c59dcf581480444b3e7f93230151b27f4721f7b2f7ebdc99
MD5 54d42368ed12a75fecdc7e60ede6a726
BLAKE2b-256 6d09452ab854a359c01dab7ce830d1ab51254aa51af70668e5c266526fbb0ae4

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