Agate contains a fixed-width file reader that is designed to work like Python’s
These readers work with CSV-formatted schemas, such as those maintained at wireservice/ffs.
||A wrapper around
||Reads a fixed-width file using a column schema in CSV format.|
||A fixed-width reader that returns
A wrapper around
fixed.Reader, so that it can be used in the same way as a normal CSV reader.
Reads a fixed-width file using a column schema in CSV format.
This works almost exactly like Python’s built-in CSV reader.
Schemas must be in the “ffs” format, with
lengthcolumns. There is a repository of such schemas maintained at wireservice/ffs.
The names of the columns read from the schema.
A fixed-width reader that returns
collections.OrderedDictrather than a list.