Metadata-Version: 2.1
Name: nanoflow
Version: 0.2.0
Summary: A simple and efficient workflow framework for Python
Author-Email: Zhan Rongrui <2742392377@qq.com>
License: MIT
Project-URL: Homepage, https://github.com/zrr1999/nanoflow.git
Project-URL: Repository, https://github.com/zrr1999/nanoflow.git
Requires-Python: >=3.11
Requires-Dist: loguru>=0.7.0
Requires-Dist: networkx>=3.0
Requires-Dist: pydantic>=2.0.0
Requires-Dist: toml>=0.10.0
Requires-Dist: rich>=13.8.0
Requires-Dist: typer>=0.12.5
Requires-Dist: textual>=0.81.0
Provides-Extra: server
Requires-Dist: fastapi>=0.115.0; extra == "server"
Requires-Dist: uvicorn>=0.30.6; extra == "server"
Provides-Extra: plot
Requires-Dist: matplotlib>=3.9.0; extra == "plot"
Description-Content-Type: text/markdown

# Nanoflow

Nanoflow is a simple and efficient workflow framework for Python. It allows you to define and execute tasks and workflows with ease.

## Features

- Define tasks and workflows using decorators
- Support for task dependencies
- Retry functionality for tasks
- GPU resource management for parallel task execution

## Roadmap

- [ ] Integration with FastAPI for managing workflows as web APIs

## Installation [![Downloads](https://pepy.tech/badge/nanoflow)](https://pepy.tech/project/nanoflow)

### Installation using pip/pipx/uv

Before this, please ensure that Python 3.10 or above is installed, along with pip.
```shell
pip install nanoflow
```

If you want to try the Nightly version, you can try
```shell
pip install git+https://github.com/zrr1999/nanoflow@main
```

Before this, please ensure that [pipx](https://github.com/pypa/pipx)/[uv](https://github.com/astral-sh/uv) is installed.
```shell
pipx install nanoflow
uv tool install nanoflow
```

### Source Installation

```shell
git clone https://github.com/zrr1999/nanoflow
cd nanoflow
pip install .
```

## Usage

To use Nanoflow, you can define tasks and workflows using decorators:
