python工具箱,使用方便。
ztools的Python项目详细描述
ToolBox for Python, Easy to Use.
概述
ztools模块封装了使用Python语言编写的工具。
- 工程主页: https://github.com/zoumingzhe/ztools
- 下载地址: https://pypi.python.org/pypi/ztools
- 法律许可: MIT license , (C) 2018 ZouMingzhe <zoumingzhe@qq.com>
安装
通过pip命令安装ztools模块:
pip install ztools
如果已经安装ztools模块,可以通过pip命令更新:
pip install --upgrade ztools
更多安装信息请查阅 安装文档 。
工具
- Timeout: https://github.com/zoumingzhe/ztools/blob/master/ztools/ztools/Timeout.py
- 超时,提供超时判断。
- ProgressBar: https://github.com/zoumingzhe/ztools/blob/master/ztools/ztools/ProgressBar.py
- 进度条,提供进度条显示。
- Plot: https://github.com/zoumingzhe/ztools/blob/master/ztools/ztools/Plot.py
- 绘图,提供基于matplotlib的绘图功能。
- File: https://github.com/zoumingzhe/ztools/blob/master/ztools/ztools/File.py
- 文件,提供文件访问与相关操作。
- Xls: https://github.com/zoumingzhe/ztools/blob/master/ztools/ztools/Xls.py
- Excle,提供对dui.xls文件访问与相关操作。
- MySQL: https://github.com/zoumingzhe/ztools/blob/master/ztools/ztools/MySQL.py
- MySQL数据库,提供基于pymysql的MySQL数据库访问。
例程
例程存放在工程文件的 examples 目录下。
测试
单元测试存放在工程文件的 test 目录下。
支持
本项目由 ZouMingzhe <zoumingzhe@qq.com> 创建并维护。
为了完善ztools模块的功能,欢迎您贡献代码至: https://github.com/zoumingzhe/ztools