Skip to main content

Simple task pipeline library in Python

Project description

TaskChain

A simple Python library to create and execute task pipelines using chaining.

Features

  • Chain tasks using >>
  • Retry failed tasks
  • Track task status
  • Show execution summary

Usage

from taskchain import Task, Executor

def download():
    print("Downloading...")

def process():
    print("Processing...")

t1 = Task("Download", download)
t2 = Task("Process", process)

t1 >> t2

pipeline = Executor(t1)
pipeline.run()

Author

Kanishka Shrivastava

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

taskchain_kanishka-0.1.0.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

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

taskchain_kanishka-0.1.0-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file taskchain_kanishka-0.1.0.tar.gz.

File metadata

  • Download URL: taskchain_kanishka-0.1.0.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for taskchain_kanishka-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0f314714c2110c46ba9b1b6fd84c2b64df758b4fff2a992e2fe9472390fca52c
MD5 fef15e1a0e6ac3a0c41dd85841c6aeda
BLAKE2b-256 0a9d6b9a05f7e66397dc8caf305133a9e4f4854952d24863da6a3560d1ca3177

See more details on using hashes here.

File details

Details for the file taskchain_kanishka-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for taskchain_kanishka-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 99fad7bb05b5ecdf853bc03b547821f401125c9f68dd25cfbcdcd188cc376e82
MD5 b8be6eae4f05d1281dc6760e676eb416
BLAKE2b-256 b69d2f8eb1d870a43c1a2b29d00fe3ce695b36f67362efc81e5d2928cc82be1f

See more details on using hashes here.

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