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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file django-pymemcache-1.0.0.tar.gz.

File metadata

  • Download URL: django-pymemcache-1.0.0.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.0

File hashes

Hashes for django-pymemcache-1.0.0.tar.gz
Algorithm Hash digest
SHA256 e2a9185dff1fc77c11c462f21cc4d8353683e354b85409639eaf77c9b373ffd8
MD5 36fd0309385d16775f76166b35597d6f
BLAKE2b-256 04d00504f223bd906b22ac518b50ba6185c40ec27e2752571bde3f136d82b493

See more details on using hashes here.

File details

Details for the file django_pymemcache-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: django_pymemcache-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 10.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.0

File hashes

Hashes for django_pymemcache-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 53734eed5940350569f5cd90644dfe97755bb08f42c97d72bb149ab0c667dbdc
MD5 9567dd5092f070d32df3543db4b92d62
BLAKE2b-256 3594da921c46683ceeeaccab1275f2b012a8fbf6a017ce44b83116ddae3f5398

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