wxauto
Windows版本微信客户端(非网页版)自动化,可实现简单的发送、接收微信消息,简单微信机器人
Python library for automating the WeChat desktop app on Windows, letting scripts send and receive messages programmatically to build simple bots or automate repetitive messaging tasks.
wxauto is a Python library for automating the desktop WeChat client on Windows. WeChat is a widely used messaging app in China, and this library lets Python scripts interact with the native Windows application rather than a web-based version. Using it, you can programmatically send and receive messages, which is the foundation for building simple WeChat bots or automating repetitive messaging tasks.
The library works by driving the WeChat desktop application through UI automation, meaning it reads and controls the app's on-screen interface the same way a person would click and type. It requires Windows 10, Windows 11, or Windows Server 2016 or newer, WeChat version 3.9.x, and Python 3.9 or higher.
The README is brief and points to external documentation at docs.wxauto.org for full usage details. The project includes a disclaimer stating the code is intended for learning about UI automation techniques only, and that it should not be used in production projects, for commercial purposes, or for any illegal activity.
Where it fits
- Build a WeChat bot that monitors incoming messages and sends automatic replies
- Automate sending bulk notifications or reminders through WeChat to a contact list
- Learn how UI automation works by studying how the library drives the WeChat desktop interface