A library for programatically working with the Weights & Biases UI.
Project description
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
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.
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_workspaces-0.2.1.tar.gz.
File metadata
- Download URL: wandb_workspaces-0.2.1.tar.gz
- Upload date:
- Size: 183.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
772d16d21e3ed86dc3a2c8351b1e326dca42f67622236e406ff13421c8f3e6fe
|
|
| MD5 |
24682f748d7a378f70c7a5f9aca61b9d
|
|
| BLAKE2b-256 |
59d3fce5adfa563b031540d876315fda1133d1923c6f69dfc0b96e0f5a023ee5
|
Provenance
The following attestation bundles were made for wandb_workspaces-0.2.1.tar.gz:
Publisher:
auto-release.yml on wandb/wandb-workspaces
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
wandb_workspaces-0.2.1.tar.gz -
Subject digest:
772d16d21e3ed86dc3a2c8351b1e326dca42f67622236e406ff13421c8f3e6fe - Sigstore transparency entry: 673026083
- Sigstore integration time:
-
Permalink:
wandb/wandb-workspaces@8a15aa434909eb3cd58e9fc156a7007c59a6275c -
Branch / Tag:
refs/heads/main - Owner: https://github.com/wandb
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
auto-release.yml@8a15aa434909eb3cd58e9fc156a7007c59a6275c -
Trigger Event:
push
-
Statement type:
File details
Details for the file wandb_workspaces-0.2.1-py3-none-any.whl.
File metadata
- Download URL: wandb_workspaces-0.2.1-py3-none-any.whl
- Upload date:
- Size: 88.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
57b5434977c8a98e5049b88eca6774559df35974cbe6240fa0c0bc6337e24699
|
|
| MD5 |
280981a3d0b7a81eff15b786f6b334a4
|
|
| BLAKE2b-256 |
3b1ed31ad23fd99b3be9963b002c80578b33119214cfa35797caa5d8acadeb2a
|
Provenance
The following attestation bundles were made for wandb_workspaces-0.2.1-py3-none-any.whl:
Publisher:
auto-release.yml on wandb/wandb-workspaces
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
wandb_workspaces-0.2.1-py3-none-any.whl -
Subject digest:
57b5434977c8a98e5049b88eca6774559df35974cbe6240fa0c0bc6337e24699 - Sigstore transparency entry: 673026175
- Sigstore integration time:
-
Permalink:
wandb/wandb-workspaces@8a15aa434909eb3cd58e9fc156a7007c59a6275c -
Branch / Tag:
refs/heads/main - Owner: https://github.com/wandb
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
auto-release.yml@8a15aa434909eb3cd58e9fc156a7007c59a6275c -
Trigger Event:
push
-
Statement type: