A dependency for IBM Bluemix Object Storage
Project description
nameko-objectstorage
=================
A IBM Bluemix Object Storage dependency for `nameko <http://nameko.readthedocs.org>`_, enabling services to interface with object storage containers and objects. Future improvements are full support for open stack object storage in general.
Usage
-----
.. code-block:: python
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.
=================
A IBM Bluemix Object Storage dependency for `nameko <http://nameko.readthedocs.org>`_, enabling services to interface with object storage containers and objects. Future improvements are full support for open stack object storage in general.
Usage
-----
.. code-block:: python
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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file nameko-objectstorage-0.1.2.tar.gz
.
File metadata
- Download URL: nameko-objectstorage-0.1.2.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb77e740d9f3e1bb18aeed0285e364afa1351c01a7aa57c9778ff3c27e362eb9 |
|
MD5 | b22ed9e473b5bbb29c3d92edd1b9527d |
|
BLAKE2b-256 | 9b2bcf5a4988aec0e0400fb91c1d27995b73ccb68d3b71b801aae93601e28247 |
File details
Details for the file nameko_objectstorage-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: nameko_objectstorage-0.1.2-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e9a876c794710fa6d2563279f651bd429c6950b1f28667bf70dd769b90ea29f |
|
MD5 | 800dc3bd2659c934ea6a7b736569a63f |
|
BLAKE2b-256 | 85a52f03fdca9a57ec6c5984310ab4e0b7861929a8f7eb75e1fa93346c9a4c61 |