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.28.0.tar.gz (46.7 kB view details)

Uploaded Source

Built Distribution

tilebox_workflows-0.28.0-py3-none-any.whl (69.5 kB view details)

Uploaded Python 3

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

Hashes for tilebox_workflows-0.28.0.tar.gz
Algorithm Hash digest
SHA256 60126df1f02e9fac9e4c8c3c2e270520a3594c23446004f8846dddd519cb85a3
MD5 e068bb93635689b4e7eb8ad8a6672a1a
BLAKE2b-256 c2423e0c4e3fe971540958195fe0249be0e2173678ae7e97d5c43f8a0d17a757

See more details on using hashes here.

Provenance

The following attestation bundles were made for tilebox_workflows-0.28.0.tar.gz:

Publisher: publish_tilebox_workflows.yml on tilebox/tilebox-python

Attestations:

File details

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

File metadata

File hashes

Hashes for tilebox_workflows-0.28.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f02df1b969410b7b8c0b217040ffb238e0c781f09e61a6c9428ad7b0b1f2702c
MD5 c2d136c76157c5a42839307cd1e3ee13
BLAKE2b-256 09fc4c97c07080689c3b6383891e98461cd69bbed6574c1cf4ac9cf3d7ba15dd

See more details on using hashes here.

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

Attestations:

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