Repository navigation
0.5.0
It uses the Rust core 0.4.0.
Changed
- CrabXL needs Python 3.12 or newer. The public type aliases use the
typestatement (PEP 695). - A chart no longer holds its place:
sheet.charts.add(chart, at="E2:L18"),
as for pictures.Charttakes the kind, the series and the options.
Iteratingsheet.chartsgivesPlacedChartvalues. RowsandColumnsare nowRowSpanandColumnSpan, so they differ
fromRow, a row thatReaderreads.- A streaming sheet uses the collections of a workbook sheet:
sheet.merges.add(...),sheet.validations.add(...)and
sheet.conditional_formats.add(...)replacemerge,add_validation
andadd_conditional_format. freeze_panesandcolumns(...).widthof a streaming sheet read back the
values you set, instead ofNone.from crabxl import load_workbookand the other openpyxl names now raise
a plainImportError. Import them fromcrabxl.openpyxl.
Added
Workbook.openandReader.openaccept any bytes-like object, such as
bytearray,memoryviewormmap.- The worksheet collections of
ReaderandWriterare public types,
WorksheetReadersandWorksheetWriters, with anamesproperty. Source,Target,Limits,Numbers,DatesandVisibilityare
exported for type annotations.