skillfed

powerfx

Power Fx python bridge to invoke c# implementation.

powerfx v0.0.34 356.8K downloads/30d#7,277 on PyPI
Permissive license MIT AGING released

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 powerfx

uv

uv add powerfx

poetry

poetry add powerfx

Installing 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

power fx python bridgec# formula evaluation from pythonpower fx expressions pythoninvoke c# from pythonpower fx interpreter python
interopformula-evaluation

More Software Development packages