Skip to main content

WeChat OAuth2 SDK.

微信登录授权的Python库

开发文档

网站应用微信登录开发指南

配置网页授权域名

登录微信公众平台: 开发 -> 接口权限 -> 网页授权获取用户基本信息 -> 网页授权域名

Example Usage

  • 创建service

from wechat_oauth2 import WeChatService
wechat = WeChatService(appid,
                       secret)
  • 获取authorize_url

params = {'redirect_uri': redirect_uri, 'scope': 'snsapi_userinfo'}
return redirect(wechat.get_authorize_url(**params))

Metadata

Release files for WeChat-OAuth2 0.1.2

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

Source distribution (sdist)

Source distribution for WeChat-OAuth2 0.1.2
File Size Uploaded Provenance Actions
WeChat-OAuth2-0.1.2.tar.gz 4.2 kB Without provenance Details for WeChat-OAuth2-0.1.2.tar.gz

Release files / WeChat-OAuth2-0.1.2.tar.gz

Download URL WeChat-OAuth2-0.1.2.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
53f7bd78127914fdba47959e5ad1f4ca34cce13b6721024a9e1e5896304fe92c
BLAKE2b-256 checksum
How to use checksums
6024f3c17104a57420ec32243849108263e027e842c2dc1c9990c84072bcfecb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for WeChat-OAuth2 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.2 This release

1 release file No provenance

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