# wechatpy/wechatpy

WeChat SDK for Python

Repository: https://github.com/wechatpy/wechatpy
Canonical: https://ross.abutalabs.com/products/wechatpy
Homepage: https://wechatpy.readthedocs.io/
Language: Python
License: MIT
License Family: permissive
Topics: python, wechat, sdk, wechat-sdk, weixin, weixin-sdk, wechatpy
Last push: 2026-05-19T17:29:46+00:00

## Health v2 (maintenance only)
Score: 60/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 83, release rhythm 8, longevity 100
- inputs: {"age_days": 4373, "days_push": 106, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4299, forks 821 (observed 2026-08-28T04:08:41.557728+00:00)

## What it is
wechatpy is a third-party Python SDK for the WeChat (微信) official platform ecosystem. It wraps APIs for official accounts, WeChat Pay, WeCom (enterprise WeChat), third-party platform delegation, and mini-program cloud development.

## Use cases
- build a WeChat official account bot in Python
- integrate WeChat Pay into a web app
- handle WeChat message callbacks and passive replies
- manage WeCom enterprise messaging from Python
- call mini-program cloud development APIs
- operate multiple official accounts via third-party platform APIs

## When to choose
- you need a mature, well-documented Python wrapper for WeChat APIs
- you want one SDK covering official accounts, payments, and enterprise WeChat
- you prefer MIT-licensed libraries with active maintenance

## When to avoid
- you are integrating with platforms other than WeChat
- you need official first-party SDK support or TypeScript/Node tooling
- your project requires features newer than the SDK's release cadence

## Facets
- artifact type: library
- maturity: active
- function: sdk, http-client, auth, webhook
- domain: apis, messaging-platforms, web-development, backend
- platform: python, cross-platform
- tags: wechat, weixin, wechat-pay, official-account, mini-program, wecom, chinese-platforms

## Member repositories
- wechatpy/wechatpy (main) score 60

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:41.557728+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-29T18:21:51.510802+00:00, confidence not recorded.
  - readme: https://github.com/wechatpy/wechatpy (fetched 2026-08-28T04:08:41.557728+00:00, sha a8cf695ec28a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
