AWIP Tools - 命令行工具集
Project description
AWIP Tools
一个基于 Python 的命令行工具集,提供服务管理、文件处理和数据处理功能。
安装
方式一:使用 Conda(推荐)
# 创建 conda 环境并安装依赖
conda env create -f environment.yml
# 激活环境
conda activate awip
方式二:使用 pip
# 开发模式安装
pip install -e ".[dev]"
使用
# 查看帮助
awip --help
# 服务管理
awip service init
awip service start
awip service status
# 文件处理
awip file convert input.txt output.json
awip file compress ./data
# 数据处理
awip data analyze data.csv
awip data export --format json
版本管理
# 显示当前版本
./scripts/version.sh show
# 设置版本号
./scripts/version.sh set 1.0.0
# 升级版本号
./scripts/version.sh bump patch # 0.1.0 -> 0.1.1
./scripts/version.sh bump minor # 0.1.0 -> 0.2.0
./scripts/version.sh bump major # 0.1.0 -> 1.0.0
# 同步所有文件版本
./scripts/version.sh sync
# 检查版本一致性
./scripts/version.sh check
发布
# 发布当前版本
./scripts/release.sh
# 升级版本并发布
./scripts/release.sh patch
# 模拟发布(不实际发布)
./scripts/release.sh --dry-run
# 发布到 TestPyPI
./scripts/release.sh --test
开发
# 运行测试
pytest
# 代码格式化
black src/ tests/
# 代码检查
ruff check src/ tests/
文档
许可证
MIT License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
awip_tools-0.1.0.tar.gz
(25.3 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
File details
Details for the file awip_tools-0.1.0.tar.gz.
File metadata
- Download URL: awip_tools-0.1.0.tar.gz
- Upload date:
- Size: 25.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Hatch/1.17.0 {"ci":null,"cpu":"arm64","distro":{"name":"macOS","version":"15.0.1"},"implementation":{"name":"CPython","version":"3.12.13"},"installer":{"name":"hatch","version":"1.17.0"},"openssl_version":"OpenSSL 3.5.6 7 Apr 2026","python":"3.12.13","system":{"name":"Darwin","release":"24.0.0"}} HTTPX2/2.3.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bea03ee46fb026b64891c33f9d50aa5a93d7233393ef77761429b0613c274f26
|
|
| MD5 |
cecc78f3097f4cd393337a713647b64b
|
|
| BLAKE2b-256 |
a8bce83185b7de1f901ab5166ea8248a2a7b87cc932b72ed469dc2f4cc3ef035
|
File details
Details for the file awip_tools-0.1.0-py3-none-any.whl.
File metadata
- Download URL: awip_tools-0.1.0-py3-none-any.whl
- Upload date:
- Size: 11.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: Hatch/1.17.0 {"ci":null,"cpu":"arm64","distro":{"name":"macOS","version":"15.0.1"},"implementation":{"name":"CPython","version":"3.12.13"},"installer":{"name":"hatch","version":"1.17.0"},"openssl_version":"OpenSSL 3.5.6 7 Apr 2026","python":"3.12.13","system":{"name":"Darwin","release":"24.0.0"}} HTTPX2/2.3.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a66718b63f25714e5625a6365bf72a2f99d785d8145743ead8ce83ff08c4ea1
|
|
| MD5 |
b91ea225e7fe383a2b73853b57b8fd40
|
|
| BLAKE2b-256 |
4fb09ca8361d0a95f8eabb49139f572cba932b716e5dcc1a41214866b149bcfc
|