Skip to main content

Workflow client and task runner for Tilebox

Project description

Tilebox Logo

Documentation | Console | Discord

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", "some-compute-cluster", MyFirstTask())

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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tilebox_workflows-0.33.1-py3-none-any.whl (71.0 kB view details)

Uploaded Python 3

File details

Details for the file tilebox_workflows-0.33.1.tar.gz.

File metadata

  • Download URL: tilebox_workflows-0.33.1.tar.gz
  • Upload date:
  • Size: 48.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for tilebox_workflows-0.33.1.tar.gz
Algorithm Hash digest
SHA256 c29c1d25c0329cbff3ec6b70df196ea85f27a8a3a29024908a9adcb18d221371
MD5 6f0741fc6c7466d8af93ab10d7a0de38
BLAKE2b-256 dcb1ceb7fa2e3b8f515b1cb9f80cf6d921ad4a4419b80f26a594d52634b254a3

See more details on using hashes here.

Provenance

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

Publisher: publish_tilebox_workflows.yml on tilebox/tilebox-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for tilebox_workflows-0.33.1-py3-none-any.whl
Algorithm Hash digest
SHA256 71cab4ce72d830052df17f72ec9c5a43b6ab48c095b771c194533d848d89633d
MD5 e87ae49663dc9c68098b52683bb89c19
BLAKE2b-256 a8726cda8aee65458becadc0c6869328fb1b57e98b3afa967d4934f41a75b8b1

See more details on using hashes here.

Provenance

The following attestation bundles were made for tilebox_workflows-0.33.1-py3-none-any.whl:

Publisher: publish_tilebox_workflows.yml on tilebox/tilebox-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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