Skip to main content

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

Metadata

Release files for awip-tools 0.2.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for awip-tools 0.2.10
File Size Uploaded
awip_tools-0.2.10.tar.gz 117.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for awip-tools 0.2.10
File Interpreter ABI Platform
awip_tools-0.2.10-py3-none-any.whl Python 3 none any Details

Total release size: 335.9 kB

Release files / awip_tools-0.2.10.tar.gz

Download URL awip_tools-0.2.10.tar.gz
Size 117.2 kB
Tags Source
SHA-256 checksum
How to use checksums
47eeb851d5005b34a9015338e16973b7c64f849afca113b3aa2930c665069450
BLAKE2b-256 checksum
How to use checksums
37d886c0422a5c2800ffef6d25ba47641ddbef6ea5f5d92907b948e877c87194
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / awip_tools-0.2.10-py3-none-any.whl

Download URL awip_tools-0.2.10-py3-none-any.whl
Size 218.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
21bc57bd2001a450940dfe1c1f80e542c2fcfb77b262bce552d11d69c57677d5
BLAKE2b-256 checksum
How to use checksums
4a62ee84d60501432837f288119cf0be3968a22864966c57e2b7f6dfb6dd0046
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.2.10 This release

2 release files

0.2.9

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page