# mrsanshui/WeChatPYAPI

基于微信PC端的Python接口，开发者可通过Python轻松调用。实现微信机器人、群管理等强大的功能！3.9.10.19、4.0、4.x、x64、微信hook、微信接口

Repository: https://github.com/mrsanshui/WeChatPYAPI
Canonical: https://ross.abutalabs.com/products/wechatpyapi
Language: Python
License Family: other
Topics: python, wechatapi, weixin, wechatpy, wechat, weixin-api
Last push: 2026-08-24T16:30:07+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 35, longevity 100
- inputs: {"age_days": 1861, "days_push": 9, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1050, forks 225 (observed 2026-08-28T04:03:22.997088+00:00)

## What it is
A Python API built on top of the PC WeChat client that lets developers programmatically control WeChat via Python or HTTP calls. It enables building WeChat bots, automating messaging, and managing group chats by hooking into the desktop client.

## Use cases
- build a wechat chatbot in python
- automatically reply to wechat messages
- manage wechat group members and group names
- accept friend requests automatically
- download images and videos from wechat messages
- send scheduled messages via wechat
- monitor incoming wechat messages with a callback

## When to choose
- you need programmatic control of the WeChat PC client from Python
- you want to build a WeChat bot or group management tool on Windows
- you need message callbacks plus friend/group operations in one API

## When to avoid
- you need an official, ToS-compliant WeChat integration
- your stack is Linux or macOS since it hooks the Windows PC client
- you need a maintained open-source solution without a paid professional tier

## Facets
- artifact type: library
- maturity: active
- function: sdk, http-client, chatbot, workflow-automation
- domain: messaging-platforms, developer-tools, chatbots
- platform: windows, python, cli
- tags: wechat, wechat-bot, hook, reverse-engineering, group-management, unofficial-api, automation

## Member repositories
- mrsanshui/WeChatPYAPI (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:22.997088+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:00:23.349639+00:00, confidence not recorded.
  - readme: https://github.com/mrsanshui/WeChatPYAPI (fetched 2026-08-28T04:03:22.997088+00:00, sha 206ce12cffd4)
- Data as of 2026-08-30T08:39:29.467469+00:00.
