This example demonstrates how to use the Tilebox SDKs to create a Workflows that uses tasks implemented in different languages, Python and Go. Go is used to submit the job, while Python is used to execute it.
- Python 3.10+
- Go 1.24+
- Install the
uvPython package manager – installation instructions - Environment variables – provide your API key as environment variables
- Tilebox API Key (
TILEBOX_API_KEY) – create here
- Tilebox API Key (
To start the runner, run the following commands:
cd python-runner
# Install dependencies
uv sync
# Start the runner
uv run runner.pyIn a separate terminal, start the Go server:
cd go-server
go run .Submit a job by calling the server's /submit endpoint:
curl http://localhost:8080/submit?lat=40.75&lon=-73.98&resolution=30&bands[]=489.0,560.6,666.5The runner should execute the task and print the parameters to stdout.