Skip to main content

Django cache backend for Amazon ElastiCache (memcached)

Project description

Info:

Simple Django cache backend for Amazon ElastiCache (memcached based).

Author:

UNCOVER TRUTH Inc. <develop@uncovertruth.co.jp>

Date:
2017-04-11
Version:
0.0.2
https://travis-ci.org/uncovertruth/django-elastipymemcache.svg?branch=master https://codecov.io/gh/uncovertruth/django-elastipymemcache/branch/master/graph/badge.svg https://requires.io/github/uncovertruth/django-elastipymemcache/requirements.svg?branch=master https://badge.fury.io/py/django-elastipymemcache.svg

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 pypi:

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


Download files

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

Source Distribution

django-elastipymemcache-0.0.2.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

django_elastipymemcache-0.0.2-py2.py3-none-any.whl (6.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-elastipymemcache-0.0.2.tar.gz.

File metadata

File hashes

Hashes for django-elastipymemcache-0.0.2.tar.gz
Algorithm Hash digest
SHA256 34faafcd42e82509d5e596ea38d7b00d419e75e2b5d7ac914475725ceec6eca1
MD5 e17215ee6dcf2c07a2798c00431b0128
BLAKE2b-256 4473033ad72d9b5a613d0af5722fcbc02726240aa37d8c01784eccac54a82e25

See more details on using hashes here.

File details

Details for the file django_elastipymemcache-0.0.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_elastipymemcache-0.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1e8ef02cac4ab3386cfe7995845884185abce31f57239dd1736281122e33fcee
MD5 606f877751ed2311df42d5ef4f4b915c
BLAKE2b-256 b1e541b99c1048d51b47f6013a5ce01f6bb359191f9bfd13de04c3a89e40a7d0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page