Redis Structures
Redis data structures wrapped with Python 3.
Full documentation can be found at http://docr.it/redis_structures
Installation
redis_structures requires a running Redis server. See Redis’s quickstart for installation instructions.
To install redis_structures:
$ sudo pip install redis_structures
or from source:
$ git clone https://github.com/jaredlunde/redis_structures
$ cd redis_structures
$ sudo python setup.py install
Getting Started
>>> from redis_structures import StrictRedis, RedisHash
>>> client = StrictRedis(host='localhost', port=6379, db=0)
>>> rh = RedisHash("my_hash", prefix="rs:hash" client=client)
>>> rh['hello'] = "world" # sets the field name 'hello' to value 'world' in
>>> # redis under the key rs:hash:my_hash
>>> rh['hello']
'world'
>>> del rh['hello']
>>> rh.get('hello')
None
Metadata
Release files for redis_structures 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| redis_structures-0.1.7.tar.gz | 38.1 kB | Without provenance | Details for redis_structures-0.1.7.tar.gz |
Release files / redis_structures-0.1.7.tar.gz
| Download URL | redis_structures-0.1.7.tar.gz |
|---|---|
| Size | 38.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0771324fe348583ffdf7025e4034d8da939435e62bac3a1016216fb89b8e25ff
|
|
BLAKE2b-256 checksum How to use checksums |
f50f401e142dfd7c3bbc845139dac5523bc22023246ed540284e29e140bbff70
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for redis_structures 0.1.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.