Django cache backend for Amazon ElastiCache (memcached)
Project description
- Info:
Simple Django cache backend for Amazon ElastiCache (memcached based).
- Copyright:
- © UNCOVER TRUTH Inc.
- Date:
- 2017-04-11
- Version:
- 0.0.1
Purpose
Simple Django cache backend for Amazon ElastiCache (memcached based). It uses pymemcache and sets up a connection to each node in the cluster using auto discovery. Originally forked from django-elasticache.
Requirements
pymemcache
Django>=1.8
Installation
Get it from pypix:
pip install django-elastipymemcache
Usage
Your cache backend should look something like this:
CACHES = { 'default': { 'BACKEND': 'django_elastipymemcache.memcached.ElastiPyMemCache', 'LOCATION': '[configuration endpoint].com:11211', } }
Testing
Run the tests like this:
nosetests
Project details
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
File details
Details for the file django-elastipymemcache-0.0.1.tar.gz
.
File metadata
- Download URL: django-elastipymemcache-0.0.1.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a73b15f90d94bc99e9bf79121aabaae84d55e106c48e18b7f71d60856590c8a0 |
|
MD5 | 9500e0f0dea4f65b254ad32616428ac6 |
|
BLAKE2b-256 | bb6632c0cf5c1fd4c97074c25c54ad1c0428da82645914a7e8d8371c1f0ca44f |