Skip to content

dbpython/baiduyun-sdk

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

baiduyun-sdk

This client library is designed to support the BaiduYun PCS API, which is a way to manage your cloud files with Python.

  • 下载
>>> yun.download('/test.txt', 'test.txt')

第一个参数是云端路径,第二个参数是本地存储文件的路径。该下载方法采用了多线程,可以获得较为快速的下载体验。

  • 删除
>>> yun.delete('/test.txt')
  • 上传
>>> yun.upload('test.txt', '/test.txt', ondup=False)

第一个参数为本地待上传的文件路径,第二个为云端的存储路径,ondup参数控制覆盖行为,默认为True(覆盖已存在文件)。

  • 移动
  • 复制
  • 离线

About

Python SDK for Baiduyun's API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.1%
  • Makefile 1.9%