A command-line tool for managing Weights & Biases (W&B) training logs
Project description
WandB Logger
A sleek CLI tool that transforms how you work with Weights & Biases. Create your training report in a single-line command!
WandB Logger App is a sleek command-line tool that transforms how you work with Weights & Biases. Create beautiful, shareable reports of your ML experiments in seconds.
🚀 Key Features
WandB Logger offers two powerful ways to quickly access your experiments:
🔍 Find Your Experiments Without URLs
No more searching for run URLs or project names! WandB Logger makes finding your experiments effortless:
# Browse your recent projects
wandb-logger recent
# Browse your recent runs across all projects
wandb-logger recent-runs
This dual approach lets you quickly navigate through your work at both the project and individual run level - a huge productivity boost!
✨ Features
- 🔐 Simple Authentication - Quick login with WandB credentials
- 📈 Beautiful Visualizations - Fetch stunning graphs from any WandB run
- 📝 Markdown Reports - Generate elegant reports for easy sharing and embedding
- ⚡ Lightning Fast - Parallel processing and caching make everything snappy
- 🧠 Smart Metric Handling - Intelligently organizes complex metric paths
- 🎯 Interactive Selection - Pick exactly which metrics matter to you
🚀 Installation
# Install from PyPI
pip install wandb-logger-app
# Or install from source
git clone https://github.com/yourusername/wandb-logger-app.git
cd wandb-logger-app
pip install -e .
🏁 Quick Start
# Login to your WandB account
wandb-logger login
# MAIN WORKFLOWS:
# 1. Browse your recent PROJECTS (find the project you're looking for)
wandb-logger recent
# 2. Browse your recent RUNS (find the specific run you need)
wandb-logger recent-runs
# 3. Once you have a run URL, fetch detailed metrics
wandb-logger fetch https://wandb.ai/username/project/runs/run_id --select
📖 Commands
Main Commands
| Command | Description | When to use |
|---|---|---|
recent |
Browse and select from recent projects | When you remember the project name but not specific runs |
recent-runs |
Browse and select from recent runs | When you want to find a specific run without knowing its URL |
fetch URL |
Fetch details for a specific run URL | When you already have the run URL and want to analyze specific metrics |
Options and Filters
| Command | Key Options |
|---|---|
recent |
--limit (default: 10)--select (interactive selection) |
recent-runs |
--project (filter by project)--entity (filter by username/org)--max-projects (default: 3)--all-projects (fetch from all projects) |
fetch URL |
--select (enabled by default)--all (fetch all metrics without selection)--metrics (specify comma-separated metrics)--force-refresh (bypass cache) |
metrics URL |
--force-refresh (bypass cache) |
cache |
--clear (free disk space) |
🎨 Interactive Metric Selection
The fetch command now defaults to interactive selection mode:
- Default Mode (interactive selection):
# Opens an interactive menu to choose specific metrics
wandb-logger fetch https://wandb.ai/username/project/runs/run_id
- All Metrics Mode (with
--all):
# Fetches and plots ALL available metrics
wandb-logger fetch https://wandb.ai/username/project/runs/run_id --all
Select exactly what you want in your reports:
Available metrics:
1. [X] train/loss
2. [X] train/accuracy
3. [ ] validation/loss
4. [ ] validation/accuracy
Command (Type number to toggle, 'a'=all, 'n'=none, 'done'=finish):
📋 Example Workflows
Tracking a Training Run
# Login first
wandb-logger login
# Fetch your latest run and create a report
wandb-logger recent --limit 1 --select
Creating a Project Report
# Fetch multiple specific runs
wandb-logger fetch https://wandb.ai/username/project/runs/run_1
wandb-logger fetch https://wandb.ai/username/project/runs/run_2
# List your saved reports
wandb-logger list
🔍 Report Outputs
For each run, you'll get:
<run_name>.md: Clean report with selected metrics and graphsmetadata.md: Detailed configuration and all run information- Graph PNGs: Individual visualizations for each metric
🚀 Performance Features
- ⚡ Caching: Blazing fast repeated access to run data
- ⚙️ Parallel Processing: Generates multiple graphs simultaneously
- 📊 Optimized Visualizations: Beautiful graphs with minimal code
- 🧠 Smart Organization: Automatic categorization of complex metrics
🛠️ Requirements
- Python 3.8+
- WandB account
⭐ Support
Like this project? Please give it a star on GitHub to show your support and help others discover it!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wandb_logger-0.1.0.tar.gz.
File metadata
- Download URL: wandb_logger-0.1.0.tar.gz
- Upload date:
- Size: 186.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e6d4b0fd2fe6218ad908d842f728df92e40f0a55002b242bea9258b1b22db355
|
|
| MD5 |
467b1c4e554b549e96717bc2fb300d2f
|
|
| BLAKE2b-256 |
61b02b2a6ac1bd84c9771ef3fa1141d393dd03743c6c0de598f7120ec44ba454
|
File details
Details for the file wandb_logger-0.1.0-py3-none-any.whl.
File metadata
- Download URL: wandb_logger-0.1.0-py3-none-any.whl
- Upload date:
- Size: 188.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e26948fe120e0172b0f1d4dfb8a031bf0515406c630e603fd9f7be15bba1a2de
|
|
| MD5 |
3fe37bce8c4a4d2ed77a7fc888ffe204
|
|
| BLAKE2b-256 |
5cfdccde358a53fd8e6c3e58c38084436011aa4782e9b57c75fd4eadfc0e02b8
|