Wechat Sign Module for Python.
Project description
Wechat Sign Module for Python.
Installation
pip install pywe-sign
Usage
from pywe_sign import calculate_signature, check_signature, fill_signature, jsapi_signature, calculate_jsapi_signature, check_jsapi_signature, fill_jsapi_signature, basic_signature, calculate_basic_signature, calculate_callback_signature, check_callback_signature, calculate_msg_signature, check_msg_signature
Method
def calculate_signature(params, api_key): def check_signature(params, api_key, sign=None): def fill_signature(params, api_key): def jsapi_signature(params): def calculate_jsapi_signature(params): def check_jsapi_signature(params, sign=None): def fill_jsapi_signature(params): def basic_signature(data, delimiter=b''): def calculate_basic_signature(data, delimiter=b''): def calculate_callback_signature(token, timestamp, nonce): def check_callback_signature(token, signature, timestamp, nonce): def calculate_msg_signature(token, timestamp, nonce, encrypt): def check_msg_signature(token, msg_signature, timestamp, nonce, encrypt):
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pywe-sign-1.0.8.tar.gz
(2.2 kB
view hashes)
Built Distribution
Close
Hashes for pywe_sign-1.0.8-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 494e67b9d3c57c60ccf70e2de22eb66e673d11ae605b2178092e9b55d47b0520 |
|
MD5 | 527aba4d1bf34962360acf3d5fc22899 |
|
BLAKE2b-256 | c5556a6e8d9566b9d9770d54231bfb1d4d2e7fafaad3b4d7f7c920bce0035232 |