modulo.utilitiesΒΆ

A dumping ground for all the random crap that accumulates in the course of development ;-)

Functions

check_params(params) Returns a tuple(list, dict) based on input params.
compact(*names)
environ_next(environ, keyfmt[, value]) Given a key format containing a %d placeholder, looks for the lowest number such that the format string with that number substituted does not exist in the environment, and assigns the given value to that key.
extract(vars)
func_update(new_func, old_func) Creates a wrapper function that calls new_func, then if the return value
hash_iterable(iterable) Computes a hash of an iterable based on the elements in the iterable.
http_date(thedate) Either parses or formats a date, depending on what kind of argument is passed to it
uri_path(environ)

Classes

attribute_dict
wrap_dict(parent)

Previous topic

modulo.session

Next topic

modulo.wrappers

This Page