# sec_interp.exporters.csv_exporter module

CSV export utilities.

class sec_interp.exporters.csv_exporter.CSVExporter(settings: dict[str, Any])

  Bases: `BaseExporter`

  Exporter for CSV tabular format.

  export(output_path: Path, data: dict[str, Any], layer_name: str | None = None) → 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).

      - layer_name – Optional conceptual name for the layer (ignored for CSV).

    Returns:

      True if export successful, False otherwise

  get_supported_extensions() → list[str]

    Get supported CSV extension.