Python Parser for xbrl