> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tilebox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Installation

> Install the Tilebox Python SDK packages using your preferred package manager to start working with datasets, workflows, and satellite data storage.

## Package Overview

Tilebox offers a Python SDK for accessing Tilebox services. The SDK includes separate packages that can be installed individually based on the services you wish to use, or all together for a comprehensive experience.

<Columns cols={2}>
  <Card title="tilebox-datasets" icon="database" href="https://pypi.org/project/tilebox-datasets/" horizontal>
    Access Tilebox datasets from Python
  </Card>

  <Card title="tilebox-workflows" icon="network-wired" href="https://pypi.org/project/tilebox-workflows/" horizontal>
    Workflow client and task runner for Tilebox
  </Card>
</Columns>

## Installation

Install the Tilebox python packages using your preferred package manager.

<Tip>
  For new projects Tilebox recommend using [uv](https://docs.astral.sh/uv/).
</Tip>

<CodeGroup>
  ```bash uv theme={"system"}
  uv add tilebox-datasets tilebox-workflows tilebox-storage
  ```

  ```bash pip theme={"system"}
  pip install tilebox-datasets tilebox-workflows tilebox-storage
  ```

  ```bash poetry theme={"system"}
  poetry add tilebox-datasets="*" tilebox-workflows="*" tilebox-storage="*"
  ```

  ```bash pipenv theme={"system"}
  pipenv install tilebox-datasets tilebox-workflows tilebox-storage
  ```
</CodeGroup>

## Setting up a local JupyterLab environment

<Tip>
  To get started quickly, you can also use an existing Jupyter-compatible cloud environment such as [Google Colab](https://colab.research.google.com/).
</Tip>

If you want to set up a local Jupyter environment to explore the SDK or to run the [Sample notebooks](/sdks/python/sample-notebooks) locally, install [JupyterLab](https://github.com/jupyterlab/jupyterlab) for a browser-based development environment. It's advised to install the Tilebox packages along with JupyterLab, [ipywidgets](https://ipywidgets.readthedocs.io/en/latest/user_install.html), and [tqdm](https://tqdm.github.io/) for an enhanced experience.

```uv uv theme={"system"}
mkdir tilebox-exploration
cd tilebox-exploration

uv init --no-package
uv add tilebox-datasets tilebox-workflows tilebox-storage
uv add jupyterlab ipywidgets tqdm
uv run jupyter lab
```

### Trying it out

After installation, create a new notebook and paste the following code snippet to verify your installation. If you're new to Jupyter, you can refer to the guide on [interactive environments](/sdks/python/sample-notebooks#interactive-environments).

```python Python theme={"system"}
from tilebox.datasets import Client

client = Client()
datasets = client.datasets()

collection = datasets.open_data.copernicus.landsat8_oli_tirs.collection("L1T")
data = collection.query(temporal_extent=("2015-01-01", "2020-01-01"), show_progress=True)
data
```

If the installation is successful, the output should appear as follows.

<Frame>
  <img src="https://mintcdn.com/tilebox/9yPiIuCV-2WPK6fa/assets/jupyter/local-jupyter-light.png?fit=max&auto=format&n=9yPiIuCV-2WPK6fa&q=85&s=dfc539bb29cc3b62b7013677a6f4d8ee" alt="Local JupyterLab" className="dark:hidden" width="1118" height="650" data-path="assets/jupyter/local-jupyter-light.png" />

  <img src="https://mintcdn.com/tilebox/9yPiIuCV-2WPK6fa/assets/jupyter/local-jupyter-dark.png?fit=max&auto=format&n=9yPiIuCV-2WPK6fa&q=85&s=5395de69ad4e3dd80380d81489eea3b5" alt="Local JupyterLab" className="hidden dark:block" width="1116" height="670" data-path="assets/jupyter/local-jupyter-dark.png" />
</Frame>
