OpenFisca-France logo

OpenFisca-France

OpenFisca model of the French tax and benefit system for microsimulation and rules-as-code

Open Source Alternative to
Repository activity
  • Stars301
  • Forks108
  • Open Issues142
License

Other

Languages
  • Python
  • Stata
  • Makefile
OpenFisca-France screenshot

About OpenFisca-France

OpenFisca-France encodes the French tax and benefit system as a model for the OpenFisca engine. It lets analysts and developers run microsimulation calculations, work with legislation as code, and query French rules without writing the model themselves. The working language of the rules is French.

A public Web API exposes the model with no installation required. You can read a parameter such as the gross hourly minimum wage, inspect a calculation formula, or compute results for a household situation. Endpoints are described in Swagger documentation.

For large batches of calculations or custom extensions on top of French legislation, you can run your own instance. The package requires Python 3.9 and installs on GNU/Linux, macOS, Windows, and WSL through pip or uv.

Key features

  • Models the full French tax and benefit system
  • Public Web API for parameters, formulas, and situations
  • Swagger-documented endpoints, no install required
  • Run a self-hosted instance for large calculation batches
  • Extend the model with custom legislation on top

Details

On GitHub since
2013
Language
Python 3.9, rules in French
Platforms
Linux · macOS · Windows · WSL
Install
pip or uv
API
Public hosted Web API
Docs
Swagger legislation explorer