Metadata-Version: 2.4
Name: awip-tools
Version: 0.1.0
Summary: AWIP Tools - 命令行工具集
Project-URL: Homepage, https://github.com/yourusername/awip-tools
Project-URL: Documentation, https://github.com/yourusername/awip-tools#readme
Project-URL: Repository, https://github.com/yourusername/awip-tools
Project-URL: Issues, https://github.com/yourusername/awip-tools/issues
Author-email: Your Name <your.email@example.com>
License-Expression: MIT
Keywords: automation,cli,data-processing,file-processing,tools
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.12
Requires-Dist: pyyaml>=6.0
Requires-Dist: rich>=13.0
Requires-Dist: typer>=0.9.0
Provides-Extra: dev
Requires-Dist: black>=23.0; extra == 'dev'
Requires-Dist: pytest-cov>=4.0; extra == 'dev'
Requires-Dist: pytest>=7.0; extra == 'dev'
Requires-Dist: ruff>=0.1.0; extra == 'dev'
Description-Content-Type: text/markdown

# AWIP Tools

一个基于 Python 的命令行工具集，提供服务管理、文件处理和数据处理功能。

## 安装

### 方式一：使用 Conda（推荐）

```bash
# 创建 conda 环境并安装依赖
conda env create -f environment.yml

# 激活环境
conda activate awip
```

### 方式二：使用 pip

```bash
# 开发模式安装
pip install -e ".[dev]"
```

## 使用

```bash
# 查看帮助
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
```

## 版本管理

```bash
# 显示当前版本
./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
```

## 发布

```bash
# 发布当前版本
./scripts/release.sh

# 升级版本并发布
./scripts/release.sh patch

# 模拟发布（不实际发布）
./scripts/release.sh --dry-run

# 发布到 TestPyPI
./scripts/release.sh --test
```

## 开发

```bash
# 运行测试
pytest

# 代码格式化
black src/ tests/

# 代码检查
ruff check src/ tests/
```

## 文档

- [项目架构文档](docs/awip项目架构文档.md)
- [使用说明](docs/awi使用文档说明.md)
- [发布说明](docs/awip工具部发布说明.md)
- [变更日志](CHANGELOG.md)

## 许可证

MIT License