Skip to main content

A CLI and library for interacting with the Weights & Biases API.

Project description



Weights and Biases PyPI Conda (channel only) CircleCI Codecov

Use W&B to build better models faster. Track and visualize all the pieces of your machine learning pipeline, from datasets to production machine learning models. Get started with W&B today, sign up for an account!

See the W&B Developer Guide and API Reference Guide for a full technical description of the W&B platform.

 

Quickstart

Get started with W&B in four steps:

  1. First, sign up for a W&B account.

  2. Second, install the W&B SDK with pip. Navigate to your terminal and type the following command:

pip install wandb
  1. Third, log into W&B:
wandb.login()
  1. Use the example code snippet below as a template to integrate W&B to your Python script:
import wandb

# Start a W&B Run with wandb.init
run = wandb.init(project="my_first_project")

# Save model inputs and hyperparameters in a wandb.config object
config = run.config
config.learning_rate = 0.01

# Model training code here ...

# Log metrics over time to visualize performance with wandb.log
for i in range(10):
    run.log({"loss": ...})

# Mark the run as finished, and finish uploading all data
run.finish()

For example, if the preceding code was stored in a script called train.py:

python train.py

You will see a URL in your terminal logs when your script starts and finishes. Data is staged locally in a directory named wandb relative to your script. Navigate to the W&B App to view a dashboard of your first W&B Experiment. Use the W&B App to compare multiple experiments in a unified place, dive into the results of a single run, and much more!

 

Integrations

Use your favorite framework with W&B. W&B integrations make it fast and easy to set up experiment tracking and data versioning inside existing projects. For more information on how to integrate W&B with the framework of your choice, see W&B Integrations in the W&B Developer Guide.

 

Python Version Support

We are committed to supporting our minimum required Python version for at least six months after its official end-of-life (EOL) date, as defined by the Python Software Foundation. You can find a list of Python EOL dates here.

When we discontinue support for a Python version, we will increment the library’s minor version number to reflect this change.

 

Contribution guidelines

Weights & Biases ❤️ open source, and we welcome contributions from the community! See the Contribution guide for more information on the development workflow and the internals of the wandb library. For wandb bugs and feature requests, visit GitHub Issues or contact support@wandb.com.

 

Academic Researchers

Reach out to W&B Support at support@wandb.com to get a free academic license for you and your research group.

 

W&B Community

Be a part of the growing W&B Community and interact with the W&B team in our Discord. Stay connected with the latest ML updates and tutorials with W&B Fully Connected.

 

License

MIT License

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

wandb-0.20.1rc20250604.tar.gz (40.4 MB view details)

Uploaded Source

Built Distributions

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

wandb-0.20.1rc20250604-py3-none-win_amd64.whl (22.5 MB view details)

Uploaded Python 3Windows x86-64

wandb-0.20.1rc20250604-py3-none-win32.whl (22.5 MB view details)

Uploaded Python 3Windows x86

wandb-0.20.1rc20250604-py3-none-musllinux_1_2_x86_64.whl (23.2 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

wandb-0.20.1rc20250604-py3-none-musllinux_1_2_aarch64.whl (21.6 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

wandb-0.20.1rc20250604-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (23.2 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

wandb-0.20.1rc20250604-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (21.5 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

wandb-0.20.1rc20250604-py3-none-macosx_11_0_x86_64.whl (22.7 MB view details)

Uploaded Python 3macOS 11.0+ x86-64

wandb-0.20.1rc20250604-py3-none-macosx_11_0_arm64.whl (22.0 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

wandb-0.20.1rc20250604-py3-none-macosx_10_14_x86_64.whl (22.5 MB view details)

Uploaded Python 3macOS 10.14+ x86-64

wandb-0.20.1rc20250604-py3-none-any.whl (6.5 MB view details)

Uploaded Python 3

File details

Details for the file wandb-0.20.1rc20250604.tar.gz.

File metadata

  • Download URL: wandb-0.20.1rc20250604.tar.gz
  • Upload date:
  • Size: 40.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for wandb-0.20.1rc20250604.tar.gz
Algorithm Hash digest
SHA256 099f2ef5ca9a5b7b7e89d16ee64823a45d68248fe72480bda16bf4771007ce76
MD5 b79c7b4fca62c6c93fbf568f07f9b95c
BLAKE2b-256 181eccf1b9c4b1af032dfb6c5dcf92b6114239cf4f6fcf8ba19043b45f253202

See more details on using hashes here.

File details

Details for the file wandb-0.20.1rc20250604-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for wandb-0.20.1rc20250604-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 3f47f07c149f1ff3ac2c6cb4873f41ff9eb06435b1748f74453426a73bba17ed
MD5 ee8f56b6f3cc8a76c5198109de949b80
BLAKE2b-256 9061bdeeb8ce35a6088007766f32df0ff432a05376c81ec9488611226f7afa61

See more details on using hashes here.

File details

Details for the file wandb-0.20.1rc20250604-py3-none-win32.whl.

File metadata

File hashes

Hashes for wandb-0.20.1rc20250604-py3-none-win32.whl
Algorithm Hash digest
SHA256 3c085fb0b4be08b4ac285e3630947950e1e5e99a7b3e8684c65daf71a8d7b5a5
MD5 49554480a39ce9e5075cb72be456e0c5
BLAKE2b-256 a2ed09fd55caed0e36fafceb117180649dd261593f8c2e17916d46aad181bad4

See more details on using hashes here.

File details

Details for the file wandb-0.20.1rc20250604-py3-none-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for wandb-0.20.1rc20250604-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 bb5d987c9497e464002d2fe2c2c531ee1309dc43440dde8ab67a8dfbfba948b9
MD5 6b2a3afcf07767bb52834abba548523b
BLAKE2b-256 cea08bd26e2f0fed83d5e00c598d694753353b84e7ab0d378434f8b56991a9a5

See more details on using hashes here.

File details

Details for the file wandb-0.20.1rc20250604-py3-none-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for wandb-0.20.1rc20250604-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 7bd59bff814eb9ee2ae27fa3f1f18c0b014757f1786b23a5623bb4fdb7d5515a
MD5 0ddba8ebfde7bd84cbfc0df1c340ecbd
BLAKE2b-256 f03e71bf0d2d77a6020ca08872c5a126d6d9669a64623c7433f583e4b7534114

See more details on using hashes here.

File details

Details for the file wandb-0.20.1rc20250604-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for wandb-0.20.1rc20250604-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c551bcc04d3b990a06b7ed8b25ea35877f7898381f323268289e51a4422a7191
MD5 47a00ade45d07e5fb3429de3a0f58c9b
BLAKE2b-256 5356a9af233003594af4558fae4dcb6cb80130f8f9c5535d4c988a66b314c849

See more details on using hashes here.

File details

Details for the file wandb-0.20.1rc20250604-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for wandb-0.20.1rc20250604-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 de23adbb427834171ed50bafcb05b05d25c31ac5fc0aeae7b84c9195e1640bc5
MD5 f712edaaad69f926b6a52d736eafbc5d
BLAKE2b-256 6aecc5c318c42c8e6bf8731b4451ecc873aed3788af93c847cf89f61a3cb6eed

See more details on using hashes here.

File details

Details for the file wandb-0.20.1rc20250604-py3-none-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for wandb-0.20.1rc20250604-py3-none-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 c0292ae9eeb0dca9b024ab8ec08509ae395c849b4861df59df892d99e535a11d
MD5 11951b9f4c7bf0897b3a88cc2467128f
BLAKE2b-256 8440a64d81332629a5bc136950fff3eec3597d0a1d878da8162ce9fe631de339

See more details on using hashes here.

File details

Details for the file wandb-0.20.1rc20250604-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for wandb-0.20.1rc20250604-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7e2aa25b11e0dab4b95722253a7f7866fc8765a2dad991002d35996850af6caa
MD5 0955e6c61f2da0312a0d2109c278e8ad
BLAKE2b-256 4f520b8732f70cc6dadff3adbeb9e24972f037865566a9b3f85c9b931ec2d765

See more details on using hashes here.

File details

Details for the file wandb-0.20.1rc20250604-py3-none-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for wandb-0.20.1rc20250604-py3-none-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 2157983d7b36a76c1932f9f5d0d656e7b30c8b89b479fd87ab4ccb38c15ab0ec
MD5 a2a4efa52683457a381d02a18e806fe5
BLAKE2b-256 f7b9790c0460456ce982835f364174dd747e6a1389cbafcb9a2c52232192b8a9

See more details on using hashes here.

File details

Details for the file wandb-0.20.1rc20250604-py3-none-any.whl.

File metadata

File hashes

Hashes for wandb-0.20.1rc20250604-py3-none-any.whl
Algorithm Hash digest
SHA256 f1983cca913ef1857fc5fba1d3be1155ab23f84775df353f39db84e2b7cfaba2
MD5 474cbfd3d22a794399f07bd732328b39
BLAKE2b-256 7e123e94d2b479726acf7c039f315354c656084eccf49ed9781b6ed27b28197a

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