Related link: http://www.voidspace.org.uk/python/modules.shtml#pythonutils

The PythonUtils package includes:

  • ConfigObj
  • validate
  • listquote
  • StandOut
  • pathutils
  • cgiutils
  • urlpath
  • odict

  • The most interesting of these to me are ConfigObj, StandOut and
    odict.

    ConfigObj looks like a pretty thorough config file parser and creation
    utility.

    StandOut is a utility that “magically” intercepts writes to stdout and to
    stderr and also can be used to do more “regular” logging.

    odict is a library that will create an ordered dictionary. Dictionaries in
    Python are unordered and do not guarantee how the keys will be sorted as you
    iterate through the keys or values. odict can guarantee the order of
    dictionaries.

    I’ve just now downloaded PythonUtils and am interested in playing around with
    it.