百度个人云存储(PCS)Python SDK
Project description
BaiduPCS
百度个人云存储(PCS) Python SDK
Installation
To install baidupcs, simply:
$ pip install baidupcs
Basic Usage
>>> from baidupcs import PCS
>>> pcs = PCS('access_token')
>>> response = pcs.info()
>>> response
<Response [200]>
>>> response.ok
True
>>> response.status_code
200
>>> response.content
'{"quota":6442450944,"used":5138887,"request_id":1216061570}'
>>>
>>> response.json()
{u'used': 5138887, u'quota': 6442450944L, u'request_id': 1216061570}
Documentation
License
Licensed under the MIT License.
Souce Code
The source code can be found on github.
Changelog
0.1.0 (2013-09-09)
第一版,封装了所有文件操作 RESET API.
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
baidupcs-0.1.0.zip
(13.9 kB
view details)
File details
Details for the file baidupcs-0.1.0.zip
.
File metadata
- Download URL: baidupcs-0.1.0.zip
- Upload date:
- Size: 13.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc00238b2415a1e1758e599f169abfe97b402e960de06f9e4b41ff3be2e7af2d |
|
MD5 | 7a0620d33a31c4b4e3fe668017034842 |
|
BLAKE2b-256 | debc328feba9edd815a415858dff3083868f5d64170347a9992c2f1888c976bc |