Code Monkey home page Code Monkey logo

python-sdk's Introduction

Qiniu Resource Storage SDK for Python

Build Status

Qiniu Logo

使用

参考文档:七牛云存储 Python SDK 使用指南

准备开发环境

安装

  • 直接安装:

    pip install qiniu

    easy_install qiniu

Python-SDK可以使用pipeasy_install从PyPI服务器上安装,但不包括文档和样例。如果需要,请下载源码并安装。

  • 源码安装:

release下载源码:

tar xvzf python-sdk-$VERSION.tar.gz
cd python-sdk-$VERSION
python setup.py install

单元测试

  1. 测试环境

    1. 开通七牛开发者帐号
    2. 登录七牛开发者自助平台,查看 Access Key 和 Secret Key
    3. 在开发者后台新建一个空间

    然后将在test-env.sh中填入相关信息。

  2. 需安装nosetests测试工具。

运行测试:

source test-env.sh
nosetests

贡献代码

  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-2014 qiniu.com

基于 MIT 协议发布:

python-sdk's People

Contributors

sunrunaway avatar xushiwei avatar longbai avatar chzyer avatar dtynn avatar xuzhaokui avatar why404 avatar longshanksmo avatar deepgully avatar carter2000 avatar rwifeng avatar cloverstd avatar bluntblade avatar wizmann avatar philiptzou avatar soniccube avatar hantuo avatar bluealert avatar

Watchers

James Cloos avatar fangdongbai2024 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.