Skip to content

Commit 9eeca12

Browse files
committed
Merge pull request #42 from qiniu/develop
Release v6.0.0
2 parents debae40 + 01e77b6 commit 9eeca12

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+2230
-1276
lines changed

.gitignore

Lines changed: 42 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,45 @@
11
.DS_Store
22
*.swp
33
*.pyc
4-
*.jpg
4+
5+
*.py[cod]
6+
7+
8+
##
9+
## from https://github.com/github/gitignore/blob/master/Python.gitignore
10+
##
11+
12+
# C extensions
13+
*.so
14+
15+
# Packages
16+
*.egg
17+
*.egg-info
18+
dist
19+
build
20+
eggs
21+
parts
22+
bin
23+
var
24+
sdist
25+
develop-eggs
26+
.installed.cfg
27+
lib
28+
lib64
29+
__pycache__
30+
31+
# Installer logs
32+
pip-log.txt
33+
34+
# Unit test / coverage reports
35+
.coverage
36+
.tox
37+
nosetests.xml
38+
39+
# Translations
40+
*.mo
41+
42+
# Mr Developer
43+
.mr.developer.cfg
44+
.project
45+
.pydevproject

.travis.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
language: python
2+
python:
3+
- "2.6"
4+
- "2.7"
5+
before_script:
6+
- export QINIU_ACCESS_KEY="X0XpjFmLMTJpHB_ESHjeolCtipk-1U3Ok7LVTdoN"
7+
- export QINIU_SECRET_KEY="wenlwkU1AYwNBf7Q9cCoG4VT_GYyrHE9AS_R2u81"
8+
- export QINIU_PIC_KEY="hello_jpg"
9+
- export QINIU_NOEXIST_PIC_KEY="no_exist"
10+
- export QINIU_BUCKET_NAME="pysdk"
11+
- export QINIU_DOMAIN="pysdk.qiniudn.com"
12+
script:
13+
- python setup.py nosetests
14+
- python demo.py

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
## CHANGE LOG
2+
3+
### v6.0.0
4+
5+
2013-06-26 issue [#42](https://github.com/qiniu/python-sdk/pull/42)
6+
7+
- 遵循 [sdkspec v6.0.1](https://github.com/qiniu/sdkspec/tree/v6.0.1)

README.md

Lines changed: 26 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,26 @@
1-
# Qiniu Resource (Cloud) Storage SDK for Python
2-
3-
# 关于
4-
5-
此 SDK 适用于 Python 2.x 版本。基于 [七牛云存储官方API](http://docs.qiniutek.com/v2/api/) 构建。使用此 SDK 构建您的网络应用程序,能让您以非常便捷地方式将数据安全地存储到七牛云存储上。无论您的网络应用是一个网站程序,还是包括从云端(服务端程序)到终端(手持设备应用)的架构的服务或应用,通过七牛云存储及其 SDK,都能让您应用程序的终端用户高速上传和下载,同时也让您的服务端更加轻盈。
6-
7-
8-
## 安装
9-
10-
请到 [ https://github.com/qiniu/python-sdk/tags]( https://github.com/qiniu/python-sdk/tags) 下载最新版本的SDK源代码,然后将该SDK压缩包解压后放置到您相应的工程目录中。
11-
12-
## 依赖
13-
14-
- [httplib2](http://code.google.com/p/httplib2/)
15-
16-
## 使用
17-
18-
参考文献:[七牛云存储 Python SDK使用指南](http://docs.qiniutek.com/v2/sdk/python/)
19-
20-
21-
## 贡献代码
22-
23-
1. Fork
24-
2. 创建您的特性分支 (`git checkout -b my-new-feature`)
25-
3. 提交您的改动 (`git commit -am 'Added some feature'`)
26-
4. 将您的修改记录提交到远程 `git` 仓库 (`git push origin my-new-feature`)
27-
5. 然后到 github 网站的该 `git` 远程仓库的 `my-new-feature` 分支下发起 Pull Request
28-
29-
30-
## 许可证
31-
32-
Copyright (c) 2012 qiniutek.com
33-
34-
基于 MIT 协议发布:
35-
36-
[www.opensource.org/licenses/MIT](http://www.opensource.org/licenses/MIT)
1+
Qiniu Resource Storage SDK for Python
2+
===
3+
4+
[![Build Status](https://api.travis-ci.org/qiniu/python-sdk.png?branch=develop)](https://travis-ci.org/qiniu/python-sdk)
5+
6+
[![Qiniu Logo](http://qiniutek.com/images/logo-2.png)](http://qiniu.com/)
7+
8+
## 使用
9+
10+
参考文档:[七牛云存储 Python SDK 使用指南](https://github.com/qiniu/python-sdk/blob/develop/docs/README.md)
11+
12+
## 贡献代码
13+
14+
1. Fork
15+
2. 创建您的特性分支 (`git checkout -b my-new-feature`)
16+
3. 提交您的改动 (`git commit -am 'Added some feature'`)
17+
4. 将您的修改记录提交到远程 `git` 仓库 (`git push origin my-new-feature`)
18+
5. 然后到 github 网站的该 `git` 远程仓库的 `my-new-feature` 分支下发起 Pull Request
19+
20+
## 许可证
21+
22+
Copyright (c) 2013 qiniu.com
23+
24+
基于 MIT 协议发布:
25+
26+
* [www.opensource.org/licenses/MIT](http://www.opensource.org/licenses/MIT)

0 commit comments

Comments
 (0)