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

Uploaded Python 3Windows x86-64

p95-0.7.0-py3-none-musllinux_1_2_x86_64.whl (10.4 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

p95-0.7.0-py3-none-musllinux_1_2_aarch64.whl (10.4 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

p95-0.7.0-py3-none-manylinux2014_x86_64.whl (10.4 MB view details)

Uploaded Python 3

p95-0.7.0-py3-none-manylinux2014_aarch64.whl (10.4 MB view details)

Uploaded Python 3

p95-0.7.0-py3-none-macosx_10_13_universal2.whl (5.2 MB view details)

Uploaded Python 3macOS 10.13+ universal2 (ARM64, x86-64)

File details

Details for the file p95-0.7.0-py3-none-win_amd64.whl.

File metadata

  • Download URL: p95-0.7.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

Hashes for p95-0.7.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 dcf6871f7a848bd1e26001e4b97c5aca60680fbd7d26301589e67a259a98f427
MD5 d7f10931f4cd6de3aea827012b0722ae
BLAKE2b-256 7d8c3c02746257d6a31e7853eb36fbf6dc532d6edf88340b1f48ad55ff4917b8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: p95-0.7.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

Hashes for p95-0.7.0-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 66ee65b1d38d4631bb86066284dd7372d0f1367f78b301185751dded26be1386
MD5 94e64c2a97b5f85b5b98252fb86bb907
BLAKE2b-256 fd207d4c6a8092cc895fcc875032e89b6e4d7f0c793274b4218c97554be78964

See more details on using hashes here.

File details

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

File metadata

  • Download URL: p95-0.7.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

Hashes for p95-0.7.0-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 974d60f179ca7fd7ec6a4bc2c6f4adf98d7beb966d62d47920478e52165d3107
MD5 96f1ae2737c5743f40d02479effc4ce7
BLAKE2b-256 7aa0d6f838c5235f482156ecf663f2a7650f1f97f87c66ae9f2856f30be5d2eb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: p95-0.7.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

Hashes for p95-0.7.0-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7b99f2c3194a83ca5073a9116e5f6ce0198ab71630c6b6ea9c3f3944136be8eb
MD5 b8333fe2088427b4cc1d8613e3b8f9be
BLAKE2b-256 1615e105f78be82a690f76e253b8d8b9aedc0b19b2a49b1b70b0a4095f3cc9b6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: p95-0.7.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

Hashes for p95-0.7.0-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 067044de667200cbd879168a166934242e9c70c6f9ade69bd4ec159873fa7882
MD5 d7804e4c73f876bfb06ee229a3f5fddf
BLAKE2b-256 04ee87f0d829574394126350fef5a0076ab8393f19c727fa8e0bd28aa7562d19

See more details on using hashes here.

File details

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

File metadata

  • Download URL: p95-0.7.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

Hashes for p95-0.7.0-py3-none-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 378cf763f776a97c7089ecdc207a1a2c8b6e2775d771b56f49368367434da20a
MD5 ad38724033ff811c636622adc3cc4cd9
BLAKE2b-256 2f893772fbd98f962ff7ec6aaffb1d23abb340421294ebd87f6c076cce2a003b

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