Skip to main content

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

Project description

# Weights and Biases

[![ci](https://circleci.com/gh/wandb/client.svg?style=svg)](https://circleci.com/gh/wandb/client) [![pypi](https://img.shields.io/pypi/v/wandb.svg)](https://pypi.python.org/pypi/wandb) [![coveralls](https://coveralls.io/repos/github/wandb/client/badge.svg?branch=master)](https://coveralls.io/github/wandb/client?branch=master)

A CLI and library for interacting with the Weights and Biases API. Read more at our [documentation](http://wb-client.readthedocs.io/en/latest)!

## Features

This library provides a CLI and python library for the [Weights & Biases](https://wanbd.ai) machine learning model management platform. It simplifies uploading or downloading files via the command line or directly in your training code.

## Examples

CLI Usage:

```shell
cd myproject
# Initialize a directory
wandb init
# Push files to W&B
wandb push bucket model.json weights.h5
# Pull files from canonical models
wandb pull zoo/inception-v4
# Sync training logs and push files when they change
./training_script.sh | wandb project/bucket model.json weights.h5
```

Client Usage:

```python
import wandb
conf = wandb.Config()
client = wandb.Api()

if conf.turbo:
print("TURBO MODE!!!")

client.push("my_model", files=[open("some_file", "rb")])
```



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.4.7.tar.gz (66.3 kB view hashes)

Uploaded Source

Built Distribution

wandb-0.4.7-py2.py3-none-any.whl (17.7 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page