Skip to main content

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


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

Uploaded Source

Built Distribution

pywe_wxa_sec-1.0.3-py2.py3-none-any.whl (2.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pywe-wxa-sec-1.0.3.tar.gz.

File metadata

  • Download URL: pywe-wxa-sec-1.0.3.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/18.5 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.10

File hashes

Hashes for pywe-wxa-sec-1.0.3.tar.gz
Algorithm Hash digest
SHA256 af6b18c329cfc9ba83c64fba5308643c9af3b1048c1a8c6788cd16aace36c172
MD5 2b631bcbea8214d15b4f299e227bddeb
BLAKE2b-256 d1966dda76721c4f1679f8d4458c67bd7ce07812a21633e69624cc5aa8d26824

See more details on using hashes here.

File details

Details for the file pywe_wxa_sec-1.0.3-py2.py3-none-any.whl.

File metadata

  • Download URL: pywe_wxa_sec-1.0.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/18.5 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.10

File hashes

Hashes for pywe_wxa_sec-1.0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 028533923149bc6b0a6fdf42005fbb3fb151850f3c4d2809fba5e5aba01deda3
MD5 0a5c9ba2ff34d2ebce127053d4cd6a86
BLAKE2b-256 a62b44f0d87a54e248d7d8543c18d3ccb2782ae5f1b8a1479a25bfb48ff9c9d0

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