pywxauto
基于 UIAutomation 的微信自动化 Python 库,支持消息发送、聊天监听等功能,适用于机器人开发、自动化办公等场景。
构建
生成 .pyd 文件(Cython 编译)
将 pywxauto/wx.py 编译为 .pyd 二进制扩展模块,用于分发时保护源码。
前置条件:
pip install cython- 安装 Microsoft Visual C++ Build Tools(Visual Studio Installer → "使用 C++ 的桌面开发" 工作负载)
生成命令:
python build_pyd.py
编译后的 .pyd 文件会生成在 pywxauto/ 目录下,如 pywxauto/wx.cp312-win_amd64.pyd。
生成 .pyi 文件(类型存根)
生成 .pyi 类型存根文件,为 IDE 提供代码补全和类型检查支持。
前置条件:
pip install mypy
生成命令:
stubgen pywxauto/wx.py -o . --include-docstrings
生成的 pywxauto/wx.pyi 文件包含所有公开类和函数的类型签名及文档字符串。
Metadata
Release files for pywxauto 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pywxauto-1.1.0.tar.gz | 22.8 MB | Without provenance | Details for pywxauto-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pywxauto-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for pywxauto-1.1.0-py3-none-any.whl |
Total release size: 45.7 MB
Release files / pywxauto-1.1.0.tar.gz
| Download URL | pywxauto-1.1.0.tar.gz |
|---|---|
| Size | 22.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
21ec07c77eb352a4ce05c9202bbfc699a9846928d6166cff11321b2ff0e45d33
|
|
BLAKE2b-256 checksum How to use checksums |
ea6e989edd58284a8ddae2e870ec1c65d37c95ae84aab39dc7bd042fc4636f29
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.30 {"installer":{"name":"uv","version":"0.11.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / pywxauto-1.1.0-py3-none-any.whl
| Download URL | pywxauto-1.1.0-py3-none-any.whl |
|---|---|
| Size | 22.9 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
78165183e3ae9bbf791363010aa7fcf718a9757a414272fd8ff16e6d6f7320bb
|
|
BLAKE2b-256 checksum How to use checksums |
534a6197ef390770e9d39ba799ddd19719fe892fffe2f7479c17079bb41afd9f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.30 {"installer":{"name":"uv","version":"0.11.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for pywxauto 1.1.0
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.