mirror of
https://github.com/hanzoai/python-sdk.git
synced 2026-10-23 20:23:00 +00:00
feat: add hanzo-flow package (re-exports hanzoflow CLI as hanzo-flow)
This commit is contained in:
@@ -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).
|
||||
@@ -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"]
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user