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.10.tar.gz (117.2 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.10-py3-none-any.whl (218.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: awip_tools-0.2.10.tar.gz
  • Upload date:
  • Size: 117.2 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.10.tar.gz
Algorithm Hash digest
SHA256 47eeb851d5005b34a9015338e16973b7c64f849afca113b3aa2930c665069450
MD5 5b511b7d41f1e0bb94ca87c1853ffd77
BLAKE2b-256 37d886c0422a5c2800ffef6d25ba47641ddbef6ea5f5d92907b948e877c87194

See more details on using hashes here.

File details

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

File metadata

  • Download URL: awip_tools-0.2.10-py3-none-any.whl
  • Upload date:
  • Size: 218.7 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.10-py3-none-any.whl
Algorithm Hash digest
SHA256 21bc57bd2001a450940dfe1c1f80e542c2fcfb77b262bce552d11d69c57677d5
MD5 6fafab1e0d949771e01242bb496319d7
BLAKE2b-256 4a62ee84d60501432837f288119cf0be3968a22864966c57e2b7f6dfb6dd0046

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