Entity Extractor is an application that generates ORM code from a database structure. It was originally written for generating class codes for Storm (The Canonical ORM for Python), but can be extended to generate ORM code from almost any database type. It is highly configurable, has a simple interface, and allows users to add their own features very easily.
minidb is a Python module that utilizes the SQLite3 database library in order to store and retrieve Python objects. It utilizes Python's __slots__ mechanism to determine the column names, and uses the class name for table names. Data is always stored as text in the database, but will be converted using the type specified in __slots__ (which therefore has to be a dict).
Reconfigure is a Python library for parsing and generating a range of configuration file formats. It creates an object mapping for the config file content. Supported configs include Ajenti, BIND9 DNS, Crontabs, Samba CTDB, ISC DHCPD / uDHCPD, NFS /etc/exports, /etc/fstab, /etc/group, /etc/hosts, iptables-save dump, Netatalk afp.conf, NSD DNS, /etc/passwd, /etc/resolv.conf, Samba, Squid 3, and Supervisord. Parsers are also provided for file formats including .ini, CSV, nginx-like, and JSON.