chrismoos/hash-ring — pull request #3 by mikeyk (2011-12-26 18:48:17+00:00)
Title: Add Python bindings & libmemcached ketama compatibility

The Python bindings are written with ctypes and support adding, removing, printing, and finding nodes.

For libmemcached compatibility, their implementation of ketama only uses the lower 32 bits, and for the node name appends the position in the ring as "-index" instead of just "index". I made this a compile-time option.