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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3musllinux: musl 1.2+ x86-64

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

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

Uploaded Python 3

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

Uploaded Python 3

p95-0.4.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.4.0-py3-none-win_amd64.whl.

File metadata

  • Download URL: p95-0.4.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.2 {"installer":{"name":"uv","version":"0.10.2","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.4.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 2d81b1c4968072d65ab070666b9b3790ccc2bc91cb210e4fe664f2ed06623aee
MD5 f075fb731b2d7d0b308c55fb3bf61bfb
BLAKE2b-256 8babf187c9227b58fbd5506a292ab6cfefac6de3279260d000fb0689985589aa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: p95-0.4.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.2 {"installer":{"name":"uv","version":"0.10.2","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.4.0-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 14708082612e98f0d593db55650fb164601c04e5ad0ce7c7687a5e74bc979a24
MD5 de23817a391318e65e0b101620143740
BLAKE2b-256 27895faf04b0c1ee556cdc0957290ead7b43611a48ad32dd1cf2dc72bbc9b49f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: p95-0.4.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.2 {"installer":{"name":"uv","version":"0.10.2","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.4.0-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 73f0e10cc4f7a47db1b8161456c330ed41ded941eeff6aaba90acfa82eefb8de
MD5 3490d652bf2cd843b7f1b13609a8208a
BLAKE2b-256 e5c43c6fc90eb29428bbb3013751c504c89c9aad39283d7be28086f34327b02a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: p95-0.4.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.2 {"installer":{"name":"uv","version":"0.10.2","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.4.0-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ee6d9e7f0327d5646c3872b3acda155df51fa46ad557c05b72ce626b31a77b45
MD5 b94980e29a4a200f23106441048b2141
BLAKE2b-256 6440b6d8fd0cd52ce2506a7bd337bd2d247c4aa138a9817dce9a91c6c52beb26

See more details on using hashes here.

File details

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

File metadata

  • Download URL: p95-0.4.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.2 {"installer":{"name":"uv","version":"0.10.2","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.4.0-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 2536a2076e9924e41775178b17fdb630d59b7257d56bab237e429506b7cf7e06
MD5 17fe435b3a56b49001be432ec29dc1b9
BLAKE2b-256 07a3892a86c8575c20b026163a8d996d8d630bd6345110cee2cc681d91e744a1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: p95-0.4.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.2 {"installer":{"name":"uv","version":"0.10.2","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.4.0-py3-none-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 5acaf1bb749106df52c7bd09a172d31e86d5d12926f95c077bce744dd6d426c5
MD5 f6b3a4f9c66918b7d58c238eeef5ed55
BLAKE2b-256 3f42810e9202954cfaa53478aeacfed6ea844fd4113b630f943b0cdfbc1958a2

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