CompletedOpen-Source Financial Compiler · Pure Python Stdlib

LedgerCraft XLSX — Zero-Dependency Excel Financial Compiler

Institutional, 100% formula-driven Excel (.xlsx) financial model and board workbook compiler written in pure Python standard library — featuring live CHOOSE() scenario selectors, native OpenXML charts, 5x5 sensitivity heatmaps, and automated COM / OpenXML audit.

View on GitHub
Open Source · Apache 2.0
LedgerCraft XLSX Financial Dashboard Showcase
View on GitHub

[01]Problem Statement

Automated spreadsheet generators often hardcode calculated numbers, introduce #REF!/#DIV/0! formula errors, or rely on heavy libraries that drop native chart styling and print formatting.

[02]Technical Decisions and Architecture

Implemented a deterministic OpenXML compiler in pure Python stdlib (zipfile, xml, dataclasses) paired with a 3-layer audit gate validating every formula, cross-sheet link, chart range, and balance-sheet check.

[03]Implemented Features

  • Zero mandatory runtime dependencies: pure Python stdlib OpenXML (.xlsx) compiler
  • 100% live universal Excel formulas (SUM, IFERROR, CHOOSE, NPV, IRR, ROUND) across all statements
  • Wall Street visual formatting standard: blue editable inputs, green cross-sheet links, print-ready landscape
  • Native embedded OpenXML executive charts linked directly to live worksheet ranges
  • Dynamic Base / Bull / Bear scenario switcher with 5x5 conditional-formatted sensitivity heatmaps