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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3musllinux: musl 1.2+ x86-64

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

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

Uploaded Python 3

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

Uploaded Python 3

p95-0.14.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.14.0-py3-none-win_amd64.whl.

File metadata

  • Download URL: p95-0.14.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.8 {"installer":{"name":"uv","version":"0.11.8","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.14.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 fd0306da27afb937852f27ed0108c6e6c4390cd1de8658f4a962cc649240650f
MD5 b557671f0e635c04d75141199fa89dae
BLAKE2b-256 a864426636af25c52b0550848fabff623a13918e1f4ad030e6344fcdde79b752

See more details on using hashes here.

File details

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

File metadata

  • Download URL: p95-0.14.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.8 {"installer":{"name":"uv","version":"0.11.8","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.14.0-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 bab278e160609eb9d93a031af5af59f9367960ea892933c8c3524768c03d9878
MD5 df13ddae7b2abff2c5412e0ccffb891c
BLAKE2b-256 7d74766502e335a815d0b106a29b8ae1ab7830f69c35491b07065e3dc234e866

See more details on using hashes here.

File details

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

File metadata

  • Download URL: p95-0.14.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.8 {"installer":{"name":"uv","version":"0.11.8","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.14.0-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 61c872e376e6ef010317fda094290a7abe3490494d2635692335134e5c342f50
MD5 6414b3f025e20fca7d1d683bbe521e6e
BLAKE2b-256 843e9467222c46508fc35d3846606c7202593d6d8c95f5a41a03dbfe175a0e9d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: p95-0.14.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.8 {"installer":{"name":"uv","version":"0.11.8","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.14.0-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 db904ccbeea8e48e7ba63792b276d1364c05380f184a9d2f78b4d2d56f19f182
MD5 f66dd9d6842207fa1ef7ce3247f3bbae
BLAKE2b-256 21f9e5b04540b355a3440f58fc7a9e0125fd1dbbb68a14f905b2df8e6af1bf7a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: p95-0.14.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.8 {"installer":{"name":"uv","version":"0.11.8","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.14.0-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d6bb353db41ebba3b6605a7202842e5c3bc5910137697befff1533fb3a8248c7
MD5 de2e60040227b3fecdd3e6511a0a7217
BLAKE2b-256 8a253c16a27ea0e14c6f9a9d6977abc9f97e09f025c6ab6e2456cc8626a48b26

See more details on using hashes here.

File details

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

File metadata

  • Download URL: p95-0.14.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.8 {"installer":{"name":"uv","version":"0.11.8","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.14.0-py3-none-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 ae79d86e9671c4e5cb9abbb7c694a5e76b4680c07a15c66563c0d0bf422d0f70
MD5 52bab48e914ed2c67286fe89f15e344a
BLAKE2b-256 1f13b6032f7d873a9c1320b2600ad381d0cafde0f99ed4292f351f7e30ba5601

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