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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3musllinux: musl 1.2+ x86-64

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

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

Uploaded Python 3

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

Uploaded Python 3

p95-0.13.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.13.0-py3-none-win_amd64.whl.

File metadata

  • Download URL: p95-0.13.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.7 {"installer":{"name":"uv","version":"0.11.7","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.13.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 c86e4f6cf8526c5334b3a25b6c03230205d3f5a3c33fe74d6fe15380e45d50f5
MD5 e5f7710503064058fde616922bd696a5
BLAKE2b-256 d67e8462bdc59ddf12ad20483e509b8e606bcfd8704cc6aace2dcf71892a375f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: p95-0.13.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.7 {"installer":{"name":"uv","version":"0.11.7","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.13.0-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 855f1e740243135c6d7d999529a77de11b242175e14d56239886a64ab3518496
MD5 71c7652a6d38e2ec74d74a2a251eeec2
BLAKE2b-256 801c023f7c42a5f65a0feca51fcdf49f616feb838e1ddf21c347760cad1a2d1d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: p95-0.13.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.7 {"installer":{"name":"uv","version":"0.11.7","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.13.0-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 f120cd79af16e0a59cbec342f9581314e81996dae344f6b80fa14d03d025de23
MD5 390184a5fbbb97540279ec2cec96edd9
BLAKE2b-256 bfe95c21f4fc584ba93c706a2cbd0068b64d9ce397d3816703eb521b9cff5dfd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: p95-0.13.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.7 {"installer":{"name":"uv","version":"0.11.7","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.13.0-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c7c377893d6aff940682be8c5844c5bd8717e7f63a76026828141ae4ceea9742
MD5 a17b98da3c2dad9f04391bccaf2a71fa
BLAKE2b-256 23d0dc0bd31da4c7a206c28a26c2b2872146809c1378b877c9359abc0a1fbec4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: p95-0.13.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.7 {"installer":{"name":"uv","version":"0.11.7","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.13.0-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 9d116c4f8c4fb794dd8a39f010f6f0f24b7094812e43b8332a702dd541f70fc8
MD5 cdd20668ba113606b3b7b804db95e8cf
BLAKE2b-256 ea16a6331a12f94c5875f2e8df65d60fdb41f7c635c33f45380f9d38dbf7a65f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: p95-0.13.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.7 {"installer":{"name":"uv","version":"0.11.7","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.13.0-py3-none-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 4ed8e3e398a2d3569035878c96016f2507206a383d4a7bea1e413417161cfe01
MD5 59eb738c12648c1eb506397103d327ee
BLAKE2b-256 dcb3a15d051519ab3ec7b96543a20d5be93dea2113cdc38fa68389b1702ab26b

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