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.28.0.tar.gz
.
File metadata
- Download URL: tilebox_workflows-0.28.0.tar.gz
- Upload date:
- Size: 46.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60126df1f02e9fac9e4c8c3c2e270520a3594c23446004f8846dddd519cb85a3 |
|
MD5 | e068bb93635689b4e7eb8ad8a6672a1a |
|
BLAKE2b-256 | c2423e0c4e3fe971540958195fe0249be0e2173678ae7e97d5c43f8a0d17a757 |
Provenance
The following attestation bundles were made for tilebox_workflows-0.28.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.28.0.tar.gz
- Subject digest:
60126df1f02e9fac9e4c8c3c2e270520a3594c23446004f8846dddd519cb85a3
- Sigstore transparency entry: 145197486
- Sigstore integration time:
- Predicate type:
File details
Details for the file tilebox_workflows-0.28.0-py3-none-any.whl
.
File metadata
- Download URL: tilebox_workflows-0.28.0-py3-none-any.whl
- Upload date:
- Size: 69.5 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 | f02df1b969410b7b8c0b217040ffb238e0c781f09e61a6c9428ad7b0b1f2702c |
|
MD5 | c2d136c76157c5a42839307cd1e3ee13 |
|
BLAKE2b-256 | 09fc4c97c07080689c3b6383891e98461cd69bbed6574c1cf4ac9cf3d7ba15dd |
Provenance
The following attestation bundles were made for tilebox_workflows-0.28.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.28.0-py3-none-any.whl
- Subject digest:
f02df1b969410b7b8c0b217040ffb238e0c781f09e61a6c9428ad7b0b1f2702c
- Sigstore transparency entry: 145197496
- Sigstore integration time:
- Predicate type: