# 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.1.tar.gz
(31.5 kB
view details)
File details
Details for the file pybcs-1.2.1.tar.gz.
File metadata
- Download URL: pybcs-1.2.1.tar.gz
- Upload date:
- Size: 31.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0b9970f56c46fa2c985ec362d2214e9d8dd932a1cb345a7d29aa56e63e5f0a9b
|
|
| MD5 |
77588968f49e36b53dc5b0d6f8af37c0
|
|
| BLAKE2b-256 |
8350c4a9c3b6a9db69bce512ff1a742830d266b1c2af401d9b7accbc53510d28
|