Skip to main content

A comprehensive toolkit for streamlined development, testing, and deployment of prompt.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ultraflow-0.2.1.tar.gz (9.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ultraflow-0.2.1-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file ultraflow-0.2.1.tar.gz.

File metadata

  • Download URL: ultraflow-0.2.1.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.26.0 CPython/3.9.19 Darwin/20.6.0

File hashes

Hashes for ultraflow-0.2.1.tar.gz
Algorithm Hash digest
SHA256 102b5c094397062213e229926da76571261971ea5e685864144e62a1a3bb7a5c
MD5 cf25d60b102df3d032625c9a166d5afb
BLAKE2b-256 ffa05e580e228a587274754c0b3b8b37b0e5d50a04efb09091c057eebf6a2245

See more details on using hashes here.

File details

Details for the file ultraflow-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: ultraflow-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 9.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.26.0 CPython/3.9.19 Darwin/20.6.0

File hashes

Hashes for ultraflow-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2f7612f44add10430f3f457a84ab8e644498634c4def0c1aab260e5e3a1188ba
MD5 34491d4e42abd4dc85af355a319a0171
BLAKE2b-256 7ad8591e57d97206e5c6722d1500e4018ae0e4a1e9524836de81504387fda03e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page