upyun / python-sdk

UPYUN Python SDK
117 stars 29 forks source link

Feature: [add unzip func] #29

Closed monhz closed 8 years ago

monhz commented 8 years ago

use the unzip function like this:

up.unzip(task, source, notify_url)

task should be in this format:

[{'save_as': '/test/result/', 'type': 'depress',}]

source should be your relative path in your bucket, such as /source/test.zip