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
tilebox_workflows-0.26.0.tar.gz
(46.6 kB
view details)
Built Distribution
File details
Details for the file tilebox_workflows-0.26.0.tar.gz
.
File metadata
- Download URL: tilebox_workflows-0.26.0.tar.gz
- Upload date:
- Size: 46.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e668e60ea6ecb3955dc749174dbfc479e5671a00170f389e9984cebbf92f2d8d |
|
MD5 | d65fa7aea83f72fb659d05abf5d68f2d |
|
BLAKE2b-256 | 34ab8425d5c69ae7443160e27e6b15e7a6f9c1e78755a6ff5491277ee4142114 |
File details
Details for the file tilebox_workflows-0.26.0-py3-none-any.whl
.
File metadata
- Download URL: tilebox_workflows-0.26.0-py3-none-any.whl
- Upload date:
- Size: 69.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6075e3ca3e93658cc285fecd64075386e800f2bb08e7203784089c470a0269a7 |
|
MD5 | f3a259873bc12dbf195838176a0d502e |
|
BLAKE2b-256 | b45db702f66ca90557a0ece592497479869d8cc0668b2abb73903607f6f9f829 |