Skip to main content

Workflow client and task runner for Tilebox

Project description

Tilebox Logo

Documentation | Console

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


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)

Uploaded Source

Built Distribution

tilebox_workflows-0.26.0-py3-none-any.whl (69.4 kB view details)

Uploaded Python 3

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

Hashes for tilebox_workflows-0.26.0.tar.gz
Algorithm Hash digest
SHA256 e668e60ea6ecb3955dc749174dbfc479e5671a00170f389e9984cebbf92f2d8d
MD5 d65fa7aea83f72fb659d05abf5d68f2d
BLAKE2b-256 34ab8425d5c69ae7443160e27e6b15e7a6f9c1e78755a6ff5491277ee4142114

See more details on using hashes here.

File details

Details for the file tilebox_workflows-0.26.0-py3-none-any.whl.

File metadata

File hashes

Hashes for tilebox_workflows-0.26.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6075e3ca3e93658cc285fecd64075386e800f2bb08e7203784089c470a0269a7
MD5 f3a259873bc12dbf195838176a0d502e
BLAKE2b-256 b45db702f66ca90557a0ece592497479869d8cc0668b2abb73903607f6f9f829

See more details on using hashes here.

Supported by

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