powerfx
Power Fx python bridge to invoke c# implementation.
What it is and what it does
powerfx is a Python wrapper that bridges to a C# implementation of Power Fx, Microsoft's formula language used in Power Apps and Power Automate. It lets you evaluate Power Fx expressions from Python code by delegating to the underlying .NET runtime through pythonnet and cffi.
The package is a thin interop layer: you install it, import it, and call Power Fx formulas as if they were Python functions. It requires Python 3.10 or later and depends on pythonnet to communicate with the C# side, plus cffi for low-level C interoperability. The package is in early release (version 0.0.34) and has not been updated in 235 days, so stability and feature completeness are not yet established.
Use it for:
- Evaluate Power Fx formulas in Python scripts without requiring Power Apps or Power Automate runtime.
- Migrate Power Fx logic from Microsoft platforms into Python-based data pipelines or ETL workflows.
- Test Power Fx expressions programmatically as part of a Python test suite.
- Prototype Power Fx formulas in Python before deploying them to Power Apps.
- Integrate Power Fx formula evaluation into Python applications that need Microsoft expression semantics.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides a Python bridge to invoke C# Power Fx expressions through pythonnet and cffi, enabling Power Fx formula evaluation from Python code.
Yes-with-conditions. The package has no known vulnerabilities and permissive licensing. However, it is in early release (0.0.34), aging (235 days since last update), and lacks visible repository metadata, making its maintenance status unclear. Install only if you specifically need Power Fx evaluation in Python and can tolerate potential instability or lack of future updates. Verify that pythonnet works reliably on your target platform before committing to it.
Install
powerfx on PyPI
pip
pip install powerfxuv
uv add powerfxpoetry
poetry add powerfxInstalling powerfx
Before you install
Low install friction with a pure-wheel distribution, but the package is aging (235 days since last release) and depends on pythonnet, which requires .NET runtime availability on the system. Maintenance signal is unclear due to missing repository metadata.
License in practice
MIT license is permissive; you may use, modify, and distribute this package freely with minimal restrictions, provided you retain the license notice.
Quickstart
pip install powerfx
import powerfx
# Invoke Power Fx expressions via the C# bridge
Requires Python 3.10 or later and .NET runtime (via pythonnet dependency); cffi also requires a C compiler on some platforms.
Verify before relying
- Whether repository is actively maintained or abandoned (repo metadata unavailable)
- Specific Power Fx formula features and limitations supported by this bridge
- Whether pythonnet dependency works reliably on all major platforms (Windows, Linux, macOS)
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — pythonnet, cffi |
| Maintenance | aging — 235 days since the last release |
| First released | |
| Downloads | 356,849/month — #7,277 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: powerfx-0.0.34-py3-none-any.whl
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
pythonnetpythonnet enables Python code to call .NET and…
permissive · top 5,000 on PyPI
xlcalculatorReads MS Excel files and translates Excel…
permissive · top 15,000 on PyPI
cffiCFFI enables Python code to call C functions…
permissive · top 100 on PyPI
formulasParses and compiles Excel formulas and…
copyleft · top 5,000 on PyPI
opt-einsum-fxOptimizes PyTorch einsum operations and…
permissive · top 15,000 on PyPI
cel-expr-pythonA Python wrapper for the CEL C++ implementation…
permissive · top 15,000 on PyPI
cel-pythonParses and evaluates Google Common Expression…
unclear · top 5,000 on PyPI
pemjaPemJa enables Python code to call Java methods…
permissive · top 15,000 on PyPI
astevalAsteval is a safe Python expression and…
permissive · top 5,000 on PyPI
fyppFypp is a Python-powered preprocessor for…
permissive · top 15,000 on PyPI