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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3musllinux: musl 1.2+ x86-64

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

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

Uploaded Python 3

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

Uploaded Python 3

p95-0.15.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.15.0-py3-none-win_amd64.whl.

File metadata

  • Download URL: p95-0.15.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.15.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 097a7492969f1663d6cee637ccc3a4477e6a1927e27c57c50f596a453768ce9a
MD5 7259c68a4e7f945af516bdffdfacb048
BLAKE2b-256 c90a9d4c9ee14869a8fcf704f4d84b6c44bffdd29063b3c97297d1bb8a743751

See more details on using hashes here.

File details

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

File metadata

  • Download URL: p95-0.15.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.15.0-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d234d2054e4689dd20a202ba605eeb591a53983e9c0bcca54752686f436b147d
MD5 15ddc280efa8fd844fa2687e2109fe54
BLAKE2b-256 e6808b25a35125e161825b6c27e814b02e6e810eab2f03c84d34626d4dde226e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: p95-0.15.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.15.0-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 d782a167d6423440b5b7ebfa8aeee0d21d046a1253b365b48c9b40b4a8fb6e6a
MD5 08b4df612c0b286248ee89337196fdbe
BLAKE2b-256 1cda4785508b0b328f808a1df07cd3c6607762cb7d08dbc3ab19b701e76d3338

See more details on using hashes here.

File details

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

File metadata

  • Download URL: p95-0.15.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.15.0-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3c5646d236b568390f1478024c329fad3b4e67de6676e8c2d1435e36c507e4e2
MD5 b39e8008e904f2102b7bc4b7ca840ec4
BLAKE2b-256 2c368051d253c71ce2adbc901c89a0b2449b529c91e2bc97574ead398e76bb8a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: p95-0.15.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.15.0-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c0ed726dc83686461c7490b0c617688cdc76f07dc8286b794044da74a0d45c41
MD5 1fdb879c5e34a0a4919679ae9cf016f6
BLAKE2b-256 9baa8e6a57d227492fa4b64bf1b37f7ccafc01f5343e853ba1fa8a16399626a1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: p95-0.15.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.15.0-py3-none-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 dd9156574650d5b287f1adfed9deb66c8d313eda142a291d0f46d8942860d2f6
MD5 0eb93a26855ade234337945d54f49aac
BLAKE2b-256 4fb695087c7d5acbd0c955c30ce065fc6c7a20ae3c6de62c014353566123ea2e

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