Python Expert Needed: Debug & Polish Dynamic Word (.docx) Financial Report Generator
Rozpočet: -
HOURLY / PART_TIME
⭐ 4.96 (31)
Italy
automation, python, microsoft-word, microsoft-excel
Hi everyone,
I am looking for an experienced Python developer to help me finalize, debug, and polish an existing script that automates the generation of complex financial reports.
This script is part of a broader financial analysis tool. It processes corporate financial data (like EBITDA, ROI, Gearing, etc.) via pandas, calculates a custom rating system, and dynamically generates a highly formatted Word document (.docx).
Current Status:
The core logic is completely built and functional. We are already using pandas for data processing, docxtpl for templating, matplotlib for inline charts, and python-docx (including some custom XML injection) for advanced table formatting.
What I need help with (The "Last Mile"):
I need a hands-on programmer to help me with the final refinements and bug fixing. Specific tasks include:
Word Layout & Formatting: Perfecting dynamic tables generated via python-docx (fixing column widths, text alignment, border rendering, and forcing tables/charts to center properly).
Debugging: Fixing minor scope errors (e.g., UnboundLocalError), dictionary/context mapping issues, or DataFrame referencing bugs.
Data Presentation: Ensuring the matplotlib charts fit perfectly within the Word template constraints without layout breaks.
Code Optimization: Cleaning up the script, ensuring the pandas operations are efficient, and maintaining the custom XML workarounds we implemented to bypass standard Word limitations (like our "nuclear cleaner" function for broken tags).
Required Tech Stack:
Python
pandas
python-docx & docxtpl
matplotlib
Bonus: Understanding of MS Word's underlying XML structure (docx.oxml).
Ideal Candidate:
You should be a problem-solver who can jump into an existing, relatively complex script, quickly understand the flow, and apply surgical fixes. You don't need to build from scratch; you need to make what we have robust, bug-free, and visually perfect.
Write: "reporting expert" in the reply of your proposal, if you read until here.
If you have experience generating complex .docx files via Python and dealing with strict formatting requirements, please apply with a brief mention of similar projects you've worked on.
Otvoriť na Upwork