A collection of modules from boodebr.org for JSON, XML, config files, SQL, locking, thread queues, and more.
Project description
A collection of modules from boodebr.org for JSON, XML, config files, SQL, locking, thread queues, and more.
Packages:
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.sql2 is a light layer for pysqlite, APSW, and MySQL, focusing on portable semantics and stability under high loads. (Beta quality for now; will eventually supercede boodebr.sql)
boodebr.util provides general utility functions, include locking, thread queues, and creation of 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.