buildingmotif.ingresses.csvingress#

Classes

CSVIngress([filename, data])

Reads rows from a CSV file and exposes them as records.

class CSVIngress(filename: Optional[Path] = None, data: Optional[Union[str, StringIO]] = None)[source]#

Reads rows from a CSV file and exposes them as records. The type of the record is the name of the CSV file

property records: List[Record]#

Generates (then caches) a list of Records from an underlying data source