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.1.tar.gz
.
File metadata
- Download URL: nameko-objectstorage-0.1.1.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84369edd6f706e103b12a2d0238fa0f53ef24ec5ba0b159acaef38d99d5a3f66 |
|
MD5 | 6b2be84d618a6b8082c4af4b7745bc9f |
|
BLAKE2b-256 | 90624a1bd5a9bede92e84c460f7f5d95f3d7341aaaee092773fe51afb0c65c62 |
File details
Details for the file nameko_objectstorage-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: nameko_objectstorage-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 561a0f6531966bdabf62070165345fa4efbe4a8902bb9ffef5ade3e7582ac35e |
|
MD5 | 35de876a929f3e8604aee6561a3a15ef |
|
BLAKE2b-256 | 56c9f8bf0347390892252647ca7c93e7109872e59ed754738774057ad606b94f |