Skip to main content

OK Kit

Project description

okit

自用 Python 工具集,作为 UV Tool 扩展分发。

规范:

  • 按照类型划分工具目录,每个工具的名称是唯一标识符

工具列表

okit 包含以下工具:

命令名称 用途说明 分类 文档链接
gitdiffsync Git 项目同步工具,支持 rsync/SFTP 同步变更文件到远程服务器 🔧 开发工具 -
clonerepos 批量克隆 Git 仓库工具 🔧 开发工具 -
pedump PE 文件(EXE/DLL)头信息和节信息解析工具 🔧 开发工具 -
mobaxterm-pro MobaXterm Professional 许可证管理工具
• 自动探测系统中安装的 MobaXterm 信息
• 生成 Custom.mxtpro 许可证文件
• 一键部署许可证文件到安装目录
🔐 安全工具 使用文档
shellconfig Shell 配置管理工具
• 同步 Shell 配置文件
• 管理配置状态
• 备份和恢复配置
⚙️ 配置工具 -
minimal 最小化示例工具,展示工具开发模式 📚 示例工具 -

快速开始

安装

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 实现自动化发布流程:

  1. 开发分支自动发布到 TestPyPI
  2. 正式 tag 自动发布到 PyPI
  3. 版本号自动同步和管理

详细流程请参考 开发指导文档

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.1.tar.gz (162.5 kB view details)

Uploaded Source

Built Distribution

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

okit-1.2.1-py3-none-any.whl (61.4 kB view details)

Uploaded Python 3

File details

Details for the file okit-1.2.1.tar.gz.

File metadata

  • Download URL: okit-1.2.1.tar.gz
  • Upload date:
  • Size: 162.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.4

File hashes

Hashes for okit-1.2.1.tar.gz
Algorithm Hash digest
SHA256 042faf94831fa1310a428e6059cc4a8f3aaef80146c6bcdbad92367ff7d1fb82
MD5 46303019d642d49cda35a97362214a8a
BLAKE2b-256 7e804f504ed6fbb7329b2837c42a5b799bb83dba87dffc8ff9464611f9703c79

See more details on using hashes here.

File details

Details for the file okit-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: okit-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 61.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.4

File hashes

Hashes for okit-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6de13310fe9275ae7358d5ff9c182b351b02f4d4254184381b4bc7a1b6cfe533
MD5 7694dbc43d8ba70e9b064a8d590ee9c2
BLAKE2b-256 f577f81e1ce56d4857252eca647c5bd15b90eb1490a19b90a8c8157dde00b7e2

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