Skip to main content

pywxauto

基于 UIAutomation 的微信自动化 Python 库,支持消息发送、聊天监听等功能,适用于机器人开发、自动化办公等场景。

构建

生成 .pyd 文件(Cython 编译)

pywxauto/wx.py 编译为 .pyd 二进制扩展模块,用于分发时保护源码。

前置条件:

  1. pip install cython
  2. 安装 Microsoft Visual C++ Build Tools(Visual Studio Installer → "使用 C++ 的桌面开发" 工作负载)

生成命令:

python build_pyd.py

编译后的 .pyd 文件会生成在 pywxauto/ 目录下,如 pywxauto/wx.cp312-win_amd64.pyd

生成 .pyi 文件(类型存根)

生成 .pyi 类型存根文件,为 IDE 提供代码补全和类型检查支持。

前置条件:

  1. pip install mypy

生成命令:

stubgen pywxauto/wx.py -o . --include-docstrings

生成的 pywxauto/wx.pyi 文件包含所有公开类和函数的类型签名及文档字符串。

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pywxauto-1.1.0.tar.gz (22.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pywxauto-1.1.0-py3-none-any.whl (22.9 MB view details)

Uploaded Python 3

File details

Details for the file pywxauto-1.1.0.tar.gz.

File metadata

  • Download URL: pywxauto-1.1.0.tar.gz
  • Upload date:
  • Size: 22.8 MB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for pywxauto-1.1.0.tar.gz
Algorithm Hash digest
SHA256 21ec07c77eb352a4ce05c9202bbfc699a9846928d6166cff11321b2ff0e45d33
MD5 69c969ad1dddb10c63b54bf9ef96daa1
BLAKE2b-256 ea6e989edd58284a8ddae2e870ec1c65d37c95ae84aab39dc7bd042fc4636f29

See more details on using hashes here.

File details

Details for the file pywxauto-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: pywxauto-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 22.9 MB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for pywxauto-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 78165183e3ae9bbf791363010aa7fcf718a9757a414272fd8ff16e6d6f7320bb
MD5 35504f08d3810241ffe1148a1257c52f
BLAKE2b-256 534a6197ef390770e9d39ba799ddd19719fe892fffe2f7479c17079bb41afd9f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page