pidibble.baseparsers module¶
- class pidibble.baseparsers.ListParser(d=',')[source]¶
Bases:
objectA simple parser for lists of strings, with a customizable delimiter.
- class pidibble.baseparsers.StringParser(fmtdict, typemap, allowed={})[source]¶
Bases:
objectA parser for fixed-width strings, with a customizable field map.
- Parameters:
- report_field_error(record, k)[source]¶
Report an error in parsing a specific field from a fixed-width string record.
- pidibble.baseparsers.list_parse(obj, d)[source]¶
A factory function to create a ListParser with a specific delimiter.