sec_interp.exporters.csv_exporter module
CSV export utilities.
- class sec_interp.exporters.csv_exporter.CSVExporter(settings: dict[str, Any])
Bases:
BaseExporterExporter for CSV tabular format.
- export(output_path: Path, data: dict[str, Any]) bool
Export tabular data to CSV.
- Parameters:
output_path – Output file path.
data – A dictionary containing ‘headers’ (list of strings) and ‘rows’ (list of tuples or lists).
- Returns:
True if export successful, False otherwise
- get_supported_extensions() list[str]
Get supported CSV extension.