Skip to main content

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 details)

Uploaded Source

Built Distribution

pywe_sign-1.0.8-py2.py3-none-any.whl (3.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pywe-sign-1.0.8.tar.gz.

File metadata

  • Download URL: pywe-sign-1.0.8.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pywe-sign-1.0.8.tar.gz
Algorithm Hash digest
SHA256 a113d69498c4da3d49e8e0e84f58c10a288570c15d50d9396b25d99db22c6545
MD5 a01aa8500eecfd5c831d20e048cea0c7
BLAKE2b-256 abab89475384706606dddc11fdc8767bd203991c374a314f1538266d649f73ef

See more details on using hashes here.

File details

Details for the file pywe_sign-1.0.8-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pywe_sign-1.0.8-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 494e67b9d3c57c60ccf70e2de22eb66e673d11ae605b2178092e9b55d47b0520
MD5 527aba4d1bf34962360acf3d5fc22899
BLAKE2b-256 c5556a6e8d9566b9d9770d54231bfb1d4d2e7fafaad3b4d7f7c920bce0035232

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page