# Import & Export API

[![](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)

Use the Public API to export or update data that you have saved to W\&B.

Before using this API, you'll want to log data from your script — check the [Quickstart](https://docs.wandb.ai/quickstart) for more details.

**Use Cases for the Public API**

* **Export Data**: Pull down a dataframe for custom analysis in a Jupyter Notebook. Once you have explored the data, you can sync your findings by creating a new analysis run and logging results, for example: `wandb.init(job_type="analysis")`
* **Update Existing Runs**: You can update the data logged in association with a W\&B run. For example, you might want to update the config of a set of runs to include additional information, like the architecture or a hyperparameter that wasn't originally logged.

See the [Generated Reference Docs](https://docs.wandb.ai/ref) for details on available functions.

## Classes

[`class Api`](https://arig23498.gitbook.io/aritra-documentation/ref/python/public-api/api): Used for querying the wandb server.

[`class Artifact`](https://arig23498.gitbook.io/aritra-documentation/ref/python/public-api/artifact): A wandb Artifact.

[`class File`](https://arig23498.gitbook.io/aritra-documentation/ref/python/public-api/file): File is a class associated with a file saved by wandb.

[`class Files`](https://arig23498.gitbook.io/aritra-documentation/ref/python/public-api/files): An iterable collection of `File` objects.

[`class Project`](https://arig23498.gitbook.io/aritra-documentation/ref/python/public-api/project): A project is a namespace for runs.

[`class Projects`](https://arig23498.gitbook.io/aritra-documentation/ref/python/public-api/projects): An iterable collection of `Project` objects.

[`class Run`](https://arig23498.gitbook.io/aritra-documentation/ref/python/public-api/run): A single run associated with an entity and project.

[`class Runs`](https://arig23498.gitbook.io/aritra-documentation/ref/python/public-api/runs): An iterable collection of runs associated with a project and optional filter.

[`class Sweep`](https://arig23498.gitbook.io/aritra-documentation/ref/python/public-api/sweep): A set of runs associated with a sweep.
