merton.excel¶
Excel integration for merton.
Two integration paths share this module:
xlwings Server (web + macOS + Windows via M365): a FastAPI app served by
merton excel server startthat Office.js sideloads via a generated manifest. This is the recommended path because it works in Excel on the web.Classic xlwings UDFs (Windows desktop only): the same Python functions registered with the legacy
@xw.funcdecorator. Useful for offline workflows where running a local HTTP server isn’t convenient.
Install with:
pip install "merton[excel]"
then:
merton excel install
merton excel server start --port 8000
Loading this module does not require xlwings — the math wrappers are
plain Python. The server / manifest / installer paths only kick in once
the user runs merton excel ... (or imports
merton.excel.server).