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

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

def msg_sec_check(self, content, appid=None, secret=None, token=None, storage=None):

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.2.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

pywe_wxa_sec-1.0.2-py2.py3-none-any.whl (2.5 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: pywe-wxa-sec-1.0.2.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/2.7.12+

File hashes

Hashes for pywe-wxa-sec-1.0.2.tar.gz
Algorithm Hash digest
SHA256 8273dd882089143ff0f9da7eba58008331dcc125e84bffe344b8b00de7c3a1eb
MD5 7cd3292ada0c2aed41c60db340e7abea
BLAKE2b-256 355699b855db2d0f5f6f47391c5468d6ffb694a4cd23889f8973bd936143e3f1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pywe_wxa_sec-1.0.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 2.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/2.7.12+

File hashes

Hashes for pywe_wxa_sec-1.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f9a0907af7b35ab9b4b3ca5a5b08b4e4b09a1db534861527de0a6e5aef405242
MD5 53602276422462154e0dea37c284a315
BLAKE2b-256 1345739ca78fb154e530090b04c14c71a1ade742ce5935494c7ee204807a598b

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