Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mozillazg/baidu-pcs-python-sdk
百度个人云存储(PCS)Python SDK. (因为 PCS 服务已关闭,推荐改用百度网盘 API: https://github.com/ly0/baidupcsapi )
https://github.com/mozillazg/baidu-pcs-python-sdk
Last synced: about 1 month ago
JSON representation
百度个人云存储(PCS)Python SDK. (因为 PCS 服务已关闭,推荐改用百度网盘 API: https://github.com/ly0/baidupcsapi )
- Host: GitHub
- URL: https://github.com/mozillazg/baidu-pcs-python-sdk
- Owner: mozillazg
- License: mit
- Created: 2013-09-05T14:18:19.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2021-09-15T22:25:55.000Z (about 3 years ago)
- Last Synced: 2024-09-09T18:22:10.434Z (about 2 months ago)
- Language: Python
- Homepage:
- Size: 675 KB
- Stars: 184
- Watchers: 20
- Forks: 32
- Open Issues: 3
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGELOG.rst
- License: LICENSE.txt
Awesome Lists containing this project
README
BaiduPCS
========|Build| |Coverage| |Pypi version| |Pypi downloads|
`百度个人云存储(PCS) `__ Python SDK.
* Documentation: http://baidupcs.rtfd.org
* GitHub: https://github.com/mozillazg/baidu-pcs-python-sdk
* Free software: MIT license
* PyPI: https://pypi.python.org/pypi/baidupcs
* Python version: 2.6, 2.7, 3.3Installation
------------To install baidupcs, simply:
.. code-block:: bash
$ pip install baidupcs
Basic Usage
-----------.. code-block:: python
>>> from baidupcs import PCS
>>> pcs = PCS('access_token')
>>> response = pcs.info()
>>> response
>>> 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}FAQ
-----Please visit `Wiki `__ .
.. |Build| image:: https://api.travis-ci.org/mozillazg/baidu-pcs-python-sdk.png?branch=master
:target: http://travis-ci.org/mozillazg/baidu-pcs-python-sdk
.. |Coverage| image:: https://coveralls.io/repos/mozillazg/baidu-pcs-python-sdk/badge.png?branch=master
:target: https://coveralls.io/r/mozillazg/baidu-pcs-python-sdk
.. |Pypi version| image:: https://pypip.in/v/baidupcs/badge.png
:target: https://crate.io/packages/baidupcs
.. |Pypi downloads| image:: https://pypip.in/d/baidupcs/badge.png
:target: https://crate.io/packages/baidupcs