Repository navigation
0.3.0
It uses the Rust core 0.3.0.
Changed
crabxlhas its own, fully typed API.Workbookcreates a workbook or
opens one to change it;ReaderandWriterstream rows with bounded
memory. See the documentation.- The openpyxl interface moved to
crabxl.openpyxl. Change
import crabxl as openpyxltoimport crabxl.openpyxl as openpyxl. Its
behavior is unchanged: the openpyxl 3.1.5 suite gives the same results.
Added
- Lossless saves: a save raises
UnsupportedErrorinstead of dropping
content CrabXL cannot keep. Open withdata_loss="allow"to permit it. - Row and column inserts and deletes update formulas on every sheet,
defined names, tables, rules, merges, row heights, charts, anchors and
internal hyperlinks. - Atomic saves to paths. An existing file keeps its permissions.
numbers="exact"returns non-integers asDecimal; integers of any size
are exactintvalues.- Date formats read by the parts they show:
datetime.datefor date-only
formats anddatetime.timefor time-only formats. - A typed exception hierarchy under
CrabXLError, withsheet,celland
partattributes. py.typedand a stub for the native module. The public package passes
mypy and pyright in strict mode.