Skip to main content

Redis json stroage.

Project description

rjs
===

Reids json storage.

Install
-------

::

pip install rjs

Class & Methods
-----

1. rjs.JsonStorage

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


Example
-----

::

from rjs 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.

Source Distribution

rjs-0.1.0.tar.gz (2.2 kB view details)

Uploaded Source

File details

Details for the file rjs-0.1.0.tar.gz.

File metadata

  • Download URL: rjs-0.1.0.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for rjs-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5c3f56e0fe284abba3293ea5a2a5bcaf3af3bcbf8c5c0568cb107120fe0e2fe8
MD5 c38d6d08894302cc13c520bb6ba309d1
BLAKE2b-256 70cb98e4c7c8272c92b7e9dda65659a59b685e2e8155e3fef2c2836f97554882

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page