Skip to content

Icici

pipelines.extraction.xlsx.banks.icici

Summary

Icici bank-specific port implementations (xlsx table path).


Faithful port of domain/extraction/banks/icici/xlsx.py: the xlsx reader uses the shared TableParserMixin (default icici aliases) over typed worksheet rows. Ordering/balance policy stays in the shared tabular txn_dicts stage.

Classes

IciciXlsxExtractionPipeline

Bases: ImplXlsxExtractionPipeline

Icici xlsx graph root — pins the Icici reader.

Attributes:

Name Type Description
table_reader IciciXlsxTableReaderPort

Icici xlsx reader stage.

Functions
run
run(source) -> List[Any]

Run the direct-table extraction chain.

Parameters:

Name Type Description Default
source

Raw extraction source.

required

Returns:

Type Description
List[Any]

List[Any]: Raw expense records.

IciciXlsxTableReaderPort

Bases: ImplXlsxTableReaderPort

Icici xlsx reader — inherits the default (icici) column aliases.

Functions
read
read(content) -> List[dict]

Read typed records from xlsx content.

Parameters:

Name Type Description Default
content

Materialized content (Content, bytes, or dict).

required

Returns:

Type Description
List[dict]

List[dict]: Typed table records.