Django cache backend based on Pinterest's pymemcache client.
Project description
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e2a9185dff1fc77c11c462f21cc4d8353683e354b85409639eaf77c9b373ffd8
|
|
| MD5 |
36fd0309385d16775f76166b35597d6f
|
|
| BLAKE2b-256 |
04d00504f223bd906b22ac518b50ba6185c40ec27e2752571bde3f136d82b493
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
53734eed5940350569f5cd90644dfe97755bb08f42c97d72bb149ab0c667dbdc
|
|
| MD5 |
9567dd5092f070d32df3543db4b92d62
|
|
| BLAKE2b-256 |
3594da921c46683ceeeaccab1275f2b012a8fbf6a017ce44b83116ddae3f5398
|