A simple and efficient workflow framework for Python
Project description
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
Installation using pip/pipx/uv
Before this, please ensure that Python 3.10 or above is installed, along with pip.
pip install nanoflow
If you want to try the Nightly version, you can try
pip install git+https://github.com/zrr1999/nanoflow@main
Before this, please ensure that pipx/uv is installed.
pipx install nanoflow
uv tool install nanoflow
Source Installation
git clone https://github.com/zrr1999/nanoflow
cd nanoflow
pip install .
Usage
To use Nanoflow, you can define tasks and workflows using decorators:
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
nanoflow-0.2.0.tar.gz
(7.1 kB
view details)
Built Distribution
File details
Details for the file nanoflow-0.2.0.tar.gz
.
File metadata
- Download URL: nanoflow-0.2.0.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 307f50dce2f30fc9205b43bf099b2f5650d6aff854aafdf4810768802e61f4ba |
|
MD5 | ee340eca9d01dad39febec6e3e5139b3 |
|
BLAKE2b-256 | 5edd169496f7f4ded25fe8256d13b0cb759e699b7230a280dc84d27405547bbb |
Provenance
File details
Details for the file nanoflow-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: nanoflow-0.2.0-py3-none-any.whl
- Upload date:
- Size: 8.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 037ef7e148f533e02e6fb4f05907094a7310fb13bb6d6fe828a01967c24b3a57 |
|
MD5 | 89fb487e80c7ba6e8054604cbd259566 |
|
BLAKE2b-256 | 2b52fb5aff9167b2758d3117f263d38d413485bae5f605d2b4793dba8cd38f33 |