Access Tilebox datasets from Python
Project description
Documentation | Console | Example Gallery
Tilebox Datasets
Access satellite data using the Tilebox datasets python client powered by gRPC and Protobuf.
Quickstart
Install using pip:
pip install tilebox-datasets
Instantiate a client:
from tilebox.datasets import Client
# create your API key at https://console.tilebox.com
client = Client(token="YOUR_TILEBOX_API_KEY")
Explore datasets and collections:
datasets = client.datasets()
print(datasets)
sentinel2_msi = client.dataset("open_data.copernicus.sentinel2_msi")
collections = sentinel2_msi.collections()
print(collections)
Query data:
s2a_l1c = sentinel2_msi.collection("S2A_S2MSI1C")
results = s2a_l1c.query(
temporal_extent=("2025-03-01", "2025-06-01"),
show_progress=True
)
print(f"Found {results.sizes['time']} datapoints") # Found 220542 datapoints
Spatio-temporal queries:
from shapely.geometry import shape
area_of_interest = shape({
"type": "Polygon", # coords in lon, lat
"coordinates": [[[-5, 50], [-5, 56], [-11, 56], [-11, 50], [-5, 50]]]}
)
s2a_l1c = sentinel2_msi.collection("S2A_S2MSI1C")
results = s2a_l1c.query(
temporal_extent=("2025-03-01", "2025-06-01"),
spatial_extent=area_of_interest,
show_progress=True
)
print(f"Found {results.sizes['time']} datapoints") # Found 979 datapoints
Documentation
Check out the Tilebox Datasets documentation for more information.
License
Distributed under the MIT License (The 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tilebox_datasets-0.51.0.tar.gz.
File metadata
- Download URL: tilebox_datasets-0.51.0.tar.gz
- Upload date:
- Size: 78.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
45ee73938ac2c18186d2a0d13b496344991668f46dc42aa529bb6bd0a1882df4
|
|
| MD5 |
5fbfedfb1e4df5707f541f5374a9a96a
|
|
| BLAKE2b-256 |
ad7dc6c2f2f71829d5fe3801954e6b23805295ff23e8c3e8dd5d706c470fe5de
|
Provenance
The following attestation bundles were made for tilebox_datasets-0.51.0.tar.gz:
Publisher:
publish_tilebox_datasets.yml on tilebox/tilebox-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tilebox_datasets-0.51.0.tar.gz -
Subject digest:
45ee73938ac2c18186d2a0d13b496344991668f46dc42aa529bb6bd0a1882df4 - Sigstore transparency entry: 1247123676
- Sigstore integration time:
-
Permalink:
tilebox/tilebox-python@064ae7ed4c22213767f9b75f4359459abfdcb8fa -
Branch / Tag:
refs/tags/v0.51.0 - Owner: https://github.com/tilebox
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_tilebox_datasets.yml@064ae7ed4c22213767f9b75f4359459abfdcb8fa -
Trigger Event:
release
-
Statement type:
File details
Details for the file tilebox_datasets-0.51.0-py3-none-any.whl.
File metadata
- Download URL: tilebox_datasets-0.51.0-py3-none-any.whl
- Upload date:
- Size: 108.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e1a855d03f1d07da53159ee2c0a4dd07bdaf5288645d96de58e4d1b48888f6ea
|
|
| MD5 |
5ccf9850cf1816247c1e2bfcddafc708
|
|
| BLAKE2b-256 |
145c2eb2de1f930547c5e0036a32a1b8d0d9b65e8ec5813983787fe6a90f8f38
|
Provenance
The following attestation bundles were made for tilebox_datasets-0.51.0-py3-none-any.whl:
Publisher:
publish_tilebox_datasets.yml on tilebox/tilebox-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tilebox_datasets-0.51.0-py3-none-any.whl -
Subject digest:
e1a855d03f1d07da53159ee2c0a4dd07bdaf5288645d96de58e4d1b48888f6ea - Sigstore transparency entry: 1247123690
- Sigstore integration time:
-
Permalink:
tilebox/tilebox-python@064ae7ed4c22213767f9b75f4359459abfdcb8fa -
Branch / Tag:
refs/tags/v0.51.0 - Owner: https://github.com/tilebox
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_tilebox_datasets.yml@064ae7ed4c22213767f9b75f4359459abfdcb8fa -
Trigger Event:
release
-
Statement type: