OK Kit
Project description
okit
自用 Python 工具集,作为 UV Tool 扩展分发。
规范:
- 按照类型划分工具目录,每个工具的名称是唯一标识符
快速开始
安装
uv tool install okit
使用
# 查看帮助
okit --help
# 查看具体命令帮助
okit COMMAND --help
# 打开补全(支持 bash/zsh/fish)
okit completion enable
# 关闭补全
okit completion disable
开发
详细的开发指导请参考 开发指导文档,包括:
- 架构设计和自动注册机制
- 工具脚本开发模式
- 配置和数据管理
- 开发环境搭建
- 发布流程
- 最佳实践
快速开发
git clone https://github.com/fjzhangZzzzzz/okit.git
cd okit
# 本地安装开发版本
uv tool install -e . --reinstall
版本号规约
采用语义化版本,符合 PEP 440,遵循格式 [主版本号]!.[次版本号].[修订号][扩展标识符]
- 主版本号(Major):重大变更(如 API 不兼容更新)
- 次版本号(Minor):向后兼容的功能性更新
- 修订号(Micro):向后兼容的 Bug 修复或小改动
扩展标识符包括:开发版(dev)、Alpha 预发布(a)、Beta 预发布(b)、RC 预发布(rc)、正式版、后发布版(post)。
自动化发布
项目使用 GitHub Actions 实现自动化发布流程:
- 开发分支自动发布到 TestPyPI
- 正式 tag 自动发布到 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
okit-1.2.0.tar.gz
(82.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
okit-1.2.0-py3-none-any.whl
(34.1 kB
view details)
File details
Details for the file okit-1.2.0.tar.gz.
File metadata
- Download URL: okit-1.2.0.tar.gz
- Upload date:
- Size: 82.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8291a3de1c1e38e199819481dd5c9d8cc574302abbee9ab4606e38d661e7556f
|
|
| MD5 |
0370c2baef59efd6fb2b69a08ae5a8fe
|
|
| BLAKE2b-256 |
374628b3e957470226558355d1d92e3f3396297344a5bfeffc126e69162aa3f4
|
File details
Details for the file okit-1.2.0-py3-none-any.whl.
File metadata
- Download URL: okit-1.2.0-py3-none-any.whl
- Upload date:
- Size: 34.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
23323ece21c40ea41c9cd4425919035933765767e42ecf6ab29913c30272ad70
|
|
| MD5 |
14d655cf2f21375a94ce2d92708aa016
|
|
| BLAKE2b-256 |
c2358a3576aeed6ba58180715c2615118f382575541053ac6f2a34feb8e3b946
|