Python module providing XML object reflection for "smart" forms with embedded constraints