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.1

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.1
File Size Uploaded Provenance Actions
ultraflow-0.2.1.tar.gz 9.6 kB Without provenance Details for ultraflow-0.2.1.tar.gz

Built distribution (wheel)

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

Total release size: 18.8 kB

Release files / ultraflow-0.2.1.tar.gz

Download URL ultraflow-0.2.1.tar.gz
Size 9.6 kB
Tags Source
SHA-256 checksum
How to use checksums
102b5c094397062213e229926da76571261971ea5e685864144e62a1a3bb7a5c
BLAKE2b-256 checksum
How to use checksums
ffa05e580e228a587274754c0b3b8b37b0e5d50a04efb09091c057eebf6a2245
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.1-py3-none-any.whl

Download URL ultraflow-0.2.1-py3-none-any.whl
Size 9.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2f7612f44add10430f3f457a84ab8e644498634c4def0c1aab260e5e3a1188ba
BLAKE2b-256 checksum
How to use checksums
7ad8591e57d97206e5c6722d1500e4018ae0e4a1e9524836de81504387fda03e
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.1

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