cmemcache-style CRC32 hashing for python-memcached.
Project description
cmemcache_hash enables python-memcached to use the very same hashing algorithm that the cmemcache module uses.
This is useful when you’re mixing cmemcache and python-memcached or other libraries that use the cmemcache-style hashing algorithm, like PostgreSQL’s pgmemcache module.
Setup
Simply install the module and import it, and it is enabled:
import cmemcache_hash
If you feel like deactivating, use:
cmemcache_hash.deactivate()
Or reactivating it:
cmemcache_hash.activate()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cmemcache_hash-0.1.tar.gz
(2.7 kB
view details)
File details
Details for the file cmemcache_hash-0.1.tar.gz
.
File metadata
- Download URL: cmemcache_hash-0.1.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33264bb2b0ca2400aa8d0823dd3ad67c603307b70917c447a09444fccd6bbb20 |
|
MD5 | 563e80718c2a455e4ff8efca147c1def |
|
BLAKE2b-256 | e6e6b2e543f28e1ef949a3752f5ab2169d629b1b9f4617176d9f732c00cde480 |