Install & Compatibility
Where this runs
tested against v0.3.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 19.6MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 2.5s · import 0.000s · 20MB
17MB installed
● package 17MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
BMemcachedCache
✓ from django_bmemcached import BMemcachedCache
✗ from django_bmemcached import BMemcachedCache
Django settings configuration for using bmemcached with authentication.
import os
CACHES = {
'default': {
'BACKEND': 'django_bmemcached.memcached.BMemcachedCache',
'LOCATION': [os.environ.get('MEMCACHED_HOST', '127.0.0.1:11211')],
'OPTIONS': {
'username': os.environ.get('MEMCACHED_USER', ''),
'password': os.environ.get('MEMCACHED_PASS', ''),
}
}
}
Upgrade
Version history
0.3.0latest on PyPI · released Jan 9, 2020
Audit
Dependencies
python-memcachedrequiredRequired for the backend; bmemcached is a wrapper over it.
djangorequiredCache backend intended for Django projects.