RedisDB
Overview
It is a wrapper for a Redis Server.
Installing RedisDB and Supported Versions
RedisDB is available on PyPI:
$ python -m pip install wrapper-redis-client
RedisDB officially supports Python 3.8+.
Cloning the repository
$ git clone https://github.com/tatianno/wrapper-redis-client.git
Example
from wrapper_redis_client import RedisDB
# We set Online: as the default prefix for keys that will be used to persist data.
redis_db = RedisDB(key_prefix='Online:')
# Clearing previously persisted data.
#
# Obs.: Only data persisted with the keys that have the prefix informed during the instance of the class will be erased.
redis_db.flushall()
# Persisting data with the Online:Test key
redis_db.save('Online:Test', {'test': 1234})
# Retrieving data with the Online:Test key
data = redis_db.get('Online:Test')
# Getting list of keys with prefix informed during class instance
keys_list = redis_db.get_all_keys()
# Erasing data with the Online:Test key
redis.delete('Online:Test')
Metadata
Release files for wrapper-redis-client 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| wrapper_redis_client-0.0.4-py3-none-any.whl | Python 3 | none | any | Details for wrapper_redis_client-0.0.4-py3-none-any.whl |
Release files / wrapper_redis_client-0.0.4-py3-none-any.whl
| Download URL | wrapper_redis_client-0.0.4-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a7b703461fc91a87584a00888f72d6b7c9eac2790458cbe27b5aee19fc409ef1
|
|
BLAKE2b-256 checksum How to use checksums |
a68fced64a149b00901925f5cb144b2d0a95004e88c9172b3277c06238602c80
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.10
|
Security for wrapper-redis-client 0.0.4
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.