Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

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.

Filename, size & hash SHA256 hash help File type Python version Upload date
pywe_sign-1.0.8-py2.py3-none-any.whl (3.8 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Mar 28, 2018
pywe-sign-1.0.8.tar.gz (2.2 kB) Copy SHA256 hash SHA256 Source None Mar 28, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page