Workflow client and task runner for Tilebox
Project description
Tilebox Workflows
Tilebox Workflows, or the Tilebox workflow orchestrator is a parallel processing engine that allows an intuitive creation of dynamic tasks that can be parallelized out of the box and executed across compute environments or on-premise as well as in auto-scaling clusters in public clouds.
Quickstart
Install using pip
:
pip install tilebox-workflows
Create a task:
from tilebox.workflows import Task
class MyFirstTask(Task):
def execute(self):
print("Hello World from my first Tilebox task!")
Submit a job
from tilebox.workflows import Client
# create your API key at
# https://console.tilebox.com
client = Client(token="YOUR_TILEBOX_API_KEY")
jobs = client.jobs()
jobs.submit("my-very-first-job", MyFirstTask(), "some-compute-cluster")
And run it:
runner = client.runner("some-compute-cluster", tasks=[MyFirstTask])
runner.run_all()
Documentation
Check out the Tilebox Workflows 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
File details
Details for the file tilebox_workflows-0.29.0.tar.gz
.
File metadata
- Download URL: tilebox_workflows-0.29.0.tar.gz
- Upload date:
- Size: 47.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f81c68fabe3e7cb715b62fb96596db8b00ee83c8bca6776011da23083fea45f |
|
MD5 | 598d25ebda8eecbff3e4f83962dce6e8 |
|
BLAKE2b-256 | 30d449ca5d6d75218214ef9d15cc681133c4c9a7257d859270ea72f79ab23eff |
Provenance
The following attestation bundles were made for tilebox_workflows-0.29.0.tar.gz
:
Publisher:
publish_tilebox_workflows.yml
on tilebox/tilebox-python
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
tilebox_workflows-0.29.0.tar.gz
- Subject digest:
1f81c68fabe3e7cb715b62fb96596db8b00ee83c8bca6776011da23083fea45f
- Sigstore transparency entry: 149058659
- Sigstore integration time:
- Predicate type:
File details
Details for the file tilebox_workflows-0.29.0-py3-none-any.whl
.
File metadata
- Download URL: tilebox_workflows-0.29.0-py3-none-any.whl
- Upload date:
- Size: 70.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94de4095551b7c8bf1a8b3ba92acd8006c83095c498c9478993d4fd056a76331 |
|
MD5 | 69965cfcf885d3023e0fe1bf75d2b431 |
|
BLAKE2b-256 | 1e6c298f839874815992cdebdd168d4bd585f18a653457611068e5b0d594f468 |
Provenance
The following attestation bundles were made for tilebox_workflows-0.29.0-py3-none-any.whl
:
Publisher:
publish_tilebox_workflows.yml
on tilebox/tilebox-python
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
tilebox_workflows-0.29.0-py3-none-any.whl
- Subject digest:
94de4095551b7c8bf1a8b3ba92acd8006c83095c498c9478993d4fd056a76331
- Sigstore transparency entry: 149058660
- Sigstore integration time:
- Predicate type: