feat: add hanzo-flow package (re-exports hanzoflow CLI as hanzo-flow)

This commit is contained in:
2026-03-25 01:23:47 -07:00
parent 3da9fecd20
commit a820dd32de
3 changed files with 48 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
# hanzo-flow
Hanzo Flow — visual workflow builder for AI applications.
## Install
```bash
pip install hanzo-flow
```
## Usage
```bash
hanzo-flow run --host 0.0.0.0 --port 7860
```
Part of the [Hanzo Python SDK](https://github.com/hanzoai/python-sdk).
+20
View File
@@ -0,0 +1,20 @@
[project]
name = "hanzo-flow"
version = "1.8.0"
description = "Hanzo Flow — visual workflow builder for AI applications"
license = "MIT"
authors = [{ name = "Hanzo AI", email = "[email protected]" }]
requires-python = ">=3.12"
dependencies = [
"hanzoflow>=1.8.0",
]
[project.scripts]
hanzo-flow = "langflow.langflow_launcher:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/hanzo_flow"]
+11
View File
@@ -0,0 +1,11 @@
"""Hanzo Flow — visual workflow builder for AI applications.
This package re-exports hanzoflow and provides the `hanzo-flow` CLI command.
"""
__version__ = "1.8.0"
# Re-export for convenience
try:
from langflow import load_flow_from_json, run_flow # noqa: F401
except ImportError:
pass