🌿 xlsx-safe-edit v1.0.1 · MIT

Edit a .xlsx by script without the openpyxl data-loss risk — cell-by-cell collateral-change and media-loss guards, then atomic replacement.

What it does

Install (pip, v1.0.1+)

pip install git+https://mandrilly.com/git/xlsx-safe-edit.git

Installs a xlsx-safe-edit command (zero Python dependencies — uses your system soffice):

xlsx-safe-edit spec.xlsx            # → ./fiche_extract_spec/{csv/, media/, report.json}
xlsx-safe-edit spec.xlsx -o out_dir

Quick start (from source)

python3 fiche_extract.py spec.xlsx            # → /tmp/fiche_extract_spec/{csv/, media/, report.json}
python3 fiche_extract.py spec.xlsx -o out_dir

Source

git clone https://mandrilly.com/git/xlsx-safe-edit.git

Requires Python 3.8+ and LibreOffice (soffice). Test fixtures included.