Wechat MiniProgram Security Module for Python.
Project description
Wechat MiniProgram Security Module for Python.
Sandbox
Installation
pip install pywe-wxa-sec
Usage
from pywe_wxa_sec.pywxasec import Security, msg_sec_check, img_sec_check, media_check_async, audio_check_async, img_check_async
Method
class Security(BaseToken): def __init__(self, appid=None, secret=None, token=None, storage=None): super(Security, self).__init__(appid=appid, secret=secret, token=token, storage=storage) def img_sec_check(self, media_file=None, media_file_path=None, appid=None, secret=None, token=None, storage=None, res_bool_val=False): def msg_sec_check(self, content, appid=None, secret=None, token=None, storage=None, res_bool_val=False): def media_check_async(self, media_url=None, media_type=None, appid=None, secret=None, token=None, storage=None, res_bool_val=False): def audio_check_async(self, audio_url=None, media_url=None, appid=None, secret=None, token=None, storage=None, res_bool_val=False): def img_check_async(self, img_url=None, media_url=None, appid=None, secret=None, token=None, storage=None, res_bool_val=False):
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pywe-wxa-sec-1.0.3.tar.gz
(2.2 kB
view hashes)
Built Distribution
Close
Hashes for pywe_wxa_sec-1.0.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 028533923149bc6b0a6fdf42005fbb3fb151850f3c4d2809fba5e5aba01deda3 |
|
MD5 | 0a5c9ba2ff34d2ebce127053d4cd6a86 |
|
BLAKE2b-256 | a62b44f0d87a54e248d7d8543c18d3ccb2782ae5f1b8a1479a25bfb48ff9c9d0 |