Skip to content

jumping/aliosspy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

aliosspy

Aliyun OSS Python SDK

A really simple interface for Python:

client = alioss.Client('your-access-key-id', 'your-access-key-secret', 'bucket_name')
client.put_object('path/to/hello.html', '<h1>file content</h1>')
# http url of object

print client.get_object('path/to/hello.html')
# <h1>file content</h1>

client.delete_object('path/to/hello.html')

print client.get_object('path/to/hello.html')
# Traceback (most recent call last):
#   ...
# StorageError: ('NoSuchKey', 'The specified key does not exist.')

Requirement:

Python 2.6/2.7

About

Aliyun OSS Python SDK

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published