Skip to main content

Redis json stroage.

Project description

redis-json-storage
==================

.. image:: https://travis-ci.org/appstore-zencore/rjs.svg?branch=master
:target: https://travis-ci.org/appstore-zencore/rjs

Reids json storage. Store json data as hashmap in redis.

Install
-------

::

pip install redis-json-storage

Class & Methods
-----

1. redis_json_storage.JsonStorage

a. update
b. get
c. delete
d. delete_field


Example
-----

::

from redis_json_storage import JsonStorage

connection = make_redis_connect(config)
storage = JsonStorage(connection)
data1 = {
"a": 1,
"b": 2,
}
storage.update(data1)
data2 = {
"b": 3,
"c": 4,
}
storage.update(data2)
data3 = storage.get(key)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for reids-json-storage, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size reids-json-storage-0.2.0.tar.gz (2.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page