Skip to main content

Utility tool providing extended functionality for W&B (Weights & Biases)

Project description

wandb-util

A utility tool providing extended functionality for W&B (Weights & Biases).

Installation

pip install wandb-util

Features

run - Manage W&B runs

# List runs in a project
wandb-util -e <entity> -p <project> run list [--limit 10]

log - Manage W&B logs

# Display run summary metrics (filtered by prefix)
wandb-util -e <entity> -p <project> log metrics <run_id> [--prefix eval/]

# Show training history
wandb-util -e <entity> -p <project> log metrics <run_id> --history [--last 10]

# Filter by specific keys
wandb-util -e <entity> -p <project> log metrics <run_id> --keys loss,accuracy

# Display run output (stdout/stderr)
wandb-util -e <entity> -p <project> log output <run_id>

# Show only last N lines of output
wandb-util -e <entity> -p <project> log output <run_id> --tail 50

# Save output to file
wandb-util -e <entity> -p <project> log output <run_id> --output run.log

artifact - Manage W&B artifacts

# List artifacts for a run
wandb-util -e <entity> -p <project> artifact list <run_id>

# Download an artifact
wandb-util -e <entity> -p <project> artifact download <artifact_path>

Global Options

  • -e, --entity TEXT - W&B entity (username or team). Defaults to the entity inferred from ~/.netrc credentials
  • -p, --project TEXT - W&B project name [required]

Authentication

wandb-util automatically reads API credentials from ~/.netrc:

machine api.wandb.ai
  login user
  password <your_api_token>

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 Distribution

wandb_util-1.2.0.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wandb_util-1.2.0-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file wandb_util-1.2.0.tar.gz.

File metadata

  • Download URL: wandb_util-1.2.0.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.14

File hashes

Hashes for wandb_util-1.2.0.tar.gz
Algorithm Hash digest
SHA256 5105a34571cdf39bd6e345b6fddbce8d9c316bad3d2713cb6b8b0d16753a7dba
MD5 f17cb5408794b144e4833be5c1e83ca1
BLAKE2b-256 069553a854ffe4b06957c2b759ee32a0c37033a205d6a5ead7001806b9c1b244

See more details on using hashes here.

File details

Details for the file wandb_util-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: wandb_util-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 7.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.14

File hashes

Hashes for wandb_util-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f66322b19f4a934ed026d210a2c3a9b74e581390052703dcfa3f509850bf7541
MD5 3f3a7dd98d015ad1a2d0d09add0e70e4
BLAKE2b-256 5de2790123e48488e52a77dcfc65b51834fb3f94e1bbd9a69a47f84cdaa26444

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