Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

Wechat Media Module for Python.

Project description

Wechat Media Module for Python.


pip install pywe-media


from pywe_media import Media, media_download, media_upload


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

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pywe_media-1.0.6-py2.py3-none-any.whl (2.7 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Jul 26, 2018
pywe-media-1.0.6.tar.gz (2.2 kB) Copy SHA256 hash SHA256 Source None Jul 26, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page