OpenFisca Core logo

OpenFisca Core

Python microsimulation engine for modeling tax and benefit legislation as code

Open Source Alternative to
Repository activity
  • Stars228
  • Forks87
  • Open Issues107
License

AGPL-3.0

Languages
  • Python
  • Makefile
  • HTML
OpenFisca Core screenshot

About OpenFisca Core

OpenFisca Core is the engine behind OpenFisca, a microsimulation framework for modeling tax and social benefit systems as code. It supplies the shared rules and computation machinery that country packages, such as OpenFisca-France, build on top of, so a national tax-benefit model does not have to be written from scratch.

The engine runs on Python and relies heavily on NumPy for vectorized calculation across large populations. It installs with pip or conda, and an optional Web API can serve a country package locally so rules, parameters, and situation calculations are reachable over HTTP.

The core package is meant to be added as a dependency of a country package rather than used on its own. It runs locally on your own machine and can be self-hosted as an API, which makes it suited to policy analysis, simulations, and building rules-as-code services.

Key features

  • Microsimulation engine for tax and benefit legislation
  • Vectorized calculation over large populations with NumPy
  • Reusable base for country-specific tax-benefit packages
  • Optional Web API serving rules, parameters, and calculations
  • Installable with pip or conda

Details

On GitHub since
2013
Language
Python
License
AGPL-3.0
Platforms
Linux · macOS · Windows
Install
pip or conda
API
Optional local Web API