Runs where the data is
The command-line tool
The same pipeline as the hosted converter, inside your own environment: no upload, no telemetry, no dependency on our servers. It converts workbooks to pandas, SQL or Python, converts Power Apps canvas apps to Python, maps Power Automate flows and Power BI models, and on a Windows machine with Excel installed uses Excel itself as the reference calculator for generated inputs.
A Python wheel, version 0.2.2, built from the same commit as the hosted converter. It runs under a licence file: a trial licence is free for 30 days, and a team licence covers use after that. The terms of use are short and in plain English.
Ask for a free trial licence: the file comes by email to a work address, usually within minutes. It is checked on your machine, and the tool contacts no server.
Install and run
python -m venv .venv
.venv\Scripts\activate.bat # PowerShell: .venv\Scripts\Activate.ps1 (may need Set-ExecutionPolicy -Scope Process Bypass)
# macOS or Linux: source .venv/bin/activate
pip install "power_migrate-0.2.2-py3-none-any.whl[sql,pandas]" # Windows with Excel: add the excel extra, [sql,pandas,excel]
pip install pytest # only to run the generated package's own test: pytest <package>, from out/<name>/
power-migrate licence install your-licence.json # once: the licence file we sent you (power-migrate licence shows it)
power-migrate convert book.xlsx --target sql # or python, pandas
power-migrate convert book.xlsx --variations 20 # Windows with Excel: Excel vs the code (exits 1 if Excel or the excel extra is missing)
power-migrate convert-app app.msapp # Power Apps canvas apps
power-migrate map-flow export.zip # Power Automate flows: inventory and map
power-migrate map-pbi report.pbix # Power BI semantic model and report: inventory and map
Results go to out/<name>/: reconciliation.md, workbook_map.md, graph.html, the generated package with its inputs file and tests, feature_gap.json, lineage.json and run_log.json. The same files the published samples show.
What it needs
- Python 3.12 or later. The package depends on openpyxl, oletools and pyyaml; the
sqlextra adds DuckDB, thepandasextra adds pandas and theexcelextra adds pywin32, each only for its purpose. The generated code itself has no dependencies beyond the standard library (Python target), pandas, or DuckDB. - Excel on Windows, only for
--variations: generated input sets are run through Excel over COM, read-only and with macros off unless you say otherwise, and compared with the code. It needs theexcelextra; without Excel or that extra the run says so and exits with status 1. Without--variationsthe reconciliation uses the values stored in the file, as the hosted converter does. - The .NET SDK (8 or later), only for canvas apps: the translated formulas are checked against Microsoft's open-source Power Fx interpreter, which the tool builds once on first use. Without it the translation still runs and the report says nothing was checked.
- No AI, unless you choose it. The naming stage runs only when you pass
--ai-provider, which today offers Anthropic under your own account; it sees formulas and structure with every literal redacted, and the run log records exactly what was sent. See governance and AI.
A file without stored values
The reconciliation compares the code with the values Excel saved in the file. A workbook written by a program (openpyxl, pandas, a reporting tool) or saved with calculation deferred holds none, and the report says so at the top rather than claiming a result. Open it in Excel, save, and convert again; or use --variations, which asks Excel directly.
Prefer not to install anything? The hosted converter runs the deterministic pipeline on an uploaded workbook and deletes it within six hours. For workbooks that must not leave your environment and a report your validators can file, this tool is the route, and we can run the conversion for you.