# pybcs
## 说明
百度云存储(bcs) python sdk
相关文档请参见:
[bcs wiki](http://dev.baidu.com/wiki/bcs)
[百度开放云平台](http://yun.baidu.com/)
## Usage
1. 在yun.baidu.com(服务管理/我的密钥) 申请ak, sk, bucket, 设置quota, 尝试在网页上上传成功
3. 将获得的ak ,sk , bucket填入example.py
4. ./example.py
## implemented api:
bcs :
+ list-bucket
bucket :
+ create(需要在yun.baidu.com手动调整quota, 所以不建议使用该api创建bucket)
+ delete
+ list obj
+ get acl
+ set acl
- enable logging
object:
+ upload by put
+ upload by post
+ delete
+ get
+ head
+ set meta
+ copy
+ get acl
+ set acl
superfile(object):
+ create
client use pybcs:
+ bcs log
## wish-list:
* 支持代理
* 限速
* https 支持
* 如果用户没有装pycurl,应该可以使用httplib实现的httpclient
# tools/bcsh
bcs 脚本上传, 下载工具
参考 docs/bcsh-usage.rst
## 说明
百度云存储(bcs) python sdk
相关文档请参见:
[bcs wiki](http://dev.baidu.com/wiki/bcs)
[百度开放云平台](http://yun.baidu.com/)
## Usage
1. 在yun.baidu.com(服务管理/我的密钥) 申请ak, sk, bucket, 设置quota, 尝试在网页上上传成功
3. 将获得的ak ,sk , bucket填入example.py
4. ./example.py
## implemented api:
bcs :
+ list-bucket
bucket :
+ create(需要在yun.baidu.com手动调整quota, 所以不建议使用该api创建bucket)
+ delete
+ list obj
+ get acl
+ set acl
- enable logging
object:
+ upload by put
+ upload by post
+ delete
+ get
+ head
+ set meta
+ copy
+ get acl
+ set acl
superfile(object):
+ create
client use pybcs:
+ bcs log
## wish-list:
* 支持代理
* 限速
* https 支持
* 如果用户没有装pycurl,应该可以使用httplib实现的httpclient
# tools/bcsh
bcs 脚本上传, 下载工具
参考 docs/bcsh-usage.rst
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pybcs-1.2.tar.gz
(17.4 kB
view details)
File details
Details for the file pybcs-1.2.tar.gz.
File metadata
- Download URL: pybcs-1.2.tar.gz
- Upload date:
- Size: 17.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f99967cb6d209fdc65d280d1b0d1f61c77aabe82fac85588bf9a8ca09f898147
|
|
| MD5 |
a8b1204d89cded7e52ff7a0ed0909df9
|
|
| BLAKE2b-256 |
73cec712494c09a7a47b776cfd2b460018353f87e266b3592808064dbb25f6ae
|