Skip to main content

Django cache backend based on Pinterest's pymemcache client.

Project description

https://travis-ci.org/django-pymemcache/django-pymemcache.svg?branch=master https://codecov.io/gh/django-pymemcache/django-pymemcache/branch/master/graph/badge.svg https://img.shields.io/pypi/v/django-pymemcache.svg?style=flat https://img.shields.io/pypi/djversions/django-pymemcache.svg?style=flat https://img.shields.io/pypi/pyversions/django-pymemcache.svg?style=flat

django-pymemcache is a Django cache backend that uses Pinterest’s pymemcache library as the backend.

Installation

pip install django-pymemcache

Usage

Simply use it as any other Cache backend, e.g.

CACHES = {
    'default': {
        'BACKEND': 'djpymemcache.backend.PyMemcacheCache',
        'LOCATION': [
           '127.0.0.1:11211',
        ],
        'OPTIONS': {
            'serializer': <your_serializer>,
            'deserializer': <your_deserializer>,
        },
    },
}

Issues

https://github.com/django-pymemcache/django-pymemcache/issues

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-pymemcache-1.0.0.tar.gz (7.5 kB view hashes)

Uploaded Source

Built Distribution

django_pymemcache-1.0.0-py3-none-any.whl (10.9 kB view hashes)

Uploaded Python 3

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