Skip to main content

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


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

Uploaded Source

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