redis-namespace 3.0.1.1
pip install redis-namespace
Latest version
Released:
namespaced subset of your redis keyspace
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (MIT)
- Author: zrq495
- Tags redis namespace, redis prefix
Classifiers
- License
- Operating System
- Programming Language
Project description
redis-namespace
redis-namespace for python
Redis namespace provides an interface to a namespaced subset of your redis keyspace (e.g., keys with a common beginning), and requires the redis-py.
import redis
from redis_namespace import StrictRedis
redis_connection = redis.StrictRedis()
namespaced_redis = StrictRedis(namespace='ns:')
namespaced_redis.set('foo', 'bar') # redis_connection.set('ns:foo', 'bar')
namespaced_redis.get('foo')
redis_connection.get('ns:foo')
namespaced_redis.delete('foo')
namespaced_redis.get('foo')
redis_connection.get('ns:foo')
Installation
pip install redis-namespace
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (MIT)
- Author: zrq495
- Tags redis namespace, redis prefix
Classifiers
- License
- Operating System
- Programming Language
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file redis_namespace-3.0.1.1.tar.gz
.
File metadata
- Download URL: redis_namespace-3.0.1.1.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 244cdd189f263402cd29e5c9dad09713d4754e798073e86ad15c0650c76b62cf |
|
MD5 | f88750bda5ab5345c3a8711b2f9e7134 |
|
BLAKE2b-256 | f29e1bc0601f7bbc071cfae549adf0317add63944c2f6dbddcc8773ce5d672a8 |
File details
Details for the file redis_namespace-3.0.1.1-py3-none-any.whl
.
File metadata
- Download URL: redis_namespace-3.0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49a6fbf03093737ad40e05933f2c9cd57e12f30740f83198d5ae3e3b0fe1ce2d |
|
MD5 | aefb19ad2a4e9c74bb725d822429e5ee |
|
BLAKE2b-256 | 55e91ed958be59589c3d17889e00d0c55103cb5e38341de217a8021d544d19f9 |
File details
Details for the file redis_namespace-3.0.1.1-py2-none-any.whl
.
File metadata
- Download URL: redis_namespace-3.0.1.1-py2-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6824b73d4dc7880f7e5e28beea0b3f67e12aa081d3ab0f083f6f21d1d22a7676 |
|
MD5 | 447104bed3fb241b072bc78c6d584b1d |
|
BLAKE2b-256 | a19fcdf67a440602daa7bacf86b8acdebdb06036d65185706d6d5111f4c279da |