Skip to main content

pywe-wxa-sec

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

Metadata

Release files for pywe-wxa-sec 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pywe-wxa-sec 1.0.3
File Size Uploaded Provenance Actions
pywe-wxa-sec-1.0.3.tar.gz 2.2 kB Without provenance Details for pywe-wxa-sec-1.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pywe-wxa-sec 1.0.3
File Interpreter ABI Platform Actions
pywe_wxa_sec-1.0.3-py2.py3-none-any.whl Python 3, Python 2 none any Details for pywe_wxa_sec-1.0.3-py2.py3-none-any.whl

Total release size: 4.9 kB

Release files / pywe-wxa-sec-1.0.3.tar.gz

Download URL pywe-wxa-sec-1.0.3.tar.gz
Size 2.2 kB
Tags Source
SHA-256 checksum
How to use checksums
af6b18c329cfc9ba83c64fba5308643c9af3b1048c1a8c6788cd16aace36c172
BLAKE2b-256 checksum
How to use checksums
d1966dda76721c4f1679f8d4458c67bd7ce07812a21633e69624cc5aa8d26824
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / pywe_wxa_sec-1.0.3-py2.py3-none-any.whl

Download URL pywe_wxa_sec-1.0.3-py2.py3-none-any.whl
Size 2.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
028533923149bc6b0a6fdf42005fbb3fb151850f3c4d2809fba5e5aba01deda3
BLAKE2b-256 checksum
How to use checksums
a62b44f0d87a54e248d7d8543c18d3ccb2782ae5f1b8a1479a25bfb48ff9c9d0
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for pywe-wxa-sec 1.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.3 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page