Implements consistent hashing that can be used when the number of
server nodes can increase or decrease (like in memcached). The
hashing ring is built using the same algorithm as libketama.
Consistent hashing is a scheme that provides a hash table functionality
in a way that the adding or removing of one slot does not significantly
change the mapping of keys to slots.
By using the class Instant a Python extension module can be created at runtime.
For the user, it behaves somewhat like an inline module, except you have to
import the module manually.
The code can be either C or C++, but like when programming C or C++, it has to
be inside a function or a similar C/C++ construct.
Resolve specially formated statements to Python objects.
Turn strings like "packagename.modulename:Eval().the_rest()" into
whatever you would get back by performing a similar sequence of
imports and calls. This is useful for config files and situations
where you would like to import things in a lazy way. Later this
package will probably provide a way to restrict resolution for safety.
Kid is a simple template language for XML based vocabularies written in Python.
It was spawned as a result of a kinky love triangle between XSLT, TAL, and PHP.
We believe many of the best features of these languages live on in Kid with
much of the limitations and complexity stamped out.
This library brings functools.singledispatch from Python 3.4 to
Python 2.6-3.3.
PEP 443 proposed to expose a mechanism in the functools standard
library module in Python 3.4 that provides a simple form of generic
programming known as single-dispatch generic functions.
This library is a backport of this functionality to Python 2.6 - 3.3.
memory_profiler is a python module for monitoring memory consumption of a
process as well as line-by-line analysis of memory consumption for python
programs. It is a pure python module and has the psutil module as optional
(but highly recommended) dependencies.
Venusian is a library which allows framework authors to defer decorator
actions. Instead of taking actions when a function (or class) decorator
is executed at import time, you can defer the action usually taken by
the decorator until a separate "scan" phase.
WSGIUtils is a package of standalone utility libraries that ease the development
of simple WSGI programs.
The package is divided into two main components which can be used individually or
in combination.
wsgiServer is a multi-threaded WSGI web server based on SimpleHTTPServer.
wsgiAdaptor is a simple WSGI application that provides basic authentication,
signed cookies and persistent sessions.
PALM is a library for using Google's protocol buffers in Python. It has
a fast core written in C with a thin Cython binding to Python. The goal
of palm was to make improvements to the Google reference implementation,
namely:
* Make the library significantly faster
* Clean up the API
PBR is a library that injects some useful and sensible default
behaviors into your setuptools run. It started off life as the chunks
of code that were copied between all of the OpenStack projects. Around
the time that OpenStack hit 18 different projects each with at least 3
active branches, it seems like a good time to make that code into a
proper re-usable library.