Skip to main content

Python library for Tilebox, a lightweight space data management and orchestration software - on ground and in orbit.

Project description

Tilebox Logo

Documentation | Console | Example Gallery

Tilebox Python

Python library for Tilebox, a lightweight space data management and orchestration software - on ground and in orbit.

[!NOTE] This is a composite package without any source code of its own. It is a convenience package that contains the various Tilebox python packages as dependencies to make it easier to install all of them at once.

It contains the following packages:

  • tilebox-datasets - Structured and high-performance satellite metadata storage, indexing and querying.
  • tilebox-storage - Download satellite payload data for your Tilebox datasets.
  • tilebox-workflows - A parallel processing engine to simplify the creation of dynamic tasks that can be executed across various computing environments, including on-premise and auto-scaling clusters in public clouds.

Install

pip install tilebox

[!TIP] For new projects we recommend using uv - uv add tilebox. Additional installation options are available in our docs.

Documentation

Documentation is available at docs.tilebox.com.

Getting started

Tilebox Datasets

Structured and high-performance satellite metadata storage, indexing and querying. See documentation

from tilebox.datasets import Client
from shapely.geometry import shape

# create your API key at https://console.tilebox.com
client = Client(token="YOUR_TILEBOX_API_KEY")
datasets = client.datasets()
print(datasets)

sentinel2_msi = client.dataset("open_data.copernicus.sentinel2_msi")
collections = sentinel2_msi.collections()
print(collections)

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

Tilebox Workflows

A parallel processing engine to simplify the creation of dynamic tasks that can be executed across various computing environments, including on-premise and auto-scaling clusters in public clouds.

from tilebox.workflows import Client, Task

class MyFirstTask(Task):
  def execute(self):
    print("Hello World from my first Tilebox task!")


# create your API key at https://console.tilebox.com
client = Client(token="YOUR_TILEBOX_API_KEY")

# submit a job
jobs = client.jobs()
jobs.submit("my-very-first-job", MyFirstTask())

# and run it
runner = client.runner(tasks=[MyFirstTask])
runner.run_all()

Contributing

Contributions are welcome! Please see the contributing guide for more information.

You can also join us on Discord if you have any questions or want to share your ideas.

License

Distributed under the MIT License (The MIT License).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tilebox-0.1.0.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tilebox-0.1.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file tilebox-0.1.0.tar.gz.

File metadata

  • Download URL: tilebox-0.1.0.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for tilebox-0.1.0.tar.gz
Algorithm Hash digest
SHA256 fcac2b433f4e165327e9f043bc2254053a27abdaedfce9a10fb82af5df6557b0
MD5 0ebcb9a3806c45aef6794d1c55044881
BLAKE2b-256 59431a447f3f012e4911d80e218f05ae1e52533e1e3484082d3d3d166542e5e4

See more details on using hashes here.

Provenance

The following attestation bundles were made for tilebox-0.1.0.tar.gz:

Publisher: publish.yml on tilebox/tilebox-pypi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tilebox-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: tilebox-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for tilebox-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 261d2d437f098280426132ed36d7db90dd917577393f0b846a6feaeb81d700fe
MD5 a6b14acffdd7c34bcc7f48438363004f
BLAKE2b-256 3d4c8b22f28daf41421ffbac67a1d1bc6a3f9496c70b6354193f44cf45cf84e2

See more details on using hashes here.

Provenance

The following attestation bundles were made for tilebox-0.1.0-py3-none-any.whl:

Publisher: publish.yml on tilebox/tilebox-pypi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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