nameko-objectstorage

A dependency for IBM Bluemix Object Storage


License
Apache-2.0
Install
pip install nameko-objectstorage==0.1.3

Documentation

nameko-objectstorage

A IBM Bluemix Object Storage dependency for nameko, enabling services to interface with object storage containers and objects. Future improvements are full support for open stack object storage in general.

Usage

from nameko_objectstorage import ObjectStorage

class Service:

    storage = ObjectStorage()

    @event_handler("dispatcher", "topic")
    def handler(self, payload):
        obj = self.storage.get_object(container, object_name)

        # Do stuff with object


        ...

To-Do

  1. Write tests!
  2. Implement support for native open stack.