Pyhtool lets Python control the mouse and keyboard, and other GUI automation tasks. For Windows, macOS, and Linux
Project description
pyhtool
📚简介
pyhtool是一个小而全的Python工具类库,借鉴Java的Hutool
pyhtool中的工具方法来自每个用户的精雕细琢,它涵盖了Python开发底层代码中的方方面面,它既是大型项目开发中解决小问题的利器,也是小型项目中的效率担当
pyhtool是项目中“util”包友好的替代,它节省了开发人员对项目中公用类和公用工具方法的封装时间,使开发专注于业务,同时可以最大限度的避免封装不完善带来的bug
🍺pyhtool如何改变我们的coding方式
pyhtool的目标是使用一个工具方法代替一段复杂代码,从而最大限度的避免“复制粘贴”代码的问题,彻底改变我们写代码的方式。 以截图为例:
- 👴【以前】打开搜索引擎 -> 搜“Python 截图” -> 打开某篇博客-> 复制粘贴 -> 改改好用
- 👦【现在】引入pyhtool -> gui.screenshot('test.png') pyhtool的存在就是为了减少代码搜索成本,避免网络上参差不齐的代码出现导致的bug。
🛠️包含组件
| 模块 | 介绍 |
|---|---|
| pyhtool.core | 核心,包括文件处理、数据转换、日期、各种Util等 |
| pyhtool.gui | 自动化库,包含按键、鼠标、截图的操作等 |
| pyhtool.system | 获取系统相关信息,如显示器数量,当前窗口标题,系统运行的应用信息 |
| pyhtool.crypto | 加密解密模块,提供对称、非对称和摘要算法封装 |
| pyhtool.blockchain | 区块链相关类库封装 |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyhtool-0.1.1.tar.gz.
File metadata
- Download URL: pyhtool-0.1.1.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e5465723e1ba1abb3c350006a7a989ed1b9642b23dc97c2ae77a43e646c8ca77
|
|
| MD5 |
6321ede192ff01f43501b4c938bc7609
|
|
| BLAKE2b-256 |
675b915dc9bb0ba5bb6d2d60c44af6c76dcc311fc1b6401372d22ae754f3f3d3
|
File details
Details for the file pyhtool-0.1.1-py3-none-any.whl.
File metadata
- Download URL: pyhtool-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2888f4bc107d519091c4aba3bcb14b4dc89358e8bd9493cf7adc6d04d6dbd913
|
|
| MD5 |
aaca5453e6fcbab6400e24026495a894
|
|
| BLAKE2b-256 |
b74c584db7cee3452bba52c22cd674172d159325bdc60b2831945ca1fdf52248
|