Skip to main content

redis-namespace

Build Status PyPi Version

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

Release files for redis-namespace 3.0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for redis-namespace 3.0.1.1
File Size Uploaded
redis_namespace-3.0.1.1.tar.gz 4.8 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for redis-namespace 3.0.1.1
File Interpreter ABI Platform
redis_namespace-3.0.1.1-py3-none-any.whl Python 3 none any Details
redis_namespace-3.0.1.1-py2-none-any.whl Python 2 none any Details

Total release size: 16.4 kB

Release files / redis_namespace-3.0.1.1.tar.gz

Download URL redis_namespace-3.0.1.1.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
244cdd189f263402cd29e5c9dad09713d4754e798073e86ad15c0650c76b62cf
BLAKE2b-256 checksum
How to use checksums
f29e1bc0601f7bbc071cfae549adf0317add63944c2f6dbddcc8773ce5d672a8
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / redis_namespace-3.0.1.1-py3-none-any.whl

Download URL redis_namespace-3.0.1.1-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
49a6fbf03093737ad40e05933f2c9cd57e12f30740f83198d5ae3e3b0fe1ce2d
BLAKE2b-256 checksum
How to use checksums
55e91ed958be59589c3d17889e00d0c55103cb5e38341de217a8021d544d19f9
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / redis_namespace-3.0.1.1-py2-none-any.whl

Download URL redis_namespace-3.0.1.1-py2-none-any.whl
Size 5.8 kB
Tags Python 2
SHA-256 checksum
How to use checksums
6824b73d4dc7880f7e5e28beea0b3f67e12aa081d3ab0f083f6f21d1d22a7676
BLAKE2b-256 checksum
How to use checksums
a19fcdf67a440602daa7bacf86b8acdebdb06036d65185706d6d5111f4c279da
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

3.0.1.1 This release

3 release files

0.0.4

3 release files

0.0.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page