Modeleon – Python DSL that compiles to live Excel formulas
Python code compiles to real Excel formulas with automatic dependency graphs.
Financial Model Engineering — Python code compiles to live Excel formulas
Finally, a Python DSL that outputs real Excel formulas instead of baked values.
FP&A analysts, financial engineers, Python-savvy accountants
openpyxl · xlsxwriter · PyXLL
The architectural bet is "model is the source of truth, spreadsheet is one rendering." We have a Walker/Renderer split so the same model can target Excel today and other backends later.
We've been building this for finance + Python developers (CFA candidates with Python skills, FP&A analysts who automate). It's pre-alpha — works, but the API will change before 1.0.
Apache 2.0. PyPI: pip install modeleon. Happy to answer questions.
Python code compiles to real Excel formulas with automatic dependency graphs.
C runtime + Python metaprogramming: pointer math and manual memory in Python syntax.
Linear types and LLVM IR bring C-level safety to Python syntax.
Compiles structured DSL to AGENTS.md that existing coding agents already consume.
Clever syntax, but pathlib scripts already handle these tasks with less magic.
Python-to-Nim transpiler with ctypes-backed types when Cython and Numba already exist.