Metadata-Version: 2.1
Name: tasks-runner
Version: 0.1.2
Summary: 
Author: Sebastian Guerra
Author-email: spguerraespinoza@gmail.com
Requires-Python: >=3.12,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: loguru (>=0.7.2,<0.8.0)
Requires-Dist: tqdm (>=4.66.5,<5.0.0)
Description-Content-Type: text/markdown

# Tasks Runner

Wrapper for `ThreadPoolExecutor` to run tasks concurrently step by step.

## Installation

```bash
pip install tasks-runner
```

## Usage Example

```python
from tasks_runner import TasksRunner

def add1(x):
    return x + 1

def mul2(x):
    return x * 2

def sub3(x):
    return x - 3

steps = [add1, mul2, sub3]
data = [1, 2, 3]

runner = TasksRunner(data, steps)

runner = runner.run()

print(runner.collect())
# [1, 3, 5]
```

