This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description
.. CloudStore documentation master file, created by
sphinx-quickstart on Thu Dec 13 12:34:06 2012.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.

====================================
CloudStore: 提供统一的存储云访问接口
====================================

.. image:: https://travis-ci.org/bukaopu/cloudstore.png

为各种云提供统一的访问接口,一是方便切换存储云,二让多点冗余更加方便,几行简单的代码就能搞定。

这个项目的完成度还非常的低,希望加入一起加速这个产品的同学可以联系我,或者直接Pull & Request给我。

列表Bucket
----------
:doc:`对象参考 <ref domains="">`

>>> import os
>>> from cloudstore import Store, OSSConfig
>>> store = Store ( OSSConfig ( os.getenv ( "OSS_ACCESS_KEY" ), os.getenv ( "OSS_SECRET_KEY" ) ) )
>>> store.get_all_buckets ( )
[<bucket: source1="" created="" at="" 2012-05-24t09:52:16.000z="">, <bucket: bukaopu="" created="" at="" 2012-11-30t14:48:31.000z="">]

列出对象
----------
:doc:`Store参考 <ref store="">`

>>> import os
>>> from cloudstore import Store, OSSConfig
>>> store = Store ( OSSConfig ( os.getenv ( "OSS_ACCESS_KEY" ), os.getenv ( "OSS_SECRET_KEY" ) ) )
>>> store.get_all_objects ( "bukaopu", delimiter = "/" )
[<commonprefix: "avatar="" "="">, <commonprefix: "css="" "="">, <commonprefix: "highlight="" "="">, <commonprefix: "icons="" "="">, <commonprefix: "img="" "="">, <commonprefix: "js="" "="">, <object: .gitignore="">, <object: rubygems-1.3.6.tgz="">]


创建对象
--------

>>> import os
>>> from cloudstore import Store, OSSConfig
>>> store = Store ( OSSConfig ( os.getenv ( "OSS_ACCESS_KEY" ), os.getenv ( "OSS_SECRET_KEY" ) ) )
>>> string_data = "hello, world !!!"

Contents:

.. toctree::
:maxdepth: 2



Indices and tables
==================

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
Release History

Release History

0.0.2

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
libstorages-0.0.2.tar.gz (44.5 kB) Copy SHA256 Checksum SHA256 Source Dec 31, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting