Skip to main content

XLSB Format

Read Excel Binary Workbooks (.xlsb) as flat row dictionaries (header from the first row).

Overview

PropertyValue
Format idxlsb
ClassXLSBIterable
Extensions.xlsb
ReadYes
WriteNo
Extraxlsb (pyxlsb)
Maturitystable

Record shape

Keys come from the first sheet row (or explicit keys):

{"name": "alpha", "value": "42"}

Cell values are stringified. Requires a filename (streams not supported). list_tables() returns sheet names.

Parameters

ParameterDefaultDescription
page0Zero-based sheet index
keysfirst rowOptional explicit column names
start_line0Rows to skip after the header

Usage

from iterable import open_iterable

with open_iterable("data.xlsb") as source:
for row in source:
print(row)

with open_iterable(
"data.xlsb",
iterableargs={"page": 1},
) as source:
for row in source:
print(row)

Install with pip install iterabledata[xlsb].

See also