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

Metadata

Release files for redis-namespace 2.10.5.2

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 2.10.5.2
File Size Uploaded
redis_namespace-2.10.5.2.tar.gz 4.7 kB Details

Built distributions (wheels)

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

Total release size: 16.1 kB

Release files / redis_namespace-2.10.5.2.tar.gz

Download URL redis_namespace-2.10.5.2.tar.gz
Size 4.7 kB
Tags Source
SHA-256 checksum
How to use checksums
77a0986774e2f6668f502c12b9b2cf558a73eb504f49eddc95e6e46c86b5fa42
BLAKE2b-256 checksum
How to use checksums
5af41d5b617d5c9455e52600bdb6de2edca4219ea466e25c8066c675c2e3ad45
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-2.10.5.2-py3-none-any.whl

Download URL redis_namespace-2.10.5.2-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1a869656363e831540fd87331ad6f3e2d16429aec05133a8e8ba265be3783728
BLAKE2b-256 checksum
How to use checksums
a2b3e9ac4caa496f5dfd070a6e9fcd781327bb7ac145a9e2ba78668e06299cf6
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-2.10.5.2-py2-none-any.whl

Download URL redis_namespace-2.10.5.2-py2-none-any.whl
Size 5.7 kB
Tags Python 2
SHA-256 checksum
How to use checksums
c93ae40962302f42aff62ba142183a28feab05a68c31a91964eaa9f07fb8e9ad
BLAKE2b-256 checksum
How to use checksums
42c4326cd83d06e99d69b47907766771d18cf1d6a03db08a46d89d70659cfc92
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

2.10.5.2 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