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

Uploaded Source

Built Distribution

tilebox_workflows-0.29.0-py3-none-any.whl (70.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tilebox_workflows-0.29.0.tar.gz
  • Upload date:
  • Size: 47.0 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.29.0.tar.gz
Algorithm Hash digest
SHA256 1f81c68fabe3e7cb715b62fb96596db8b00ee83c8bca6776011da23083fea45f
MD5 598d25ebda8eecbff3e4f83962dce6e8
BLAKE2b-256 30d449ca5d6d75218214ef9d15cc681133c4c9a7257d859270ea72f79ab23eff

See more details on using hashes here.

Provenance

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

Publisher: publish_tilebox_workflows.yml on tilebox/tilebox-python

Attestations:

File details

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

File metadata

File hashes

Hashes for tilebox_workflows-0.29.0-py3-none-any.whl
Algorithm Hash digest
SHA256 94de4095551b7c8bf1a8b3ba92acd8006c83095c498c9478993d4fd056a76331
MD5 69965cfcf885d3023e0fe1bf75d2b431
BLAKE2b-256 1e6c298f839874815992cdebdd168d4bd585f18a653457611068e5b0d594f468

See more details on using hashes here.

Provenance

The following attestation bundles were made for tilebox_workflows-0.29.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