Skip to main content

百度个人云存储(PCS)Python SDK

Project description


Build Coverage Pypi version Pypi downloads

百度个人云存储(PCS) Python SDK.


To install baidupcs, simply:

$ pip install baidupcs

Basic Usage

>>> from baidupcs import PCS
>>> pcs = PCS('access_token')
>>> response =
>>> response
<Response [200]>
>>> response.ok
>>> response.status_code
>>> response.content
>>> response.json()
{u'used': 5138887, u'quota': 6442450944L, u'request_id': 1216061570}


Please visit Wiki .


0.3.2 (2014-03-23)

  • 新增:添加 tools.get_new_access_token 用于获取新的 Access Token 和 Refresh Token;

  • 改进:解决上传大文件时的内存占用问题;

  • 变更:去掉 verify=False 。如果有出现 SSLError 请参考 此文

0.3.1 (2013-10-25)

  • 改进:上传、下载部分的 api 改用加速域名 和

0.3.0 (2013-09-13)

  • 新增:添加 baidupcs.InvalidToken 异常

0.2.0 (2013-09-12)

  • 新增:支持 Python 3

0.1.0 (2013-09-09)

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution (16.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page