Skip to content

UniIsland/upyun-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

upyun-python

python upyun sdk

i simply downloaded the original sdk on upyun.com and wrote a pip package. no code modified so far, will do later. https://static.b0.upaiyun.com/upyunapi/upyun-python-api.zip

Installation

pip install -e git:https://github.com/UniIsland/upyun-python.git#egg=upyun-python

Usage

>>> from upyun import UpYun
>>> u = UpYun('空间名称','操作员用户名','操作员密码')
>>> filelist = u.readDir('/foo/')
>>> for file in filelist:
>>> 	print file.filename
foo.txt
bar.txt

see docs/test.py for more examples

About

python upyun sdk

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages