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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3musllinux: musl 1.2+ x86-64

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

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

Uploaded Python 3

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

Uploaded Python 3

p95-0.9.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.9.0-py3-none-win_amd64.whl.

File metadata

  • Download URL: p95-0.9.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.6 {"installer":{"name":"uv","version":"0.11.6","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.9.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 5c5b642a50ec0bb967b2cd40b373c5e12cbb654a3b6c4b5abd6015d9c8a3359a
MD5 dc28de821780c12011815a7ac58460fa
BLAKE2b-256 451668387953ec565c3062955764d3497fe22f39114f8cc2aa342afd64b6f4bc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: p95-0.9.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.6 {"installer":{"name":"uv","version":"0.11.6","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.9.0-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 fdad4ef8dc678794f775f80878c140b2f348a6a29cdfc134ee7764895327eb09
MD5 e6cbc53f1e63372f262e09a03a6c1bad
BLAKE2b-256 b3e5b56f28505bcebeafed5f29ee19f496ba2e280b16108936fb339ac0ae8fc6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: p95-0.9.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.6 {"installer":{"name":"uv","version":"0.11.6","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.9.0-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 b4b23e4343679a5598fd44fdc131f91cb99e1adb8c588a8a55fd9afa86fb4f40
MD5 244e4c236a8067ddd827d4cb8d4a572b
BLAKE2b-256 73acf402723964aefeb14e19e96128e3afc3fd9aeecd7529fcba74618a5a78c4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: p95-0.9.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.6 {"installer":{"name":"uv","version":"0.11.6","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.9.0-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f1649f2b021c1dec47692ba4d7d349b6ea067b029a98fb5dd7c71d2e6564ca8a
MD5 4162d7f5c22c7f5eb385075dbcd2822d
BLAKE2b-256 4f9807209b88f7355714748756f59a5da2b119e0f0385b3f4b4dc233ecd20d6e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: p95-0.9.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.6 {"installer":{"name":"uv","version":"0.11.6","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.9.0-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 506959400007aaee71996351dd89f99979978cad7dd88bc4da2e89b9610082a8
MD5 2ae334ee12ebc7b6cdc57974c05cba42
BLAKE2b-256 9770e0db1e20e2f53f1be49b570c109811c72549300ba020938be2ec0f57f27e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: p95-0.9.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.6 {"installer":{"name":"uv","version":"0.11.6","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.9.0-py3-none-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 345c0f2747e42b4e11e59c15225ca16cc2cf1ca6cc3b24f44ef946e468712b2f
MD5 263338b1f98853ed2aac3a88aa2aae92
BLAKE2b-256 c620fa761797a501c41742b89e1de9a5aaec66a30c29ddf247e0826ad89c9fd7

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