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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0f314714c2110c46ba9b1b6fd84c2b64df758b4fff2a992e2fe9472390fca52c
|
|
| MD5 |
fef15e1a0e6ac3a0c41dd85841c6aeda
|
|
| BLAKE2b-256 |
0a9d6b9a05f7e66397dc8caf305133a9e4f4854952d24863da6a3560d1ca3177
|
File details
Details for the file taskchain_kanishka-0.1.0-py3-none-any.whl.
File metadata
- Download URL: taskchain_kanishka-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
99fad7bb05b5ecdf853bc03b547821f401125c9f68dd25cfbcdcd188cc376e82
|
|
| MD5 |
b8be6eae4f05d1281dc6760e676eb416
|
|
| BLAKE2b-256 |
b69d2f8eb1d870a43c1a2b29d00fe3ce695b36f67362efc81e5d2928cc82be1f
|