This document summarizes a presentation given by Felix Zumstein on cross-platform spreadsheet automation using Python and xlwings. The presentation covered the history and capabilities of xlwings across different platforms and versions over the past 8 years. It introduced the new capabilities of running xlwings remotely without a local Python installation and reading Excel files 5-20x faster than pandas. The presentation concluded with a giveaway and invitation to continue discussions over drinks at a nearby pub.
13. 13
xlwings v0.26.0: Remote Interpreter
• It’s a web app with Excel as the frontend
• No local Python installation required!
• Works with
– Excel (Windows / macOS / Web)
– Google Sheets
• Yes, xlwings now runs on all of these:
– Linux / Docker / WSL
• Part of xlwings PRO, i.e., free for non-commercial use
18. 18
xlwings v0.28.0 adds a file reader!
with xw.Book("AAPL.xlsx", mode="r") as book:
mysheet = book.sheets[0]
df = mysheet["B2:G7"].options("df").value
19. 19
Why is this exciting?
• 5x – 20x faster than pandas (single sheet)
depending on file format and Python version
• Supports named ranges (pandas doesn’t)
• All the xlwings magic is available
– Same intuitive API
– Converters & Options
– Dynamic ranges
20. 20
Some more details
• Supports xlsx/xlsm, xlsb, and xls
• Doesn’t require Excel and works on all platforms
• Is a Rust extension, based on the Calamine
project: https://github.com/tafia/calamine
• Part of xlwings PRO, i.e., free for non-
commercial use