Skip to content

johndeng/aliyun_driver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

aliyun_driver

根据阿里云提供的SDK简单实现了文件上传跟删除。


##实例##

main.py:
from aliyunoss_driver import *

HOST = ''
ACCESS_ID = ''
SECRET_ACCESS_KEY = ''

if __name__ == "__main__":
    test = driver_oss(HOST, ACCESS_ID, SECRET_ACCESS_KEY)
    test_upload = test.upload_data("your_bucket_name", "your_object_name", "your_file")
    test_delete = test.delete_data("your_bucket_name", "your_object_name", "your_file")

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published