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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3musllinux: musl 1.2+ x86-64

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

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

Uploaded Python 3

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

Uploaded Python 3

p95-0.8.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.8.0-py3-none-win_amd64.whl.

File metadata

  • Download URL: p95-0.8.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.10.11 {"installer":{"name":"uv","version":"0.10.11","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.8.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 c0845b4e354e9dd07fe33f0dbc51b683cfd15b7556192b4a36e2eee231692142
MD5 89a994526cfd260cb4f9b17a62048755
BLAKE2b-256 99e0641cddea93b2fb3bd2cd12d73e2bc3cd620b16cd73196414ebc3ab25af63

See more details on using hashes here.

File details

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

File metadata

  • Download URL: p95-0.8.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.10.11 {"installer":{"name":"uv","version":"0.10.11","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.8.0-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 fcc7c77705c39f685deabde3899c0ddaa0ce9611f29ee25c369071e6ec4e63d3
MD5 2bd020fb045517b6b939425f8042c5ca
BLAKE2b-256 bf7b6c779443e23934021c37d3c5af7a21fb7c31cae3bcfb111d40456bae5ef9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: p95-0.8.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.10.11 {"installer":{"name":"uv","version":"0.10.11","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.8.0-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 7fae969f2b513817421d95cf9fefda659129718fb2188190f77ce6b37c45a5d9
MD5 6f6bd13587d5e2397334fd6931dd180d
BLAKE2b-256 99f3f15f59b71fef3f17d4976a6e00597f4c43387b5279c4ae1b6dc7bcaf708f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: p95-0.8.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.10.11 {"installer":{"name":"uv","version":"0.10.11","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.8.0-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c50e8135ad35471f80e9b1df9d4e236321999800944408316c57c923ec1c270c
MD5 d9a71b51afff8ad86ecb2521e5625733
BLAKE2b-256 f8908b75ff48cc38faffb01b414969e28c519ede6ddfc0c5fb3c6c3fdc7cc886

See more details on using hashes here.

File details

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

File metadata

  • Download URL: p95-0.8.0-py3-none-manylinux2014_aarch64.whl
  • Upload date:
  • Size: 10.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.11 {"installer":{"name":"uv","version":"0.10.11","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.8.0-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 fde7dab84cdcdbcb030ee12264c5e2dacc65fbebc37b1a870a258f0cd51002a8
MD5 3b2584ec8fd591d115578e12a299609c
BLAKE2b-256 e78165fb6ef1258ac9886a339e293cb96eadafa7df015d7dea9cd455ed79be70

See more details on using hashes here.

File details

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

File metadata

  • Download URL: p95-0.8.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.11 {"installer":{"name":"uv","version":"0.10.11","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.8.0-py3-none-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 914ee1212ff79031a9331568ee67df311dde7fb08858cb5db2e7bb8c8d0626ce
MD5 6d178d76d965ccbaf1e9f75b3d5e70f2
BLAKE2b-256 7ea12f22b09424ea1e8e282bd8ec3a7ef67a2ef986a4783f74259c39177f3dd5

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