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
Metadata
Release files for p95 0.15.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| p95-0.15.0-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details |
| p95-0.15.0-py3-none-musllinux_1_2_x86_64.whl | Python 3 | none | Linux musl 1.2+ x86-64 | Details |
| p95-0.15.0-py3-none-musllinux_1_2_aarch64.whl | Python 3 | none | Linux musl 1.2+ ARM64 | Details |
| p95-0.15.0-py3-none-manylinux2014_x86_64.whl | Python 3 | none | Linux glibc 2.17+ x86-64 | Details |
| p95-0.15.0-py3-none-manylinux2014_aarch64.whl | Python 3 | none | Linux glibc 2.17+ ARM64 | Details |
| p95-0.15.0-py3-none-macosx_10_13_universal2.whl | Python 3 | none | macOS 10.13+ universal2 (ARM64, x86-64) | Details |
Total release size: 53.0 MB
Release files / p95-0.15.0-py3-none-win_amd64.whl
| Download URL | p95-0.15.0-py3-none-win_amd64.whl |
|---|---|
| Size | 5.6 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
097a7492969f1663d6cee637ccc3a4477e6a1927e27c57c50f596a453768ce9a
|
|
BLAKE2b-256 checksum How to use checksums |
c90a9d4c9ee14869a8fcf704f4d84b6c44bffdd29063b3c97297d1bb8a743751
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Release files / p95-0.15.0-py3-none-musllinux_1_2_x86_64.whl
| Download URL | p95-0.15.0-py3-none-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 10.5 MB |
| Tags | Linux musl 1.2+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
d234d2054e4689dd20a202ba605eeb591a53983e9c0bcca54752686f436b147d
|
|
BLAKE2b-256 checksum How to use checksums |
e6808b25a35125e161825b6c27e814b02e6e810eab2f03c84d34626d4dde226e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Release files / p95-0.15.0-py3-none-musllinux_1_2_aarch64.whl
| Download URL | p95-0.15.0-py3-none-musllinux_1_2_aarch64.whl |
|---|---|
| Size | 10.5 MB |
| Tags | Linux musl 1.2+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
d782a167d6423440b5b7ebfa8aeee0d21d046a1253b365b48c9b40b4a8fb6e6a
|
|
BLAKE2b-256 checksum How to use checksums |
1cda4785508b0b328f808a1df07cd3c6607762cb7d08dbc3ab19b701e76d3338
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Release files / p95-0.15.0-py3-none-manylinux2014_x86_64.whl
| Download URL | p95-0.15.0-py3-none-manylinux2014_x86_64.whl |
|---|---|
| Size | 10.5 MB |
| Tags | Linux glibc 2.17+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
3c5646d236b568390f1478024c329fad3b4e67de6676e8c2d1435e36c507e4e2
|
|
BLAKE2b-256 checksum How to use checksums |
2c368051d253c71ce2adbc901c89a0b2449b529c91e2bc97574ead398e76bb8a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Release files / p95-0.15.0-py3-none-manylinux2014_aarch64.whl
| Download URL | p95-0.15.0-py3-none-manylinux2014_aarch64.whl |
|---|---|
| Size | 10.5 MB |
| Tags | Linux glibc 2.17+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
c0ed726dc83686461c7490b0c617688cdc76f07dc8286b794044da74a0d45c41
|
|
BLAKE2b-256 checksum How to use checksums |
9baa8e6a57d227492fa4b64bf1b37f7ccafc01f5343e853ba1fa8a16399626a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Release files / p95-0.15.0-py3-none-macosx_10_13_universal2.whl
| Download URL | p95-0.15.0-py3-none-macosx_10_13_universal2.whl |
|---|---|
| Size | 5.3 MB |
| Tags | Python 3 macOS 10.13+ universal2 (ARM64, x86-64) |
|
SHA-256 checksum How to use checksums |
dd9156574650d5b287f1adfed9deb66c8d313eda142a291d0f46d8942860d2f6
|
|
BLAKE2b-256 checksum How to use checksums |
4fb695087c7d5acbd0c955c30ce065fc6c7a20ae3c6de62c014353566123ea2e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|