Skip to main content

Django cache backend using pylibmc

Project description

================================
pylibmc cache backend for Django
================================

This package provides a memcached cache backend for Django using
`pylibmc http://github.com/lericson/pylibmc`_. You want to use pylibmc because
it's fast.


Requirements
------------

django-pylibmc requires Django 1.2. It was written and tested on Python 2.6.


Installation
------------


Get it from `pypi <http://pypi.python.org/pypi/django-pylibmc>`_::

pip install django-pylibmc

or `github <http://github.com/jbalogh/django-pylibmc>`_::

pip install -e git://github.com/jbalogh/django-pylibmc.git#egg=django-pylibmc


Caveats
-------

This package breaks away from the current handling of ``timeout=0`` in Django.
Django converts 0 into the default timeout, while django-pylibmc leaves it as
0. memcached takes 0 to mean "infinite timeout." You can still pass ``None``
to get the default timeout.

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-pylibmc-0.2.tar.gz (3.9 kB view hashes)

Uploaded Source

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