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)
==================
.. 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)
Release files for reids-json-storage 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| reids-json-storage-0.2.0.tar.gz | 2.4 kB | Details |
Release files / reids-json-storage-0.2.0.tar.gz
| Download URL | reids-json-storage-0.2.0.tar.gz |
|---|---|
| Size | 2.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
51efc86affa1c4f5983df8a8e2e4056bf9b4312e88c945da807dbab544666b84
|
|
BLAKE2b-256 checksum How to use checksums |
25e04638c63c3dbd800449607bda26cb73772e337cc6853c1398eefcbc37c9b0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |