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.0.tar.gz (9.5 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.0-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ultraflow-0.2.0.tar.gz
  • Upload date:
  • Size: 9.5 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.0.tar.gz
Algorithm Hash digest
SHA256 92ca6ab20f8a32bab10fb7bfa275ad0cae2ac715cbffa937ba75a9bebfd16d8a
MD5 bcea90742b861bb2e5a49e5a838258e7
BLAKE2b-256 46cd3e4ad75024a6d0708a818c3f702e0165efeca69148b86b4d62b47e987edc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ultraflow-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 9.1 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7b4c103e1ec095ee795e5b257f3c5429f2dbd0aa5769d4f5795aaba57e4f27ab
MD5 3ebd10b17a32244e4742cd9719a6df22
BLAKE2b-256 0b0ce42029d52e0b71790c6623ab6d05ed6439542d6998f19066b8504a2b39a2

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