> For the complete documentation index, see [llms.txt](https://arig23498.gitbook.io/aritra-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://arig23498.gitbook.io/aritra-documentation/ref/python.md).

# Python Library

[![](https://www.tensorflow.org/images/GitHub-Mark-32px.png)View source on GitHub](https://www.github.com/wandb/client/tree/v0.10.31.dev1/wandb/__init__.py)

## Classes

[`class Artifact`](/aritra-documentation/ref/python/artifact.md): Flexible and lightweight building block for dataset and model versioning.

[`class Run`](/aritra-documentation/ref/python/run.md): A unit of computation logged by wandb. Typically this is an ML experiment.

## Functions

[`agent(...)`](/aritra-documentation/ref/python/agent.md): Generic agent entrypoint, used for CLI or jupyter.

[`config(...)`](/aritra-documentation/ref/python/config.md): Config object

[`finish(...)`](/aritra-documentation/ref/python/finish.md): Marks a run as finished, and finishes uploading all data.

[`init(...)`](/aritra-documentation/ref/python/init.md): Start a new tracked run with `wandb.init()`.

[`log(...)`](/aritra-documentation/ref/python/log.md): Log a dict to the global run's history.

[`save(...)`](/aritra-documentation/ref/python/save.md): Ensure all files matching `glob_str` are synced to wandb with the policy specified.

[`summary(...)`](/aritra-documentation/ref/python/summary.md): Tracks single values for each metric for each run.

[`sweep(...)`](/aritra-documentation/ref/python/sweep.md): Initialize a hyperparameter sweep.

[`watch(...)`](/aritra-documentation/ref/python/watch.md): Hooks into the torch model to collect gradients and the topology.

| Other Members |                  |
| ------------- | ---------------- |
| **version**   | `'0.10.31.dev1'` |
