Metadata-Version: 1.1
Name: swiftsc
Version: 0.2.1
Summary: Simple client library of OpenStack Swift
Home-page: https://github.com/mkouhei/swiftsc
Author: Kouhei Maeda
Author-email: mkouhei@palmtb.net
License:  GNU General Public License version 3
Description: ===================================================
        swiftsc is simple client library of OpenStack Swift
        ===================================================
        
        This tool is simple client library of OpenStack Swift.
        This tool is intended to be used in the module and Python script other.
        The main purpose of this tool is used as a core module for backup tool.
        
        
        Requirements
        ------------
        
        * Python 2.7 or Python 3.2
        * requests 0.12.1
        * python-magic 5.x in debian package or python-magic 0.4.x of PyPI
        
        
        Setup
        -----
        ::
        
           $ git clone https://github.com/mkouhei/swiftsc
           $ cd swiftsc
           $ sudo python setup.py install
        
        
        Development
        -----------
        
        Firstly copy pre-commit hook script.::
        
           $ cp -f utils/pre-commit.txt .git/hooks/pre-commit
        
        Debian systems
        ^^^^^^^^^^^^^^
        
        Next install python2.7 later, and python-requests, python-magic, py.test, mock, pep8. Below in Debian GNU/Linux Sid system,::
        
           $ sudo apt-get install python python-requests python-pytest pep8 python-magic python-mock
        
        Then checkout 'devel' branch for development, commit your changes. Before pull request, execute git rebase.
        
        Apply debian patch with dquilt as follwoing when making debian package.::
        
          $ dquilt diff
          Index: swiftsc-0.x.x/setup.py
          ===================================================================
          --- swiftsc-0.x.x.orig/setup.py 2013-05-08 23:53:17.000000000 +0900
          +++ swiftsc-0.x.x/setup.py      2013-05-09 11:01:52.231198152 +0900
          @@ -39,7 +39,7 @@
                   open(os.path.join("docs","TODO.rst")).read() + \
                   open(os.path.join("docs","HISTORY.rst")).read()
         
          -requires = ['setuptools', 'requests', 'python-magic']
          +requires = ['setuptools', 'requests']
         
          (snip)
        
        
        See also
        --------
        
        * `OpenStack Object Storage Developer Guide <http://docs.openstack.org/api/openstack-object-storage/1.0/content/index.html>`_
        * `Requests <http://ja.python-requests.org/en/latest/>`_
        
        ToDo
        ----
        
        * create documents
        
        History
        -------
        
        0.2.1 (2012-05-17)
        ^^^^^^^^^^^^^^^^^^
        
        * change api of retrieve_object(), response inserted boolean before content
        
        0.2 (2012-05-10)
        ^^^^^^^^^^^^^^^^
        
        * add is_object method
        * change api of is_container, response is changed status code to boolean
        
        0.1.3 (2012-05-08)
        ^^^^^^^^^^^^^^^^^^
        
        * fixes the response is not invalid with Response.json in requests 1.0 later
        
        0.1.2 (2012-05-07)
        ^^^^^^^^^^^^^^^^^^
        
        * set default timeout as 5.0
        
        0.1.1 (2012-05-05)
        ^^^^^^^^^^^^^^^^^^
        
        * fixes failed to upload without "Content-Length" when uploading empty file
        
        0.1 (2012-05-02)
        ^^^^^^^^^^^^^^^^
        
        * first release
        
        
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Programming Language :: Python
Classifier: Topic :: Internet
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Environment :: OpenStack
