Skip to main content

backend for dogpile.cache with reading and writing the native value

Project description


Use pip:

pip install dogpile_cache_native_redis


See the example.


from dogpile.cache import make_region

region = make_region().configure(
    # arguments are same as redis backend.
    arguments = {
        'host': "",

region.set("test", b"value")
region.set_multi({"key1": b"value1", "key2": 100})
print(region.get_multi(["key1", "key2"]))


$ python
[b'value1', b'100']

See with redis-cli:

$ redis-cli> get test
"value"> mget key1 key2
1) "value1"
2) "100"

Project details

Release history Release notifications

This version
History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
dogpile_cache_native_redis-0.1-py2.py3-none-any.whl (4.4 kB) Copy SHA256 hash SHA256 Wheel 3.5 Dec 1, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page