Metadata-Version: 2.4
Name: gou2tool
Version: 0.3.57
Summary: 🐶 Python工具类库 更加快速的开发项目 便捷优雅的使用类库
Home-page: https://gitee.com/kingood/gou2tool
Author: kingood
Author-email: wl4837@qq.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Provides-Extra: office
Requires-Dist: openpyxl<3.1.0,>=3.0.10; python_version < "3.8" and extra == "office"
Requires-Dist: openpyxl>=3.1.0; python_version >= "3.8" and extra == "office"
Requires-Dist: xlrd>=2.0.1; extra == "office"
Requires-Dist: xlwt>=1.3.0; extra == "office"
Provides-Extra: dev
Requires-Dist: pytest>=6.0; extra == "dev"
Requires-Dist: twine>=3.0; extra == "dev"
Requires-Dist: build>=0.10.0; extra == "dev"
Provides-Extra: all
Requires-Dist: openpyxl<3.1.0,>=3.0.10; python_version < "3.8" and extra == "all"
Requires-Dist: openpyxl>=3.1.0; python_version >= "3.8" and extra == "all"
Requires-Dist: xlrd>=2.0.1; extra == "all"
Requires-Dist: xlwt>=1.3.0; extra == "all"
Requires-Dist: pytest>=6.0; extra == "all"
Requires-Dist: twine>=3.0; extra == "all"
Requires-Dist: build>=0.10.0; extra == "all"
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license-file
Dynamic: provides-extra
Dynamic: requires-python
Dynamic: summary

# GouTool

#### 介绍

GouTool（包名 `gou2tool`）是面向 Python 项目开发的工具库，提供数据库链式查询、Excel 读写、本地文件同步部署，以及树形结构、字符串、日期、路径和常用业务数据处理工具。通过统一的工具接口减少重复代码，方便在项目中直接使用；文件部署也支持命令行调用。

#### 安装
bash

# 通过 pip 安装
pip install gou2tool

# 或从源码安装
cd gou2tool
pip install .

#### 快速开始

数据库链式查询、参数绑定和事务用法见 [DBUtil 使用文档](docs/DBUtil.md)。

本地文件同步部署和命令行用法见 [DeployUtil 使用文档](docs/DeployUtil.md)。

Excel 导入、导出及单元格修改见 [Xlsx 使用案例](docs/Xlsx.md)。

远程命令、文件传输和端口映射见 [SSHUtil 使用文档](docs/SSHUtil.md)。

Webhook 请求、消息发送和签名见 [WebHookUtil 使用文档](docs/WebHookUtil.md)。

运行时配置管理见 [ConfigUtil 使用文档](docs/ConfigUtil.md)。

环境变量和环境文件读取见 [EnvUtil 使用文档](docs/EnvUtil.md)。

内存、文件缓存和标签管理见 [CacheUtil 使用文档](docs/CacheUtil.md)。

参数化 SQL 模板操作见 [DBTemplateUtil 使用文档](docs/DBTemplateUtil.md)。

#### 参与贡献

1. Fork 本仓库
2. 新建 Feat_xxx 分支
3. 提交代码
4. 新建 Pull Request

#### 开发环境

- Python >= 3.6
- 项目依赖见 `requirements.txt`

#### 运行测试

```
bash
# 运行所有测试
python -m unittest discover tests

# 运行单个测试
python -m unittest tests.tree_util
```
#### 发布

```
bash
# 本地构建
python setup.py sdist bdist_wheel

# 发布到 PyPI
twine upload dist/*
```
#### 许可证

MIT License

#### 联系方式

- Author: wl4837
- Email: wl4837@163.com

---

🎉 希望 GouTool 能让你的开发工作更加高效愉快！
```
