{"id":51026864,"url":"https://github.com/gitstq/devutils-cli","last_synced_at":"2026-06-21T20:02:27.433Z","repository":{"id":357254423,"uuid":"1236122199","full_name":"gitstq/devutils-cli","owner":"gitstq","description":"🛠️ DevUtils-CLI - A lightweight, zero-dependency Python CLI toolbox for developers | 轻量级零依赖开发者命令行工具箱","archived":false,"fork":false,"pushed_at":"2026-05-12T01:12:38.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-12T03:15:57.033Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gitstq.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-12T01:08:25.000Z","updated_at":"2026-05-12T01:12:27.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/gitstq/devutils-cli","commit_stats":null,"previous_names":["gitstq/devutils-cli"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/gitstq/devutils-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitstq%2Fdevutils-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitstq%2Fdevutils-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitstq%2Fdevutils-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitstq%2Fdevutils-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gitstq","download_url":"https://codeload.github.com/gitstq/devutils-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitstq%2Fdevutils-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34623906,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-21T02:00:05.568Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-06-21T20:02:26.705Z","updated_at":"2026-06-21T20:02:27.428Z","avatar_url":"https://github.com/gitstq.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# 🛠️ DevUtils-CLI\n\n**A lightweight, zero-dependency Python CLI toolbox for developers**\n\n[![Python](https://img.shields.io/badge/Python-3.7+-blue.svg)](https://www.python.org/)\n[![License](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)\n[![Version](https://img.shields.io/badge/Version-1.0.0-orange.svg)]()\n[![Platform](https://img.shields.io/badge/Platform-Linux%20%7C%20macOS%20%7C%20Windows-lightgrey.svg)]()\n\n[English](#english) | [简体中文](#简体中文) | [繁體中文](#繁體中文)\n\n\u003c/div\u003e\n\n---\n\n\u003ca name=\"english\"\u003e\u003c/a\u003e\n## 🇺🇸 English\n\n### 🎉 Project Introduction\n\n**DevUtils-CLI** is a lightweight, zero-dependency Python CLI toolbox designed specifically for developers. It provides 10+ practical command-line tools covering common development scenarios such as data format conversion, security encryption, text processing, and more.\n\n**Core Value Proposition:**\n- ⚡ **Zero Dependencies** - Uses only Python standard library, no installation hassles\n- 🔧 **Ready to Use** - Single-file executable, copy and run\n- 🚀 **Lightweight \u0026 Fast** - Startup in milliseconds, instant response\n- 🌐 **Cross-Platform** - Runs on Linux, macOS, and Windows\n- 📦 **Rich Features** - 10+ practical tools, continuously updated\n\n**Inspiration Sources:**\nInspired by excellent projects like [it-tools](https://github.com/CorentinTh/it-tools) (33.6k⭐), [sysbox](https://github.com/skx/sysbox), and [LoggiFly](https://github.com/clemcer/loggifly), but completely independently developed with unique differentiation.\n\n### ✨ Core Features\n\n| Tool | Icon | Description |\n|------|------|-------------|\n| **JSON Formatter** | 🔧 | Format and validate JSON data |\n| **Base64 Codec** | 🔐 | Base64 encoding and decoding |\n| **Password Generator** | 🔑 | Generate secure random passwords |\n| **UUID Generator** | 🆔 | Generate UUID v1/v3/v4/v5 |\n| **Hash Generator** | #️⃣ | MD5/SHA1/SHA256/SHA512 hashing |\n| **Timestamp Converter** | ⏰ | Unix timestamp and date conversion |\n| **URL Codec** | 🔗 | URL encoding and decoding |\n| **Case Converter** | 📝 | camelCase/PascalCase/snake_case/kebab-case |\n| **Lorem Ipsum** | 📄 | Generate placeholder text |\n| **QR Generator** | 📱 | ASCII QR code generation |\n\n### 🚀 Quick Start\n\n#### Requirements\n- **Python 3.7** or higher\n- No external dependencies required\n\n#### Installation\n\n**Method 1: Direct Download (Recommended)**\n```bash\n# Download the tool\ncurl -O https://raw.githubusercontent.com/gitstq/devutils-cli/main/devutils.py\n\n# Make it executable\nchmod +x devutils.py\n\n# Run directly\n./devutils.py --help\n```\n\n**Method 2: Install via pip**\n```bash\npip install devutils-cli\n```\n\n**Method 3: Clone Repository**\n```bash\ngit clone https://github.com/gitstq/devutils-cli.git\ncd devutils-cli\npython3 devutils.py --help\n```\n\n#### Quick Usage Examples\n\n```bash\n# Format JSON\ndevutils json --input '{\"name\":\"test\",\"version\":\"1.0.0\"}'\n\n# Generate a 20-character password with symbols\ndevutils password --length 20 --symbols\n\n# Generate 5 UUIDs\ndevutils uuid --count 5\n\n# Generate all hash types for a string\ndevutils hash --input \"hello world\" --all\n\n# View current timestamp\ndevutils timestamp\n\n# Base64 encode\ndevutils base64 --input \"Hello World\"\n\n# Convert to camelCase\ndevutils case --input \"hello world\" --camel\n\n# Generate 3 paragraphs of Lorem Ipsum\ndevutils lorem --paragraphs 3\n\n# Generate ASCII QR code\ndevutils qr --input \"https://example.com\"\n```\n\n### 📖 Detailed Usage Guide\n\n#### 🔧 JSON Formatter\n```bash\n# Format JSON\ndevutils json --input '{\"a\":1,\"b\":2}'\n\n# Minify JSON\ndevutils json --input '{\"a\": 1, \"b\": 2}' --minify\n\n# Interactive mode\ndevutils json\n```\n\n#### 🔐 Base64 Codec\n```bash\n# Encode\ndevutils base64 --input \"Hello World\"\n\n# Decode\ndevutils base64 --input \"SGVsbG8gV29ybGQ=\" --decode\n```\n\n#### 🔑 Password Generator\n```bash\n# Generate 16-character password (default)\ndevutils password\n\n# Generate 32-character password with symbols\ndevutils password --length 32 --symbols\n\n# Generate password without uppercase\ndevutils password --no-upper\n```\n\n#### 🆔 UUID Generator\n```bash\n# Generate one UUID v4 (default)\ndevutils uuid\n\n# Generate 10 UUIDs\ndevutils uuid --count 10\n\n# Generate UUID v1\ndevutils uuid --version 1\n\n# Output uppercase\ndevutils uuid --uppercase\n```\n\n#### #️⃣ Hash Generator\n```bash\n# Generate SHA256 hash (default)\ndevutils hash --input \"text\"\n\n# Generate specified algorithm\ndevutils hash --input \"text\" --algorithm md5\n\n# Generate all hash types\ndevutils hash --input \"text\" --all\n```\n\n#### ⏰ Timestamp Converter\n```bash\n# View current time\ndevutils timestamp\n\n# Timestamp to date\ndevutils timestamp --input \"1700000000\" --to-date\n\n# Date to timestamp\ndevutils timestamp --input \"2024-01-01 00:00:00\" --to-timestamp\n```\n\n### 💡 Design Philosophy \u0026 Iteration Plan\n\n**Design Philosophy:**\n1. **Simplicity First** - Each tool focuses on a single function\n2. **Zero Dependencies** - Uses only Python standard library\n3. **Developer-Centric** - Solves real development pain points\n4. **Terminal-Native** - Optimized for command-line workflows\n\n**Technology Stack Selection:**\n- **Language:** Python 3.7+ (wide compatibility)\n- **Architecture:** Modular design, easy to extend\n- **Interface:** argparse (standard library, no dependencies)\n\n**Iteration Plan:**\n- [ ] Add more encoding/decoding tools (Hex, HTML entities, etc.)\n- [ ] Add data conversion tools (CSV/JSON/YAML)\n- [ ] Add network tools (IP lookup, port scanner)\n- [ ] Add file processing tools (checksum, file search)\n- [ ] Support plugin system\n- [ ] Add configuration file support\n\n### 📦 Packaging \u0026 Deployment Guide\n\n**Local Build:**\n```bash\n# Build wheel package\npython3 setup.py bdist_wheel\n\n# Build source distribution\npython3 setup.py sdist\n```\n\n**Publish to PyPI:**\n```bash\n# Install build tools\npip install twine build\n\n# Build\npython -m build\n\n# Upload\ntwine upload dist/*\n```\n\n**Create Standalone Executable:**\n```bash\n# Install PyInstaller\npip install pyinstaller\n\n# Build executable\npyinstaller --onefile devutils.py --name devutils\n\n# Output in dist/ directory\n```\n\n### 🤝 Contributing Guide\n\nWe welcome community contributions! Please follow these guidelines:\n\n1. **Fork** the repository\n2. Create a **feature branch** (`git checkout -b feature/amazing-feature`)\n3. **Commit** your changes (`git commit -m 'feat: add amazing feature'`)\n4. **Push** to the branch (`git push origin feature/amazing-feature`)\n5. Open a **Pull Request**\n\n**Commit Message Convention:**\n- `feat:` New feature\n- `fix:` Bug fix\n- `docs:` Documentation update\n- `refactor:` Code refactoring\n- `test:` Test-related\n- `chore:` Build/tooling changes\n\n### 📄 License\n\nThis project is licensed under the **MIT License** - see [LICENSE](LICENSE) file for details.\n\n---\n\n\u003ca name=\"简体中文\"\u003e\u003c/a\u003e\n## 🇨🇳 简体中文\n\n### 🎉 项目介绍\n\n**DevUtils-CLI** 是一个轻量级、零依赖的 Python 命令行工具箱，专为开发者设计。它提供了 10+ 个实用的命令行工具，涵盖数据格式转换、安全加密、文本处理等常见开发场景。\n\n**核心价值主张：**\n- ⚡ **零依赖** - 仅使用 Python 标准库，无需安装烦恼\n- 🔧 **开箱即用** - 单文件可执行，复制即用\n- 🚀 **轻量快速** - 毫秒级启动，即时响应\n- 🌐 **跨平台** - 支持 Linux、macOS 和 Windows\n- 📦 **功能丰富** - 10+ 实用工具，持续更新\n\n**灵感来源：**\n受 [it-tools](https://github.com/CorentinTh/it-tools) (33.6k⭐)、[sysbox](https://github.com/skx/sysbox)、[LoggiFly](https://github.com/clemcer/loggifly) 等优秀项目启发，但完全独立开发，具有独特差异化。\n\n### ✨ 核心特性\n\n| 工具 | 图标 | 描述 |\n|------|------|------|\n| **JSON 格式化** | 🔧 | 格式化和验证 JSON 数据 |\n| **Base64 编解码** | 🔐 | Base64 编码和解码 |\n| **密码生成器** | 🔑 | 生成安全的随机密码 |\n| **UUID 生成器** | 🆔 | 生成 UUID v1/v3/v4/v5 |\n| **哈希生成器** | #️⃣ | MD5/SHA1/SHA256/SHA512 哈希 |\n| **时间戳转换器** | ⏰ | Unix 时间戳和日期转换 |\n| **URL 编解码** | 🔗 | URL 编码和解码 |\n| **大小写转换** | 📝 | camelCase/PascalCase/snake_case/kebab-case |\n| **Lorem Ipsum** | 📄 | 生成占位文本 |\n| **二维码生成** | 📱 | ASCII 二维码生成 |\n\n### 🚀 快速开始\n\n#### 环境要求\n- **Python 3.7** 或更高版本\n- 无需外部依赖\n\n#### 安装方法\n\n**方式一：直接下载（推荐）**\n```bash\n# 下载工具\ncurl -O https://raw.githubusercontent.com/gitstq/devutils-cli/main/devutils.py\n\n# 添加执行权限\nchmod +x devutils.py\n\n# 直接运行\n./devutils.py --help\n```\n\n**方式二：通过 pip 安装**\n```bash\npip install devutils-cli\n```\n\n**方式三：克隆仓库**\n```bash\ngit clone https://github.com/gitstq/devutils-cli.git\ncd devutils-cli\npython3 devutils.py --help\n```\n\n#### 快速使用示例\n\n```bash\n# 格式化 JSON\ndevutils json --input '{\"name\":\"test\",\"version\":\"1.0.0\"}'\n\n# 生成 20 位带符号的密码\ndevutils password --length 20 --symbols\n\n# 生成 5 个 UUID\ndevutils uuid --count 5\n\n# 为字符串生成所有哈希类型\ndevutils hash --input \"hello world\" --all\n\n# 查看当前时间戳\ndevutils timestamp\n\n# Base64 编码\ndevutils base64 --input \"Hello World\"\n\n# 转换为 camelCase\ndevutils case --input \"hello world\" --camel\n\n# 生成 3 段 Lorem Ipsum\ndevutils lorem --paragraphs 3\n\n# 生成 ASCII 二维码\ndevutils qr --input \"https://example.com\"\n```\n\n### 📖 详细使用指南\n\n#### 🔧 JSON 格式化器\n```bash\n# 格式化 JSON\ndevutils json --input '{\"a\":1,\"b\":2}'\n\n# 压缩 JSON\ndevutils json --input '{\"a\": 1, \"b\": 2}' --minify\n\n# 交互模式\ndevutils json\n```\n\n#### 🔐 Base64 编解码\n```bash\n# 编码\ndevutils base64 --input \"Hello World\"\n\n# 解码\ndevutils base64 --input \"SGVsbG8gV29ybGQ=\" --decode\n```\n\n#### 🔑 密码生成器\n```bash\n# 生成 16 位密码（默认）\ndevutils password\n\n# 生成 32 位带符号密码\ndevutils password --length 32 --symbols\n\n# 生成不含大写字母的密码\ndevutils password --no-upper\n```\n\n#### 🆔 UUID 生成器\n```bash\n# 生成一个 UUID v4（默认）\ndevutils uuid\n\n# 生成 10 个 UUID\ndevutils uuid --count 10\n\n# 生成 UUID v1\ndevutils uuid --version 1\n\n# 输出大写\ndevutils uuid --uppercase\n```\n\n#### #️⃣ 哈希生成器\n```bash\n# 生成 SHA256 哈希（默认）\ndevutils hash --input \"text\"\n\n# 生成指定算法\ndevutils hash --input \"text\" --algorithm md5\n\n# 生成所有哈希类型\ndevutils hash --input \"text\" --all\n```\n\n#### ⏰ 时间戳转换器\n```bash\n# 查看当前时间\ndevutils timestamp\n\n# 时间戳转日期\ndevutils timestamp --input \"1700000000\" --to-date\n\n# 日期转时间戳\ndevutils timestamp --input \"2024-01-01 00:00:00\" --to-timestamp\n```\n\n### 💡 设计思路与迭代规划\n\n**设计理念：**\n1. **简洁至上** - 每个工具专注单一功能\n2. **零依赖** - 仅使用 Python 标准库\n3. **开发者优先** - 解决真实开发痛点\n4. **终端原生** - 针对命令行工作流优化\n\n**技术选型：**\n- **语言：** Python 3.7+（兼容性广）\n- **架构：** 模块化设计，易于扩展\n- **界面：** argparse（标准库，零依赖）\n\n**迭代计划：**\n- [ ] 增加更多编解码工具（Hex、HTML 实体等）\n- [ ] 增加数据转换工具（CSV/JSON/YAML）\n- [ ] 增加网络工具（IP 查询、端口扫描）\n- [ ] 增加文件处理工具（校验和、文件搜索）\n- [ ] 支持插件系统\n- [ ] 增加配置文件支持\n\n### 📦 打包与部署指南\n\n**本地构建：**\n```bash\n# 构建 wheel 包\npython3 setup.py bdist_wheel\n\n# 构建源码分发\npython3 setup.py sdist\n```\n\n**发布到 PyPI：**\n```bash\n# 安装构建工具\npip install twine build\n\n# 构建\npython -m build\n\n# 上传\ntwine upload dist/*\n```\n\n**创建独立可执行文件：**\n```bash\n# 安装 PyInstaller\npip install pyinstaller\n\n# 构建可执行文件\npyinstaller --onefile devutils.py --name devutils\n\n# 输出在 dist/ 目录\n```\n\n### 🤝 贡献指南\n\n欢迎社区贡献！请遵循以下规范：\n\n1. **Fork** 本仓库\n2. 创建**功能分支** (`git checkout -b feature/amazing-feature`)\n3. **提交**更改 (`git commit -m 'feat: add amazing feature'`)\n4. **推送**到分支 (`git push origin feature/amazing-feature`)\n5. 发起 **Pull Request**\n\n**提交信息规范：**\n- `feat:` 新功能\n- `fix:` 修复问题\n- `docs:` 文档更新\n- `refactor:` 代码重构\n- `test:` 测试相关\n- `chore:` 构建/工具变更\n\n### 📄 开源协议\n\n本项目采用 **MIT License** 开源协议 - 详见 [LICENSE](LICENSE) 文件。\n\n---\n\n\u003ca name=\"繁體中文\"\u003e\u003c/a\u003e\n## 🇹","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitstq%2Fdevutils-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgitstq%2Fdevutils-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitstq%2Fdevutils-cli/lists"}