Skip to main content

W&B SDK extension to fetch runs for further analysis.

Project description

wbx

A Weight & Biases extension to fetch runs for further analysis.

Installation

pip install wbx

Usage

Get projects first

import wandb
from wbx import WBX


api = wandb.Api()
entity = "you-entity"

wbx = WBX(api, entity)
projects = wbx.list_projects(quick_see=True, max_val=10)

Then get runs from a specific project

project_name = "your-project-name"
wbx.list_configs(project_name)  # list all configs from runs in the project (for further filtering useless configs)

config_to_use = ["config1", "config2"]

runs_df = wbx.get_runs(
    project_name,
    group_keys=config_to_use,
    summary_keys=None,
    json_encode_non_scalars=False
)

After that, you can do analysis based on the runs_df DataFrame.

Or you can save it as a parquet file for later use.

wbx.to_parquet(runs_df, path="path/to/your/folder")

Contributing

Feel free to submit issues or pull requests.

License

MIT License. See LICENSE file for details.

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

wbx-0.1.0.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

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

wbx-0.1.0-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file wbx-0.1.0.tar.gz.

File metadata

  • Download URL: wbx-0.1.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for wbx-0.1.0.tar.gz
Algorithm Hash digest
SHA256 34ca6ace31fec3b0fef995724db2a48d85c0883f29788e625119de3d9ceba5b2
MD5 60cf76bb11dd23bbc7f47122cc36167c
BLAKE2b-256 881b392c181a0478f7e79d348cabc110e325e43471bc1bef68e2a674550efbef

See more details on using hashes here.

File details

Details for the file wbx-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: wbx-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for wbx-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e17cde418eac2fa3dffbf87d55bebaf46a04d117041b5688d81413303005bf96
MD5 ec8924a6abf7f0ce738876234d481d4f
BLAKE2b-256 5dee88e94908fce6d6e0a3a42991ec4b92c15f7de8d8c823d6caeafc59803398

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