2
2
3
3
[ ![ @qiniu on weibo] ( http://img.shields.io/badge/weibo-%40qiniutek-blue.svg )] ( http://weibo.com/qiniutek )
4
4
[ ![ Software License] ( https://img.shields.io/badge/license-MIT-brightgreen.svg )] ( LICENSE )
5
- [ ![ Build Status] ( https://travis-ci.org/qiniu/python-sdk.svg )] ( https://travis-ci.org/qiniu/python-sdk )
5
+ [ ![ Build Status] ( https://github.com/qiniu/python-sdk/actions/workflows/ci-test.yml/badge.svg )] ( https://travis-ci.org/qiniu/python-sdk )
6
+ [ ![ GitHub release] ( https://img.shields.io/github/v/tag/qiniu/python-sdk.svg?label=release )] ( https://github.com/qiniu/python-sdk/releases )
6
7
[ ![ Latest Stable Version] ( https://img.shields.io/pypi/v/qiniu.svg )] ( https://pypi.python.org/pypi/qiniu )
7
8
[ ![ Download Times] ( https://img.shields.io/pypi/dm/qiniu.svg )] ( https://pypi.python.org/pypi/qiniu )
8
9
[ ![ Scrutinizer Code Quality] ( https://scrutinizer-ci.com/g/qiniu/python-sdk/badges/quality-score.png?b=master )] ( https://scrutinizer-ci.com/g/qiniu/python-sdk/?branch=master )
9
- [ ![ Code Coverage] ( https://scrutinizer-ci.com/g/qiniu/python-sdk/badges/coverage.png?b=master )] ( https://scrutinizer-ci.com/g/qiniu/python-sdk/?branch=master )
10
+ [ ![ Coverage Status] ( https://codecov.io/gh/qiniu/python-sdk/branch/master/graph/badge.svg )] ( https://codecov.io/gh/qiniu/python-sdk )
11
+
10
12
## 安装
11
13
12
14
通过pip
@@ -17,10 +19,10 @@ $ pip install qiniu
17
19
18
20
## 运行环境
19
21
20
- | Qiniu SDK版本 | Python 版本 |
21
- | :--------------------: | : ---------------------------:|
22
- | 7.x | 2.6, 2.7 , 3.3 , 3.4 , 3.5 |
23
- | 6.x | 2.6, 2.7 |
22
+ | Qiniu SDK版本 | Python 版本 |
23
+ | :-----------: | : ------------------------------------: |
24
+ | 7.x | 2.7, 3.3, 3.4, 3.5 , 3.6, 3.7 , 3.8 , 3.9 |
25
+ | 6.x | 2.7 |
24
26
25
27
## 使用方法
26
28
@@ -42,11 +44,6 @@ import qiniu
42
44
43
45
```
44
46
更多参见SDK使用指南: http://developer.qiniu.com/code/v7/sdk/python.html
45
-
46
- ### 命令行工具
47
- 安装完后附带有命令行工具,可以计算etag
48
- ``` bash
49
- $ qiniupy etag yourfile
50
47
```
51
48
52
49
## 测试
@@ -58,7 +55,7 @@ $ py.test
58
55
## 常见问题
59
56
60
57
- 第二个参数info保留了请求响应的信息,失败情况下ret 为none, 将info可以打印出来,提交给我们。
61
- - API 的使用 demo 可以参考 [ 单元测试 ] ( https://github.com/qiniu/python-sdk/blob /master/test_qiniu.py ) 。
58
+ - API 的使用 demo 可以参考 [ examples示例 ] ( https://github.com/qiniu/python-sdk/tree /master/examples ) 。
62
59
- 如果碰到` ImportError: No module named requests.auth ` 请安装 ` requests ` 。
63
60
64
61
## 代码贡献
0 commit comments