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()
License
The BSD three-clause license. See attached LICENSE file.
IRC
#sendapatch on chat.freenode.net.
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.1.tar.gz
(4.0 kB
view details)
File details
Details for the file cmemcache_hash-0.1.1.tar.gz
.
File metadata
- Download URL: cmemcache_hash-0.1.1.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 038521268f8178f96f3244301716045284290a66f444717a7a3443c4810671e9 |
|
MD5 | 135cdbc3a23426ccb65fd91f7772708a |
|
BLAKE2b-256 | 96572fedcf49ac31510677f8a6a73f84c106bc9f931d183c6ec817cc5fdfb108 |