reywechat-hook
reywechat-hook is a WeChat client Hook package based on port communication.
This package provides WeChat client Hook functionality. It enables control and interaction with the WeChat client through port communication and can be used together with the reywechat WeChat client control framework.
Note: reywechat-hook must run in a 32-bit Python environment and requires the 32-bit WeChat client version 4.1.2.17 to be installed.
Features
- Provides WeChat client Hook functionality
- Supports communication through ports
- Supports WeChat client control and interaction
- Provides a unified WeChat client Hook object
- Supports Hook injection
- Supports Hook status management
- Supports retrieving WeChat client status
- Provides port communication functionality
- Can be used with the
reywechatcontrol framework - Supports independently starting the Hook communication service
Installation
Requires Python 3.12 or higher.
The following runtime requirements must also be met:
- 32-bit Python
- 32-bit WeChat client version 4.1.2.17
Installation:
pip install reywechat-hook
Quick Start
The basic startup method is:
from reywechat_hook import WeChatHook
hook = WeChatHook()
hook.start_socket()
Where:
WeChatHook: The WeChat client Hook object provided by reywechat-hookstart_socket(): Starts the port communication service, allowing other programs to communicate with the Hook program through the port
After starting the Hook program, it can be used together with the reywechat package to control and interact with the WeChat client through port communication.
Note: The Hook program must be started using 32-bit Python, and the system must have the 32-bit WeChat client version 4.1.2.17 installed.
Folders
reywechat-hook contains files required for running the Hook program.
data — Data files
Data file directory.
Used to store the DLL files required by the Hook program.
These files provide the program components required for hooking the WeChat client.
Modules
reywechat-hook is divided into multiple modules by functionality. Each module provides different Hook and communication capabilities.
rall — All import methods
Unified import module.
Provides convenient exports for all methods and objects in reywechat-hook. This module allows framework functionality to be imported from a single location, reducing the need to import from multiple modules separately.
rbase — Base methods
Base module.
Provides dependency methods and basic functionality shared by other modules.
It is mainly used to provide common dependencies and basic processing capabilities for other modules.
rhook — Hook methods
WeChat client Hook module.
Provides the WeChat client Hook object and serves as the primary functional module of reywechat-hook.
Main features include:
- WeChat client Hook injection
- Hook status management
- WeChat client status retrieval
- Port communication
- WeChat client control
- Hook program runtime management
Through the Hook object, WeChat client Hook injection and port communication with other programs can be performed.
Module Overview
| Module | Function |
|---|---|
rall |
Unified export of all methods |
rbase |
Base methods and common dependencies |
rhook |
WeChat client Hook, status, and port communication |
Dependencies
This package has no Python third-party dependencies.
The following runtime requirements must be met:
- Python 3.12 or higher
- 32-bit Python
- 32-bit WeChat client version 4.1.2.17
Project Information
| Project | Information |
|---|---|
| Name | reywechat-hook |
| Version | 1.0.12 |
| Python | >=3.12 |
| Author | Rey |
reyxbo@163.com |
|
| Homepage | REYXBO |
| Repository | reywechat-hook-py |
Keywords
rey · reyxbo · wechat · robot · receive · send · client · hook
Metadata
Release files for reywechat-hook 1.0.14
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| reywechat_hook-1.0.14.tar.gz | 13.3 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| reywechat_hook-1.0.14-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 26.6 MB
Release files / reywechat_hook-1.0.14.tar.gz
| Download URL | reywechat_hook-1.0.14.tar.gz |
|---|---|
| Size | 13.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d6687bb92d9cf2b4f4312d47d613ff5800da4cac001f825cdee14d081ed41e62
|
|
BLAKE2b-256 checksum How to use checksums |
cb003e2dcd5b62af6ac0bc357dfe637c745260a791624f2cf461702d23c472c7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.12
|
Release files / reywechat_hook-1.0.14-py3-none-any.whl
| Download URL | reywechat_hook-1.0.14-py3-none-any.whl |
|---|---|
| Size | 13.3 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d39ea3f47515fcd991e26f67cd46540f6616cf6911ad052677668a68f97d5b25
|
|
BLAKE2b-256 checksum How to use checksums |
5bd9488ac9fd17908332c58d1200ad4335af0b23ca2a1ba95a2e4d971debde46
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.12
|