SlideShare a Scribd company logo
PDF factsheets
with xlwings Reports
Felix Zumstein
August 12, 2021
Agenda
1. Introduction
2. What’s wrong with reporting?
3. Demos: xlwings Reports
2
1. Introduction
4
xlwings
• I released the first version of xlwings in 2014
• After working on it for 6 years as an open-
source project, I realized two things:
– Putting in the required amount of work for $0 is
unsustainable
– Most users are using xlwings for some sort of reporting
• Consequence: Either make it abandonware or
find a way to fund the project
5
I wrote a Book (March 2021)
I. Introduction to Python
II. Introduction to pandas
III. Reading and Writing Excel
Files without Excel
IV.Programming the Excel
Application with xlwings
See: https://www.xlwings.org/book
2. What’s wrong with reporting?
7
What’s wrong with the others?
• Pure code solutions (e.g., ReportLab)
– Developer dependency / requires lots of code / slow development
• HTML/CSS-based solutions (e.g., Plotly Dash)
– Code and design can be separated, but requires frontend knowledge
• BI tools (e.g., Power BI, Tableau, etc.)
– For interactive dashboards, not PDF reports / lack of connectors
• Connecting Excel with Word/PowerPoint
– Error prone / usually requires more than one template
• Desktop publishing (e.g., Adobe InDesign)
– Can’t be automated the way we want
8
What’s wrong with xlwings (OSS)?
for address in ['A1', 'B2', 'C3']:
mysheet[address].value = 'xlwings'
for address in ['A1', 'B2', 'C3']:
mysheet[address].value = 'xlwings'
'A3', 'B4', 'C5'
Code AND
template changes
Requires loops
9
xlwings Reports: Placeholders
create_report(
'template.xlsx',
'report.xlsx',
name='xlwings'
)
No code
changes
No loops
3. xlwings Reports: Demos
11
Separation of Code and Design
Pre-processing
(e.g., database query)
Post-processing
(e.g., upload to web server)
holdings,
asofdate,…
Reports (xlsx & PDF)
Template (xlsx)
Variables/
Placeholders
12
Demo 1: Placeholders & Filters
• Placeholders
{{ holdings }}
• Filters, e.g., biggest 5 positions:
{{ holdings | sortdesc(4) | head(5) }}
13
Demo 2: Full reporting pipeline
• Pre-processing
– Read data from various sources incl. text, Word and CSV files
– Clean/manipulate the data with pandas
• Report Generation
– xlsx and PDF
• Post-processing
– uploading it to the xlwings.org webpage via AWS S3
90 lines of code (!): https://github.com/xlwings/xlwings-factsheet-demo
14
Ways to run the reporting pipeline
• Excel workbook (used by the demo)
• Jupyter notebook
• Python script / CLI (e.g., for scheduler)
• Locally installed GUI
• Web-based UI
15
Summary: xlwings Reports
• Separation of concerns: code vs. design
• Template: one, and only one
• Layout: multi-column
• Text: formatting via Markdown
• Tables: dynamically formatted with powerful filters
• Charts: via Excel or Python (Matplotlib, Plotly)
• PDF: “Print” on PDF in corporate layout
16
Pricing
• From USD 82.50/month, your whole company can
run on xlwings Reports
• Developer license: only users who write Python
code need a paid license
• Tools can be used forever even if plan is cancelled
(but no support/upgrades)
• https://www.xlwings.org/pricing
17
How to get started
• Get a trial license from:
https://www.xlwings.org/trial
• Read the docs:
https://docs.xlwings.org/en/stable/reports.html
• Book a meeting with me:
https://calendly.com/felix-zumstein/xlwings
Thank You
Let’s connect:
https://www.linkedin.com/in/felix-zumstein

More Related Content

PPTX
Building event-driven Serverless Apps with Azure Functions and Azure Cosmos DB
Microsoft Tech Community
 
PDF
Finit creative solutions for cash flow fx analysis through dashboarding
finitsolutions
 
PDF
Web adi webcast_v3
Bala Nagella
 
PPT
20220205 Getting started with power bi
Aroh Shukla
 
PPTX
1. introduction to uml
PRABU M
 
PDF
Oracle database high availability solutions
Kirill Loifman
 
PDF
Sap hr
Rupasree Yacha
 
PDF
OOM MCQ 2018
lochan100
 
Building event-driven Serverless Apps with Azure Functions and Azure Cosmos DB
Microsoft Tech Community
 
Finit creative solutions for cash flow fx analysis through dashboarding
finitsolutions
 
Web adi webcast_v3
Bala Nagella
 
20220205 Getting started with power bi
Aroh Shukla
 
1. introduction to uml
PRABU M
 
Oracle database high availability solutions
Kirill Loifman
 
OOM MCQ 2018
lochan100
 

What's hot (20)

PDF
Design patterns tutorials
University of Technology
 
PPTX
Oracle architecture ppt
Deepak Shetty
 
PPTX
Javax.servlet,http packages
vamsi krishna
 
DOC
Murali tummala resume in SAP BO/BI
Murali Tummala
 
PPTX
Hypermedia database
DustineEarlDugos
 
PDF
Smartforms interview questions with answers
Uttam Agrawal
 
PDF
Android Networking
Matteo Bonifazi
 
PPTX
Dbms database models
sanjeev kumar suman
 
PPTX
Dimensionality & Dimensions of Hyperion Planning
epmvirtual.com
 
PDF
Groovy and PBCS is Game Changing
Kyle Goodfriend
 
PPT
Read 1-hyperion planning presentation
Amit Sharma
 
PDF
How to become a visualization guru in Web Intelligence
Wiiisdom
 
PPT
Lecture2 oracle ppt
Hitesh Kumar Markam
 
PDF
Beginning Calculation Manager for Essbase and Hyperion Planning
Alithya
 
PPTX
Fact less fact Tables & Aggregate Tables
Sunita Sahu
 
PDF
Fusion ERP Direct Integration with EPBCS
Ibraam Sami
 
DOCX
Calculation commands in essbase
Shoheb Mohammad
 
PPTX
03. data forms in hyperion planning
epmvirtual.com
 
PPTX
Enterprise Security: Tableau vs. Power BI
Senturus
 
PDF
XLSX Upload - IN SAP GUI and WDA
Benu Mariantony
 
Design patterns tutorials
University of Technology
 
Oracle architecture ppt
Deepak Shetty
 
Javax.servlet,http packages
vamsi krishna
 
Murali tummala resume in SAP BO/BI
Murali Tummala
 
Hypermedia database
DustineEarlDugos
 
Smartforms interview questions with answers
Uttam Agrawal
 
Android Networking
Matteo Bonifazi
 
Dbms database models
sanjeev kumar suman
 
Dimensionality & Dimensions of Hyperion Planning
epmvirtual.com
 
Groovy and PBCS is Game Changing
Kyle Goodfriend
 
Read 1-hyperion planning presentation
Amit Sharma
 
How to become a visualization guru in Web Intelligence
Wiiisdom
 
Lecture2 oracle ppt
Hitesh Kumar Markam
 
Beginning Calculation Manager for Essbase and Hyperion Planning
Alithya
 
Fact less fact Tables & Aggregate Tables
Sunita Sahu
 
Fusion ERP Direct Integration with EPBCS
Ibraam Sami
 
Calculation commands in essbase
Shoheb Mohammad
 
03. data forms in hyperion planning
epmvirtual.com
 
Enterprise Security: Tableau vs. Power BI
Senturus
 
XLSX Upload - IN SAP GUI and WDA
Benu Mariantony
 
Ad

Similar to Automate your PDF factsheets with xlwings Reports (20)

PDF
xlwings reports: Reporting with Excel & Python
xlwings
 
PDF
Open Source in Quant Finance - xlwings
xlwings
 
PDF
xlwings - Connecting Python with Excel
xlwings
 
PDF
Cross-platform Spreadsheet Automation with Python
xlwings
 
PDF
For Python Quants Conference NYC 6th May 2016
xlwings
 
PDF
xlwings – Make Excel Fly with Python
odsc
 
PDF
Odsc presentation
xlwings
 
PDF
Deployment of xlwings-powered spreadsheets (webinar)
xlwings
 
PDF
Python and Excel in Finance (PyData meetup Zurich)
xlwings
 
PDF
xlwings - For Python Quants Conference (London 2014)
xlwings
 
PDF
Tech3camp Meetup: Python for Excel
xlwings
 
PDF
Python and Jupyter: Your Gateway for Learning
Carol Willing
 
PDF
WALD: A Modern & Sustainable Analytics Stack
Florian Wilhelm
 
PDF
Python for Data Analysis Data Wrangling with Pandas NumPy and IPython 1st Edi...
morvehnobbe
 
PDF
xlwings for Google Sheets
xlwings
 
PDF
PyCon Colombia 2020 Python for Data Analysis: Past, Present, and Future
Wes McKinney
 
PDF
Python For Data Analysis 3rd Wes Mckinney
luvoszugrav
 
PDF
Introduction To Python
Vanessa Rene
 
PPTX
Certified Python Business Analyst
AnkitSingh2134
 
PPTX
Comparing EDA with classical and Bayesian analysis.pptx
PremaGanesh1
 
xlwings reports: Reporting with Excel & Python
xlwings
 
Open Source in Quant Finance - xlwings
xlwings
 
xlwings - Connecting Python with Excel
xlwings
 
Cross-platform Spreadsheet Automation with Python
xlwings
 
For Python Quants Conference NYC 6th May 2016
xlwings
 
xlwings – Make Excel Fly with Python
odsc
 
Odsc presentation
xlwings
 
Deployment of xlwings-powered spreadsheets (webinar)
xlwings
 
Python and Excel in Finance (PyData meetup Zurich)
xlwings
 
xlwings - For Python Quants Conference (London 2014)
xlwings
 
Tech3camp Meetup: Python for Excel
xlwings
 
Python and Jupyter: Your Gateway for Learning
Carol Willing
 
WALD: A Modern & Sustainable Analytics Stack
Florian Wilhelm
 
Python for Data Analysis Data Wrangling with Pandas NumPy and IPython 1st Edi...
morvehnobbe
 
xlwings for Google Sheets
xlwings
 
PyCon Colombia 2020 Python for Data Analysis: Past, Present, and Future
Wes McKinney
 
Python For Data Analysis 3rd Wes Mckinney
luvoszugrav
 
Introduction To Python
Vanessa Rene
 
Certified Python Business Analyst
AnkitSingh2134
 
Comparing EDA with classical and Bayesian analysis.pptx
PremaGanesh1
 
Ad

More from xlwings (9)

PPTX
xlwings performance
xlwings
 
PDF
Git for Excel (Webinar)
xlwings
 
PDF
Automated testing of Excel Workbooks
xlwings
 
PDF
Git for Excel
xlwings
 
PDF
Automated Testing of Excel Workbooks
xlwings
 
PDF
Git for Excel files webinar
xlwings
 
PDF
xlwings Presentation (Excel & Python) Swiss FinteCH event
xlwings
 
PDF
Python. Finance. Excel. - The Thalesians
xlwings
 
PDF
xlwings Zurich Python User Group Meetup
xlwings
 
xlwings performance
xlwings
 
Git for Excel (Webinar)
xlwings
 
Automated testing of Excel Workbooks
xlwings
 
Git for Excel
xlwings
 
Automated Testing of Excel Workbooks
xlwings
 
Git for Excel files webinar
xlwings
 
xlwings Presentation (Excel & Python) Swiss FinteCH event
xlwings
 
Python. Finance. Excel. - The Thalesians
xlwings
 
xlwings Zurich Python User Group Meetup
xlwings
 

Recently uploaded (20)

PDF
Bihar Idea festival - Pitch deck-your story.pdf
roharamuk
 
PDF
NewBase 24 July 2025 Energy News issue - 1805 by Khaled Al Awadi._compressed...
Khaled Al Awadi
 
PPTX
PUBLIC RELATIONS N6 slides (4).pptx poin
chernae08
 
PPTX
Brain Based Enterprises - Harmonising Man, Woman and Machine
Peter Cook
 
PPTX
E-Way Bill under GST – Transport & Logistics.pptx
Keerthana Chinnathambi
 
PDF
12 Oil and Gas Companies in India Driving the Energy Sector.pdf
Essar Group
 
PPTX
Memorandum and articles of association explained.pptx
Keerthana Chinnathambi
 
PDF
MBA-I-Year-Session-2024-20hzuxutiytidydy
cminati49
 
PPTX
lesson 06 Mang- Ruklani Wickramasinghe.pptx
dinalisanjala002
 
PDF
Infrastructure and geopolitics.AM.ENG.docx.pdf
Andrea Mennillo
 
PPTX
Virbyze_Our company profile_Preview.pptx
myckwabs
 
PDF
India Cold Chain Storage And Logistics Market: From Farm Gate to Consumer – T...
Kumar Satyam
 
PDF
Alan Stalcup - Principal Of GVA Real Estate Investments
Alan Stalcup
 
PDF
bain-temasek-sea-green-economy-2022-report-investing-behind-the-new-realities...
YudiSaputra43
 
PDF
GenAI for Risk Management: Refresher for the Boards and Executives
Alexei Sidorenko, CRMP
 
PDF
Danielle Oliveira New Jersey - A Seasoned Lieutenant
Danielle Oliveira New Jersey
 
DOCX
UNIT 2 BC.docx- cv - RESOLUTION -MINUTES-NOTICE - BUSINESS LETTER DRAFTING
MANJU N
 
PDF
New Royals Distribution Plan Presentation
ksherwin
 
PDF
Followers to Fees - Social media for Speakers
Corey Perlman, Social Media Speaker and Consultant
 
PPTX
Social Media Marketing for Business Growth
vidhi622006
 
Bihar Idea festival - Pitch deck-your story.pdf
roharamuk
 
NewBase 24 July 2025 Energy News issue - 1805 by Khaled Al Awadi._compressed...
Khaled Al Awadi
 
PUBLIC RELATIONS N6 slides (4).pptx poin
chernae08
 
Brain Based Enterprises - Harmonising Man, Woman and Machine
Peter Cook
 
E-Way Bill under GST – Transport & Logistics.pptx
Keerthana Chinnathambi
 
12 Oil and Gas Companies in India Driving the Energy Sector.pdf
Essar Group
 
Memorandum and articles of association explained.pptx
Keerthana Chinnathambi
 
MBA-I-Year-Session-2024-20hzuxutiytidydy
cminati49
 
lesson 06 Mang- Ruklani Wickramasinghe.pptx
dinalisanjala002
 
Infrastructure and geopolitics.AM.ENG.docx.pdf
Andrea Mennillo
 
Virbyze_Our company profile_Preview.pptx
myckwabs
 
India Cold Chain Storage And Logistics Market: From Farm Gate to Consumer – T...
Kumar Satyam
 
Alan Stalcup - Principal Of GVA Real Estate Investments
Alan Stalcup
 
bain-temasek-sea-green-economy-2022-report-investing-behind-the-new-realities...
YudiSaputra43
 
GenAI for Risk Management: Refresher for the Boards and Executives
Alexei Sidorenko, CRMP
 
Danielle Oliveira New Jersey - A Seasoned Lieutenant
Danielle Oliveira New Jersey
 
UNIT 2 BC.docx- cv - RESOLUTION -MINUTES-NOTICE - BUSINESS LETTER DRAFTING
MANJU N
 
New Royals Distribution Plan Presentation
ksherwin
 
Followers to Fees - Social media for Speakers
Corey Perlman, Social Media Speaker and Consultant
 
Social Media Marketing for Business Growth
vidhi622006
 

Automate your PDF factsheets with xlwings Reports

  • 1. PDF factsheets with xlwings Reports Felix Zumstein August 12, 2021
  • 2. Agenda 1. Introduction 2. What’s wrong with reporting? 3. Demos: xlwings Reports 2
  • 4. 4 xlwings • I released the first version of xlwings in 2014 • After working on it for 6 years as an open- source project, I realized two things: – Putting in the required amount of work for $0 is unsustainable – Most users are using xlwings for some sort of reporting • Consequence: Either make it abandonware or find a way to fund the project
  • 5. 5 I wrote a Book (March 2021) I. Introduction to Python II. Introduction to pandas III. Reading and Writing Excel Files without Excel IV.Programming the Excel Application with xlwings See: https://www.xlwings.org/book
  • 6. 2. What’s wrong with reporting?
  • 7. 7 What’s wrong with the others? • Pure code solutions (e.g., ReportLab) – Developer dependency / requires lots of code / slow development • HTML/CSS-based solutions (e.g., Plotly Dash) – Code and design can be separated, but requires frontend knowledge • BI tools (e.g., Power BI, Tableau, etc.) – For interactive dashboards, not PDF reports / lack of connectors • Connecting Excel with Word/PowerPoint – Error prone / usually requires more than one template • Desktop publishing (e.g., Adobe InDesign) – Can’t be automated the way we want
  • 8. 8 What’s wrong with xlwings (OSS)? for address in ['A1', 'B2', 'C3']: mysheet[address].value = 'xlwings' for address in ['A1', 'B2', 'C3']: mysheet[address].value = 'xlwings' 'A3', 'B4', 'C5' Code AND template changes Requires loops
  • 11. 11 Separation of Code and Design Pre-processing (e.g., database query) Post-processing (e.g., upload to web server) holdings, asofdate,… Reports (xlsx & PDF) Template (xlsx) Variables/ Placeholders
  • 12. 12 Demo 1: Placeholders & Filters • Placeholders {{ holdings }} • Filters, e.g., biggest 5 positions: {{ holdings | sortdesc(4) | head(5) }}
  • 13. 13 Demo 2: Full reporting pipeline • Pre-processing – Read data from various sources incl. text, Word and CSV files – Clean/manipulate the data with pandas • Report Generation – xlsx and PDF • Post-processing – uploading it to the xlwings.org webpage via AWS S3 90 lines of code (!): https://github.com/xlwings/xlwings-factsheet-demo
  • 14. 14 Ways to run the reporting pipeline • Excel workbook (used by the demo) • Jupyter notebook • Python script / CLI (e.g., for scheduler) • Locally installed GUI • Web-based UI
  • 15. 15 Summary: xlwings Reports • Separation of concerns: code vs. design • Template: one, and only one • Layout: multi-column • Text: formatting via Markdown • Tables: dynamically formatted with powerful filters • Charts: via Excel or Python (Matplotlib, Plotly) • PDF: “Print” on PDF in corporate layout
  • 16. 16 Pricing • From USD 82.50/month, your whole company can run on xlwings Reports • Developer license: only users who write Python code need a paid license • Tools can be used forever even if plan is cancelled (but no support/upgrades) • https://www.xlwings.org/pricing
  • 17. 17 How to get started • Get a trial license from: https://www.xlwings.org/trial • Read the docs: https://docs.xlwings.org/en/stable/reports.html • Book a meeting with me: https://calendly.com/felix-zumstein/xlwings