mkouhei / swiftsc

Simple client library of OpenStack Swift

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

image

image

image

Documentation Status

Requirements

  • Python 2.7 over or Python 3.3 over
  • requests 0.12.1 later
  • python-magic 5.x in debian package or python-magic 0.4.3 later of PyPI

Setup

$ pip install --user swiftsc
or
(venv)$ pip install swiftsc

workaround of Python 3.3

When not using debian package of python-magic, current version(0.4.3) is not support python 3.3. Python 3.3 is supported by committed after one of the tag of 0.3.

https://github.com/ahupp/python-magic/commit/d033eb46a8ace66cf795c54168a197228e47ce9e

So you must install from github until next version will release.:

$ git clone https://github.com/ahupp/python-magic
$ cd python-magic
$ sudo python setup.py install
$ cd
$ git clone https://github.com/mkouhei/swiftsc
$ cd swiftsc
$ sudo python setup.py install

See also

About

Simple client library of OpenStack Swift

License:GNU General Public License v3.0


Languages

Language:Python 99.6%Language:Shell 0.4%