Skip to main content

Feature complete upyun REST client

Project description

pyupyun - Feature complete upyun REST client ===

>>> import upyun
>>> client = upyun.UpYun(bucket='bucket', auth=('user', 'pass'), stype=upyun.const.SPACE_TYPE_FILE)
>>> resp = client.put('/test/test.txt', open('/tmp/test.txt'))
>>> print resp.success
>>> print resp.url

Compatible with [upyun REST API v1.5](


$ pip install pyupyun


To run the tests, first install the dependencies

$ pip install -r requirements.txt

Then fill in all the blank settings(documented) at the beginning part of UpYunTestCase class, which is inside test/

And run

$ py.test

Project details

Release history Release notifications

This version
History Node


History Node


History Node


History Node


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
pyupyun-0.1.3.tar.gz (11.1 kB) Copy SHA256 hash SHA256 Source None Nov 14, 2013

Supported by

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