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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file p95-0.6.0-py3-none-win_amd64.whl.
File metadata
- Download URL: p95-0.6.0-py3-none-win_amd64.whl
- Upload date:
- Size: 5.5 MB
- Tags: Python 3, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
10de93e6fdc320c518c3f8a913d296dcb52e96b60821a7fe15442cc726cff49d
|
|
| MD5 |
095cd1af975256189bf8beee0b08a41d
|
|
| BLAKE2b-256 |
7f8647f2b4ef81aaf3848cab1409ebefd9dd1e78c15edfa89b397dea395485e9
|
File details
Details for the file p95-0.6.0-py3-none-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: p95-0.6.0-py3-none-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 10.4 MB
- Tags: Python 3, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
85a25f34182ca25d3394d30db94ea753cafcc1e04d1a7c67a888c3bc76af68ca
|
|
| MD5 |
c68e2d7dd9e3aa67d30a12af99845aa9
|
|
| BLAKE2b-256 |
22d3861a6f1461ab5f44ec29793e89b8d799c65ea8628ba95903e623b047cc42
|
File details
Details for the file p95-0.6.0-py3-none-musllinux_1_2_aarch64.whl.
File metadata
- Download URL: p95-0.6.0-py3-none-musllinux_1_2_aarch64.whl
- Upload date:
- Size: 10.4 MB
- Tags: Python 3, musllinux: musl 1.2+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f277bea9a7be96c851da5dbedca1279aaee8d3c64e61119c2e92120232eea5d5
|
|
| MD5 |
81dfa76066a2f47e431ef1bc1556a260
|
|
| BLAKE2b-256 |
e3aa84f562c9fb2ebcd7b86b2671cdef763f6d282f75bf85864501a49b7bbee7
|
File details
Details for the file p95-0.6.0-py3-none-manylinux2014_x86_64.whl.
File metadata
- Download URL: p95-0.6.0-py3-none-manylinux2014_x86_64.whl
- Upload date:
- Size: 10.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2f452d6ac9ef03e141dfb27a774436d285b8fe9ae5426bab6303b896409743cf
|
|
| MD5 |
b487e2664bb0d5dd4c0a654db166e5ef
|
|
| BLAKE2b-256 |
ee199bd8d0c2b1703849dfb597c19930b3922893bd6ecf78c0d2f25f72b6ca4a
|
File details
Details for the file p95-0.6.0-py3-none-manylinux2014_aarch64.whl.
File metadata
- Download URL: p95-0.6.0-py3-none-manylinux2014_aarch64.whl
- Upload date:
- Size: 10.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa86e28a9bdb9d53e04077891149924bb3a36a5cdb86b1dca4c1b619caee0aed
|
|
| MD5 |
31be40fcefd29df946e7c4ba5f4b5cf0
|
|
| BLAKE2b-256 |
b23bbcdbab7ba5a0e98375eb31b586814cc7ac9a7b874477986d70b620a52903
|
File details
Details for the file p95-0.6.0-py3-none-macosx_10_13_universal2.whl.
File metadata
- Download URL: p95-0.6.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.9 {"installer":{"name":"uv","version":"0.10.9","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
10e29994504eeb125d1f6c585c7f042f48978b831a66e862de7c7a30e36a451d
|
|
| MD5 |
a1158e0c0e215b3581681603ed913bf9
|
|
| BLAKE2b-256 |
c49364ef5b32e73e440c8010883416757a25f259f14c785f77534eeea91f79c3
|