Skip to main content

中文

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 reywechat control 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-hook
  • start_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
Email reyxbo@163.com
Homepage reyxbo.com
Repository reywechat-hook-py

Keywords

rey · reyxbo · wechat · robot · receive · send · client · hook

Metadata

Release files for reywechat-hook 1.0.13

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for reywechat-hook 1.0.13
File Size Uploaded
reywechat_hook-1.0.13.tar.gz 13.3 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for reywechat-hook 1.0.13
File Interpreter ABI Platform
reywechat_hook-1.0.13-py3-none-any.whl Python 3 none any Details

Total release size: 26.6 MB

Release files / reywechat_hook-1.0.13.tar.gz

Download URL reywechat_hook-1.0.13.tar.gz
Size 13.3 MB
Tags Source
SHA-256 checksum
How to use checksums
62f51e3aedf937b30f75e6e482dd63c8963f925d967e8b106410b349e1743099
BLAKE2b-256 checksum
How to use checksums
3041be8a3a11ab359566c07156c5c2d4fe727b4264ed8923571a0b5ba343d632
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.12

Release files / reywechat_hook-1.0.13-py3-none-any.whl

Download URL reywechat_hook-1.0.13-py3-none-any.whl
Size 13.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
805da1593851bf80b5d304d8e0ec6bce9176c978eab07ff41134aa44938915c6
BLAKE2b-256 checksum
How to use checksums
98a36ccb5d78010c872435449e935bf19bb240b5075d1639aee6f02505500b44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.12

Release history Release notifications | RSS feed

This release

1.0.13 This release

2 release files

1.0.12

1 release file

1.0.11

1 release file

1.0.10

2 release files

1.0.9

1 release file

1.0.8

1 release file

1.0.7

1 release file

1.0.6

1 release file

1.0.5

1 release file

1.0.4

1 release file

1.0.3

1 release file

1.0.2

1 release file

1.0.1

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page