Skip to content

Commit

Permalink
Merge pull request #42 from qiniu/develop
Browse files Browse the repository at this point in the history
Release v6.0.0
  • Loading branch information
xushiwei committed Jun 26, 2013
2 parents debae40 + 01e77b6 commit 9eeca12
Show file tree
Hide file tree
Showing 46 changed files with 2,230 additions and 1,276 deletions.
43 changes: 42 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,45 @@
.DS_Store
*.swp
*.pyc
*.jpg

*.py[cod]


##
## from https://github.com/github/gitignore/blob/master/Python.gitignore
##

# C extensions
*.so

# Packages
*.egg
*.egg-info
dist
build
eggs
parts
bin
var
sdist
develop-eggs
.installed.cfg
lib
lib64
__pycache__

# Installer logs
pip-log.txt

# Unit test / coverage reports
.coverage
.tox
nosetests.xml

# Translations
*.mo

# Mr Developer
.mr.developer.cfg
.project
.pydevproject
14 changes: 14 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
language: python
python:
- "2.6"
- "2.7"
before_script:
- export QINIU_ACCESS_KEY="X0XpjFmLMTJpHB_ESHjeolCtipk-1U3Ok7LVTdoN"
- export QINIU_SECRET_KEY="wenlwkU1AYwNBf7Q9cCoG4VT_GYyrHE9AS_R2u81"
- export QINIU_PIC_KEY="hello_jpg"
- export QINIU_NOEXIST_PIC_KEY="no_exist"
- export QINIU_BUCKET_NAME="pysdk"
- export QINIU_DOMAIN="pysdk.qiniudn.com"
script:
- python setup.py nosetests
- python demo.py
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## CHANGE LOG

### v6.0.0

2013-06-26 issue [#42](https://github.com/qiniu/python-sdk/pull/42)

- 遵循 [sdkspec v6.0.1](https://github.com/qiniu/sdkspec/tree/v6.0.1)
62 changes: 26 additions & 36 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,36 +1,26 @@
# Qiniu Resource (Cloud) Storage SDK for Python

# 关于

此 SDK 适用于 Python 2.x 版本。基于 [七牛云存储官方API](http://docs.qiniutek.com/v2/api/) 构建。使用此 SDK 构建您的网络应用程序,能让您以非常便捷地方式将数据安全地存储到七牛云存储上。无论您的网络应用是一个网站程序,还是包括从云端(服务端程序)到终端(手持设备应用)的架构的服务或应用,通过七牛云存储及其 SDK,都能让您应用程序的终端用户高速上传和下载,同时也让您的服务端更加轻盈。


## 安装

请到 [ https://github.com/qiniu/python-sdk/tags]( https://github.com/qiniu/python-sdk/tags) 下载最新版本的SDK源代码,然后将该SDK压缩包解压后放置到您相应的工程目录中。

## 依赖

- [httplib2](http://code.google.com/p/httplib2/)

## 使用

参考文献:[七牛云存储 Python SDK使用指南](http://docs.qiniutek.com/v2/sdk/python/)


## 贡献代码

1. Fork
2. 创建您的特性分支 (`git checkout -b my-new-feature`)
3. 提交您的改动 (`git commit -am 'Added some feature'`)
4. 将您的修改记录提交到远程 `git` 仓库 (`git push origin my-new-feature`)
5. 然后到 github 网站的该 `git` 远程仓库的 `my-new-feature` 分支下发起 Pull Request


## 许可证

Copyright (c) 2012 qiniutek.com

基于 MIT 协议发布:

[www.opensource.org/licenses/MIT](http://www.opensource.org/licenses/MIT)
Qiniu Resource Storage SDK for Python
===

[![Build Status](https://api.travis-ci.org/qiniu/python-sdk.png?branch=develop)](https://travis-ci.org/qiniu/python-sdk)

[![Qiniu Logo](http://qiniutek.com/images/logo-2.png)](http://qiniu.com/)

## 使用

参考文档:[七牛云存储 Python SDK 使用指南](https://github.com/qiniu/python-sdk/blob/develop/docs/README.md)

## 贡献代码

1. Fork
2. 创建您的特性分支 (`git checkout -b my-new-feature`)
3. 提交您的改动 (`git commit -am 'Added some feature'`)
4. 将您的修改记录提交到远程 `git` 仓库 (`git push origin my-new-feature`)
5. 然后到 github 网站的该 `git` 远程仓库的 `my-new-feature` 分支下发起 Pull Request

## 许可证

Copyright (c) 2013 qiniu.com

基于 MIT 协议发布:

* [www.opensource.org/licenses/MIT](http://www.opensource.org/licenses/MIT)
Loading

0 comments on commit 9eeca12

Please sign in to comment.