wechatpy
WeChat SDK for Python
Decision gist · record as of 2026-08-14
Yes, if you are building a WeChat integration in Python. The package is production-stable and carries no known vulnerabilities. The main caveat is the gap between the published version (November 2021) and repository activity (May 2026)—verify that the current release supports your target WeChat APIs and Python version before committing to production.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low friction installation with six runtime dependencies.
- Actively maintained as of May 2026 with 4297 GitHub stars and consistent commit history, though the latest PyPI release dates to November 2021.
License · maintenance · safety
permissive license (permissive) — MIT license permits commercial and private use with minimal restrictions, making it suitable for production WeChat integrations.
last release 2021-11-11 (1737 days) · last repo commit 2026-05-19 · 4,297 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 153,701 downloads/mo, #10,872 on PyPI
Alternatives
Verify before relying
pip install wechatpy
from wechatpy import parse_message, create_reply
# Parse incoming WeChat message
msg = parse_message(xml_data)
# Create and return a text reply
reply = create_reply('Hello', msg)- Whether the November 2021 PyPI release reflects the actual current codebase given May 2026 repository activity.
- Compatibility with modern Python 3.x versions beyond 3.7 listed in classifiers.
- Support status for WeChat API changes since the last release.
What it is and what it does
wechatpy is a Python SDK that wraps WeChat's official APIs, enabling developers to build integrations with WeChat's ecosystem. It covers passive message handling and active API calls for public accounts, enterprise WeChat, payment processing, third-party platform delegation, and mini-program cloud development. The package depends on six, requests, xmltodict, optionaldict, python-dateutil, and enum34 to handle HTTP communication, XML parsing, and date manipulation.
The SDK is production-stable and widely used, with an active repository and a permissive MIT license. However, there is a notable gap between the latest PyPI release (November 2021) and recent repository commits (May 2026), which may indicate either that the package is stable enough not to require frequent releases or that the published version lags behind development.
Use it for
- Build a WeChat public account bot that receives and responds to user messages passively.
- Integrate WeChat payment processing into a Python application.
- Implement enterprise WeChat workflows and API calls.
- Develop a mini-program backend using WeChat's cloud development APIs.
- Act as a third-party platform to manage multiple WeChat public accounts.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are building a WeChat integration in Python.
The package is production-stable and carries no known vulnerabilities. The main caveat is the gap between the published version (November 2021) and repository activity (May 2026)—verify that the current release supports your target WeChat APIs and Python version before committing to production.
Install
wechatpy on PyPI
Before you install
Low friction installation with six runtime dependencies. Actively maintained as of May 2026 with 4297 GitHub stars and consistent commit history, though the latest PyPI release dates to November 2021.
License in practice
MIT license permits commercial and private use with minimal restrictions, making it suitable for production WeChat integrations.
Quickstart
pip install wechatpy
from wechatpy import parse_message, create_reply
# Parse incoming WeChat message
msg = parse_message(xml_data)
# Create and return a text reply
reply = create_reply('Hello', msg)
Verify before relying
- Whether the November 2021 PyPI release reflects the actual current codebase given May 2026 repository activity.
- Compatibility with modern Python 3.x versions beyond 3.7 listed in classifiers.
- Support status for WeChat API changes since the last release.
Package facts
| License | permissive license permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 6 packagessixrequestsxmltodictoptionaldictpython-dateutilenum34 |
| Maintenance | Actively maintained 1,737 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 153,701 / month, #10,872 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: MacOSOperating System :: POSIXOperating System :: POSIX :: LinuxProgramming Language :: PythonProgramming Language :: Python :: 2.7Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python ModulesTopic :: Utilities |
Evidence: wechatpy-1.8.18-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “wechat sdk python”
- wechatpyWeChat SDK providing Python bindings for WeChat's public platform,…
- wechatpayv3SDK for integrating WeChat Pay API v3 into Python applications,…
- wecom-aibot-python-sdkA Python SDK for WeChat Work (企业微信) AI bot that manages WebSocket…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also pywxdump · wechatpayv3 · wecom-aibot-python-sdk · webexteamssdk · qq-botpy · smartapi-python · chargehound · ringcentral · razorpay · tinytuya