A library for programatically working with the Weights & Biases UI.
Project Links
Meta
Author: Weights & Biases
Requires Python: ~=3.9
Classifiers
Development Status
- 5 - Production/Stable
Intended Audience
- Developers
- Science/Research
License
- OSI Approved :: MIT License
Natural Language
- English
Programming Language
- Python :: 3
- Python :: 3 :: Only
- Python :: 3.9
- Python :: 3.10
- Python :: 3.11
- Python :: 3.12
Topic
- Scientific/Engineering :: Artificial Intelligence
- Software Development :: Libraries :: Python Modules

wandb-workspaces
wandb-workspaces is a Python library for programatically working with Weights & Biases workspaces and reports. This feature is in Public Preview.
Quickstart
1. Install
pip install wandb-workspaces
OR, you can install this as an extra from the wandb library:
pip install wandb[workspaces]
2. Create a workspace
import wandb_workspaces.workspaces as ws
import wandb_workspaces.reports.v2 as wr
workspace = ws.Workspace(
name="Example W&B Workspace",
entity="your-entity",
project="your-project",
sections=[
ws.Section(
name="Validation Metrics",
panels=[
wr.LinePlot(x="Step", y=["val_loss"]),
wr.BarPlot(metrics=["val_accuracy"]),
wr.ScalarChart(metric="f1_score", groupby_aggfunc="mean"),
],
is_open=True,
),
],
).save()
3. Create a report
import wandb_workspaces.reports as wr
report = wr.Report(
entity="your-entity",
project="your-project",
title="Example W&B Report",
blocks=[
wr.H1("This is a heading"),
wr.P("Some amazing insightful text about your project"),
wr.H2(
"This heading is collapsed",
collapsed_blocks=[wr.P("Our model is great!")],
),
wr.PanelGrid(
panels=[
wr.LinePlot(x="Step", y=["val_loss"]),
wr.BarPlot(metrics=["val_accuracy"]),
wr.ScalarChart(metric="f1_score", groupby_aggfunc="mean"),
]
),
],
).save()
More examples
See examples for more detailed usage.
0.3.9
Mar 31, 2026
0.3.8
Mar 25, 2026
0.3.7
Mar 18, 2026
0.3.6
Mar 16, 2026
0.3.5
Feb 26, 2026
0.3.4
Jan 22, 2026
0.3.3
Jan 07, 2026
0.3.2
Jan 07, 2026
0.3.1
Dec 18, 2025
0.3.0
Dec 01, 2025
0.2.1
Nov 05, 2025
0.2.0
Nov 05, 2025
0.1.19
Oct 06, 2025
0.1.18
Sep 05, 2025
0.1.17
Aug 27, 2025
0.1.16
Jun 17, 2025
0.1.15
Jun 06, 2025
0.1.14
Apr 01, 2025
0.1.13
Mar 19, 2025
0.1.12
Feb 17, 2025
0.1.11
Feb 10, 2025
0.1.10
Jan 29, 2025
0.1.9
Jan 29, 2025
0.1.8
Jul 08, 2024
0.1.7
Jun 21, 2024
0.1.6
Jun 07, 2024
0.1.5
Jun 03, 2024
0.1.4
Jun 03, 2024