Skip to main content

pywe-media

Wechat Media Module for Python.

Sandbox

Installation

pip install pywe-media

Usage

from pywe_media import Media, media_download, media_upload

Method

class Media(BaseToken):
    def __init__(self, appid=None, secret=None, token=None, storage=None):
        super(Media, self).__init__(appid=appid, secret=secret, token=token, storage=storage)

def upload(self, media_type='image', media_file=None, appid=None, secret=None, token=None, storage=None):

def download(self, media_id, hd=False, appid=None, secret=None, token=None, storage=None):

Metadata

Release files for pywe-media 1.0.7

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-media 1.0.7
File Size Uploaded Provenance Actions
pywe-media-1.0.7.tar.gz 2.4 kB Without provenance Details for pywe-media-1.0.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pywe-media 1.0.7
File Interpreter ABI Platform Actions
pywe_media-1.0.7-py2.py3-none-any.whl Python 2, Python 3 none any Details for pywe_media-1.0.7-py2.py3-none-any.whl

Total release size: 5.3 kB

Release files / pywe-media-1.0.7.tar.gz

Download URL pywe-media-1.0.7.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
1f59f4e5657124888687f38d1b6e22472a3b64ceaaf392acf18dc03ec72f81f0
BLAKE2b-256 checksum
How to use checksums
db443d9a0b856f3d53f35635cb6edd6f792eb5b070774d931ce164a3f2eed15e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/2.7.12+

Release files / pywe_media-1.0.7-py2.py3-none-any.whl

Download URL pywe_media-1.0.7-py2.py3-none-any.whl
Size 2.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
b61cbdfec231f4939aa39bc8e3782db4cdc76f728c575581a9050c4494e23486
BLAKE2b-256 checksum
How to use checksums
dcad8e3f1db6ecf1769f0745d1d396159bd5fbbb4a8432b3b4656e36952b9a4a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/2.7.12+

Security for pywe-media 1.0.7

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.

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