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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3musllinux: musl 1.2+ x86-64

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

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

Uploaded Python 3

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

Uploaded Python 3

p95-0.12.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.12.0-py3-none-win_amd64.whl.

File metadata

  • Download URL: p95-0.12.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.7 {"installer":{"name":"uv","version":"0.11.7","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.12.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 8266ce4a1d03d137ecd0b1eb44dbe72ff07665d7e2b462899df930f21bd7527c
MD5 5b595491ed501357a09094bd678e7614
BLAKE2b-256 b6807234ec27ca30dfc858b7c151d6d5ba28ecd56b1941d0a8296adebc5926da

See more details on using hashes here.

File details

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

File metadata

  • Download URL: p95-0.12.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.7 {"installer":{"name":"uv","version":"0.11.7","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.12.0-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 dc3a2e9db463dfd41a419e306a2d68163156cca923ec7299e35f86af315232aa
MD5 c209854134d51a97e5e5a406a832f598
BLAKE2b-256 ba3de71821a5253e3179b4b3cbaf867f1e559a1fca515874e0d0a15d39bae0c9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: p95-0.12.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.7 {"installer":{"name":"uv","version":"0.11.7","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.12.0-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 85e7601e97fc08221812097227f1ccfe8ee7448ff48a7ee8da3c644d6f6b14da
MD5 2f47b08b1baf7f4f055c80a9ed144930
BLAKE2b-256 254b7bee1bfb41ea4be72de84607db07403d6c346ba78c39479fe0a5d2826e9c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: p95-0.12.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.7 {"installer":{"name":"uv","version":"0.11.7","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.12.0-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d1c34028a07d49157d76414c773331a42447ac37660f0e5633617ccaa172c590
MD5 35c9a1e0c825ec8c59711d98b49b663a
BLAKE2b-256 736102d4e8f05b38a9b266b785e29ef14d2518ab70d5f25e5109035226ff2cb4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: p95-0.12.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.7 {"installer":{"name":"uv","version":"0.11.7","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.12.0-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 17d00dd051b82809a6019f8c58d101b527edcf1478c0e104e5ca4011537be0ed
MD5 83f0a09e9ee9fa4a1392aa07dc7efee2
BLAKE2b-256 d7e603de6d6c2bd54ef221edc6af48b845942fae38c999fec383655d203d72a0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: p95-0.12.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.7 {"installer":{"name":"uv","version":"0.11.7","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.12.0-py3-none-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 05a3cb60c20426b68f08521de25a3fbecc66b3a7ccdf4c1419511c45244ad043
MD5 49350f24db0f9a4bad249406cad6dc0c
BLAKE2b-256 fb4afb170f7eba9c17b7b76b0943abb532b61ec12cb0c84b2b23d553d3984460

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