Several vendors are proposing alternative, with local Python execution with sandboxing and without local deployment of Python, leveraging WASM with Pyodide (which now supports Pandas, Duckdb, ...).
it is the case of XLWings lite https://lite.xlwings.org) and even Anaconda who partners with Microsoft for the distribution running in Azure, has developed such flavor (Anaconda Code https://www.anaconda.com/docs/tools/excel/code).
so to run native Python you end up depending on Azure.
and to run Python locally you depdend on initially Web centric technologies in this case Typescript, Wasm, WebWorker...