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.2rc20250616.tar.gz (40.3 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.2rc20250616-py3-none-win_amd64.whl (22.5 MB view details)

Uploaded Python 3Windows x86-64

wandb-0.20.2rc20250616-py3-none-win32.whl (22.5 MB view details)

Uploaded Python 3Windows x86

wandb-0.20.2rc20250616-py3-none-musllinux_1_2_x86_64.whl (23.2 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

wandb-0.20.2rc20250616-py3-none-musllinux_1_2_aarch64.whl (21.5 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

wandb-0.20.2rc20250616-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (23.1 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

wandb-0.20.2rc20250616-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (21.5 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

wandb-0.20.2rc20250616-py3-none-macosx_11_0_x86_64.whl (22.7 MB view details)

Uploaded Python 3macOS 11.0+ x86-64

wandb-0.20.2rc20250616-py3-none-macosx_11_0_arm64.whl (22.0 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

wandb-0.20.2rc20250616-py3-none-macosx_10_14_x86_64.whl (22.5 MB view details)

Uploaded Python 3macOS 10.14+ x86-64

wandb-0.20.2rc20250616-py3-none-any.whl (6.4 MB view details)

Uploaded Python 3

File details

Details for the file wandb-0.20.2rc20250616.tar.gz.

File metadata

  • Download URL: wandb-0.20.2rc20250616.tar.gz
  • Upload date:
  • Size: 40.3 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.2rc20250616.tar.gz
Algorithm Hash digest
SHA256 9bacce227a3f6ca07add17e78ae3d432dace5e0468f6c70b92698d9cc839e570
MD5 a1c9c9806882134bf287f1d861093852
BLAKE2b-256 1bdf34294176cc2c60a8a83c0992921aa71f80009954dba93524f83ab18f3629

See more details on using hashes here.

File details

Details for the file wandb-0.20.2rc20250616-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for wandb-0.20.2rc20250616-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 46867a6b91bd3051feffb2f2617dcc939e289c825115b8c210301a95fc7a979f
MD5 40601d9098936015349f4ed5890a189f
BLAKE2b-256 2bb9852276e74318ca38472e0e13d57f9e87e64935a7683dccb3370f1171d057

See more details on using hashes here.

File details

Details for the file wandb-0.20.2rc20250616-py3-none-win32.whl.

File metadata

File hashes

Hashes for wandb-0.20.2rc20250616-py3-none-win32.whl
Algorithm Hash digest
SHA256 fddb414fec9e31c4b4f04661e1a86c19c264513e45b82eb608ddb950389194a2
MD5 c997866af80956bf06042a9d9279ac4b
BLAKE2b-256 f4604e3e0d77aacd09358ebc71b6c2c583ba778b687a462cb5d161f7782db9d3

See more details on using hashes here.

File details

Details for the file wandb-0.20.2rc20250616-py3-none-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for wandb-0.20.2rc20250616-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 fc6cda33ef8cf3b96ff3bfbe2dda97ad5dade346c1d01be39f0621a41a3b5117
MD5 47965fde1195fa7af0e7192e17fbb036
BLAKE2b-256 89579678c6fef11d8b9d179aacbefc5a7fe503d30279039525b2e42d41110379

See more details on using hashes here.

File details

Details for the file wandb-0.20.2rc20250616-py3-none-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for wandb-0.20.2rc20250616-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 3dbbd54340aee9542d06a11c9a4dc8205ed77c87b94ddc02858431fbce5b031d
MD5 e5d28543a2f80ef879bbfbf90814eaa7
BLAKE2b-256 ff7ef20cbbe17d82983cf00ca66588be78f10c8e1335c9fdd9c82d88d59c933d

See more details on using hashes here.

File details

Details for the file wandb-0.20.2rc20250616-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for wandb-0.20.2rc20250616-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 96c6c6d47e8986c424dfad3944f2f0339b600e228aa024e69aa0777a5f8142ec
MD5 8b8352f021d9d28e98e1c73a7e7e500b
BLAKE2b-256 228e407e5cc94aa7a56a1749534203d64b7b39ff26ada3eaa75bc50f7f63f9c5

See more details on using hashes here.

File details

Details for the file wandb-0.20.2rc20250616-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for wandb-0.20.2rc20250616-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 4ef3b31947d9c450f839e2af41b7530ea0ef690678af1baedf86f66525439b2c
MD5 9d631e5293065c3b3ae85bd531e3e33d
BLAKE2b-256 62e8c555532226a20d3dea2c0087d7515f827ae48d076fd23930fd0cc610117b

See more details on using hashes here.

File details

Details for the file wandb-0.20.2rc20250616-py3-none-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for wandb-0.20.2rc20250616-py3-none-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 7ecc23a799dc4e59b5b39fb3e531fbbd47305d673618e729bf016f96ddbf9974
MD5 93aab06dd01c733b7c820b4572b0b5e0
BLAKE2b-256 41a46e5aed4e84fc3146a9d731ad37de55e2efe63cb086dd05b899a693d54d9a

See more details on using hashes here.

File details

Details for the file wandb-0.20.2rc20250616-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for wandb-0.20.2rc20250616-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 801ec136e8affda3b04cb8b469ba948a836cf68708305b63608d1b0fbcf279f7
MD5 e9c9217a6efe115e9ce4555008bd1f3d
BLAKE2b-256 53e749b078661079dcef956ac100ef9a2aa10ed3dbece2c4a97860a875bf2993

See more details on using hashes here.

File details

Details for the file wandb-0.20.2rc20250616-py3-none-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for wandb-0.20.2rc20250616-py3-none-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 9b429a6c3fcfd2f53b6c307c4f5e8753c8a962e3a0f73d4403516847a8ecd5f9
MD5 5662be1cee99c94c0d178f1968645b06
BLAKE2b-256 b1784766cfe1065690ce1563da0e4175315e6fd0d86ce4421e5fc4eb292d258c

See more details on using hashes here.

File details

Details for the file wandb-0.20.2rc20250616-py3-none-any.whl.

File metadata

File hashes

Hashes for wandb-0.20.2rc20250616-py3-none-any.whl
Algorithm Hash digest
SHA256 fb4808ef03048af1ded351e5a9b4535cae117f7e23e2e6e615e8d02d0c755702
MD5 0c46429a7739db483b29513fd85555b2
BLAKE2b-256 236146d985f7c19d0437ad67b69cf5dd6a64ad46c617bf7267c8b7903767b35d

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