Skip to main content

GouTool

介绍

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

安装

bash

通过 pip 安装

pip install gou2tool

或从源码安装

cd gou2tool pip install .

快速开始

数据库链式查询、参数绑定和事务用法见 DBUtil 使用文档。

本地文件同步部署和命令行用法见 DeployUtil 使用文档。

Excel 导入、导出及单元格修改见 Xlsx 使用案例。

远程命令、文件传输和端口映射见 SSHUtil 使用文档。

Webhook 请求、消息发送和签名见 WebHookUtil 使用文档。

参与贡献

  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

联系方式


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

Metadata

Release files for gou2tool 0.3.55

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

Source distribution (sdist)

Source distribution for gou2tool 0.3.55
File Size Uploaded Provenance Actions
gou2tool-0.3.55.tar.gz 625.2 kB Without provenance Details for gou2tool-0.3.55.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for gou2tool 0.3.55
File Interpreter ABI Platform Actions
gou2tool-0.3.55-py3-none-any.whl Python 3 none any Details for gou2tool-0.3.55-py3-none-any.whl

Total release size: 1.3 MB

Release files / gou2tool-0.3.55.tar.gz

Download URL gou2tool-0.3.55.tar.gz
Size 625.2 kB
Tags Source
SHA-256 checksum
How to use checksums
9670d5894b31ada07ebb05bdc2d91e024b1f4f2959c34710c81e286f77c36f0a
BLAKE2b-256 checksum
How to use checksums
397de65fb13c8030105ae08cff3f08d53ef8221c7177466705d98242c212443b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Release files / gou2tool-0.3.55-py3-none-any.whl

Download URL gou2tool-0.3.55-py3-none-any.whl
Size 701.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cb2f4d2936567ce42acb356a852f7fb6af01d9c97ee8e48399daf88902839189
BLAKE2b-256 checksum
How to use checksums
76d51a000d149bb2eed075ac7d11a3b78ff77cc991b1b86f059f3fca9409d5a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Security for gou2tool 0.3.55

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.3.55 This release

2 release files No provenance

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