Breey - 你的智能命令行助手
Breey 是一个智能命令行助手,支持 AI 对话、天气查询、传感器数据等功能。
✨ 功能特性
- 🤖 AI 对话 - 支持 Ollama、OpenAI、Anthropic、Minimax 等多种 AI 服务
- 🌤️ 天气查询 - 实时查询全国城市天气信息
- 📊 传感器数据 - 支持树莓派传感器数据查询(可选)
- 📁 文件读取 - 支持文件读取与语法高亮
- 🛠️ 工具扩展 - 支持网页搜索等工具调用
- 🎯 智能路由 - 基于 LangGraph 的多 Agent 路由系统
🚀 快速开始
安装
pip install breey
使用
进入交互模式:
breey
或者使用子命令:
breey hello
breey read myfile.py
breey logs -n 50
breey config --show
📖 指令说明
交互模式指令
/help- 查看所有可用指令/model- 配置 AI 服务/model show- 查看当前 AI 配置/model reset- 重置 AI 配置/read <文件>- 读取文件/config name <名字>- 设置称呼/logs- 查看日志/logs -n 50- 查看最近 50 条日志/clear- 清空屏幕/exit- 退出
命令行子命令
breey hello # 打招呼
breey read <文件> # 读取文件
breey logs [-n 数量] # 查看日志
breey config [选项] # 配置管理
breey chat # 进入交互模式
🔧 配置
首次运行会自动引导配置 AI 服务:
- 选择 AI 提供商(Ollama / OpenAI / Anthropic / Minimax)
- 输入 API Key(如需要)
- 选择模型
📦 开发安装
git clone https://github.com/yourusername/breey.git
cd breey
pip install -e ".[dev]"
🤝 贡献
欢迎提交 Issue 和 Pull Request!
📄 许可证
MIT License
📬 联系方式
- GitHub: @yourusername
- Email: your.email@example.com
Metadata
Release files for breey 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| breey-0.3.0.tar.gz | 10.4 kB | Without provenance | Details for breey-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| breey-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for breey-0.3.0-py3-none-any.whl |
Total release size: 20.2 kB
Release files / breey-0.3.0.tar.gz
| Download URL | breey-0.3.0.tar.gz |
|---|---|
| Size | 10.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
da45942aeb21b32b7d0a8ccb21e4a8de3d6eed333532ff47ce650e9e2676bba8
|
|
BLAKE2b-256 checksum How to use checksums |
f954f67bd2e5a42b595e286ee30da358a960f7b89d6a73b9a93e1a16416436fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.7
|
Release files / breey-0.3.0-py3-none-any.whl
| Download URL | breey-0.3.0-py3-none-any.whl |
|---|---|
| Size | 9.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c7505ac23be96e8187984a62182f1d7e971780a268903a47962c822d3cb8f903
|
|
BLAKE2b-256 checksum How to use checksums |
bde75833662389577080b773ca38142ee61eb76173474ad880a0e9fd88cd0f06
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.7
|
Security for breey 0.3.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.