Skip to main content

AWIP Tools - 统一的 CLI 工具平台

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


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

Uploaded Source

Built Distribution

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

awip_tools-0.2.9-py3-none-any.whl (166.0 kB view details)

Uploaded Python 3

File details

Details for the file awip_tools-0.2.9.tar.gz.

File metadata

  • Download URL: awip_tools-0.2.9.tar.gz
  • Upload date:
  • Size: 90.9 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

Hashes for awip_tools-0.2.9.tar.gz
Algorithm Hash digest
SHA256 961c4bbd1b5d483b7e2f9aae3373437021d7d3cc5fcde223fa021e29c68f83d9
MD5 7cee7464e5ceff110ab683401a34616e
BLAKE2b-256 90a285973fada5867909395a4dd2973565ae6bcc30613f0366cda60bfd2fca74

See more details on using hashes here.

File details

Details for the file awip_tools-0.2.9-py3-none-any.whl.

File metadata

  • Download URL: awip_tools-0.2.9-py3-none-any.whl
  • Upload date:
  • Size: 166.0 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

Hashes for awip_tools-0.2.9-py3-none-any.whl
Algorithm Hash digest
SHA256 875b13d310d424fd14c6d47b636352d1ebddfdb0783edb092e3868d353e44dbf
MD5 0e4d58d1d8e88e00a0c0a61f31b46e87
BLAKE2b-256 805136a3ad5d8eb1370725d2e0d5717ec27de0869e39b51643f91089ebae3167

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