Skip to main content

UltraFlow

一站式的大语言模型提示词工程工具包

简单 · 强大 · 开源

PyPI Python License

快速开始 · 文档 · 示例 · 反馈


✨ 特性

  • 🎯 简单易用 - 三个命令完成从配置到运行
  • 🚀 批量处理 - 内置多线程支持,高效处理大规模数据
  • 📝 版本控制 - 纯文本 Prompty 格式,完美支持 Git
  • 🔧 灵活集成 - 命令行工具 + Python API 双接口
  • 🔍 完整追踪 - 记录每次 API 调用的完整信息
  • 🛡️ 智能修复 - 自动修复格式错误的 JSON 输出

📸 使用截图

UltraFlow 使用示例

🚀 快速开始

安装

pip install -U UltraFlow

三步上手

# 1. 初始化项目
uf init

# 2. 创建流程模板
uf new hello_world

# 3. 运行流程
uf run hello_world

就这么简单!

Python API

from ultraflow import Prompty

# 加载并执行
flow = Prompty.load('hello_world.prompty')
result = flow(text='你好,世界!')
print(result)

📚 文档

完整文档请访问:https://enthusa.github.io/UltraFlow/

💡 使用场景

  • 📝 提示词工程 - 设计、测试、优化 LLM 提示词
  • 🔄 批量处理 - 翻译、摘要、分类等批量任务
  • 🧪 实验迭代 - 快速测试不同的提示词变体
  • 🤖 AI 应用开发 - 将 LLM 集成到应用中
  • 📊 数据标注 - 使用 LLM 进行数据处理

🤝 参与贡献

我们欢迎所有形式的贡献!

查看 贡献指南 了解更多。

📊 项目状态

  • ✅ 核心功能已实现
  • ✅ 单元测试覆盖
  • ✅ 完整文档
  • ⏳ Web UI(开发中)
  • ⏳ API 服务(计划中)

📄 许可证

本项目采用 MIT License。

🙏 致谢

⭐ Star History

如果这个项目对你有帮助,请给我们一个 Star!


用 UltraFlow 让 AI 开发更简单

开始使用 · GitHub · PyPI

Metadata

Release files for UltraFlow 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for UltraFlow 0.2.0
File Size Uploaded Provenance Actions
ultraflow-0.2.0.tar.gz 9.5 kB Without provenance Details for ultraflow-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for UltraFlow 0.2.0
File Interpreter ABI Platform Actions
ultraflow-0.2.0-py3-none-any.whl Python 3 none any Details for ultraflow-0.2.0-py3-none-any.whl

Total release size: 18.6 kB

Release files / ultraflow-0.2.0.tar.gz

Download URL ultraflow-0.2.0.tar.gz
Size 9.5 kB
Tags Source
SHA-256 checksum
How to use checksums
92ca6ab20f8a32bab10fb7bfa275ad0cae2ac715cbffa937ba75a9bebfd16d8a
BLAKE2b-256 checksum
How to use checksums
46cd3e4ad75024a6d0708a818c3f702e0165efeca69148b86b4d62b47e987edc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.26.0 CPython/3.9.19 Darwin/20.6.0

Release files / ultraflow-0.2.0-py3-none-any.whl

Download URL ultraflow-0.2.0-py3-none-any.whl
Size 9.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7b4c103e1ec095ee795e5b257f3c5429f2dbd0aa5769d4f5795aaba57e4f27ab
BLAKE2b-256 checksum
How to use checksums
0b0ce42029d52e0b71790c6623ab6d05ed6439542d6998f19066b8504a2b39a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.26.0 CPython/3.9.19 Darwin/20.6.0

Security for UltraFlow 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page