🚀 Launch Week Day 4:Introducing the Alert Details Page: A Better Way to Explore Alerts.Learn More →
Socket
Book a DemoInstallSign in
Socket

django-pymemcache

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

django-pymemcache

Django cache backend based on Pinterest's pymemcache client.

pipPyPI
Version
1.0.0
Maintainers
2

django-pymemcache

.. image:: https://travis-ci.org/django-pymemcache/django-pymemcache.svg?branch=master :target: https://travis-ci.org/django-pymemcache/django-pymemcache .. image:: https://codecov.io/gh/django-pymemcache/django-pymemcache/branch/master/graph/badge.svg :target: https://codecov.io/gh/django-pymemcache/django-pymemcache .. image:: https://img.shields.io/pypi/v/django-pymemcache.svg?style=flat :target: https://pypi.org/project/django-pymemcache/ .. image:: https://img.shields.io/pypi/djversions/django-pymemcache.svg?style=flat .. image:: 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 <https://docs.djangoproject.com/en/stable/topics/cache/>_, e.g.

.. code-block:: python

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

.. _pymemcache: https://github.com/pinterest/pymemcache

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts