Modules from boodebr.org for JSON, XML, config files, and more.
The boodebr library is a collection of several Python modules from boodebr.org
boodebr.ion is a serializer that implements the JSON/RFC 4627 object model, but can read/write XML as well as JSON streams. It provides a common API (internal and external); changing from XML to JSON (or vice versa) requires only a single parameter change. boodebr.ion implements true object pickling on top of the JSON and XML layers, and allows pickling of binary data, while remaining 100% compatible with RFC 4627.
boodebr.config supports configuration files similar in spirit to .INI files, but uses either JSON or XML format, and can contain arbitrary objects. It has a much simpler API than Python’s ConfigParser.
boodebr.sql is a light layer over pysqlite and/or APSW providing some extra convenience and a multithread-safe wrapper (sqliteQ).
boodebr.util provides general utility functions. Among others is makeGUID() for creating unique IDs.
boodebr.disthelper provides a number of utilities useful for writing setup scripts, providing replacements for some POSIX tools missing in many environments.
boodebr.gui is a convenience wrapper for wxPython.
See the full documentation for more information.