Skip to content

openfisca/openfisca-senegal

Repository files navigation

OpenFisca Sénégal

Senegalese tax and benefit system for OpenFisca

Warning: this is highly experimental!

OGP Paris Hackathon

This work was done during the first OGP hackathon in Paris

See the Jupyter Notebook or Binder.

Dakar Hackathon for technological innovation for the Senegalese tax administration

This work was done during the first hackathon in Dakar for Innovation and Collaboration for the Senegalese Tax System

See the Jupyter Notebook or Binder.

Links

API

Installation

make install # needs to be executed in the folder containing the Makefile

Testing

make test # needs to be executed in the folder containing the Makefile

Run with the Web API

pip install OpenFisca-Web-API[paster]
paster serve api/api_config.ini

To test with a sample file:

curl http://localhost:2000/api/1/calculate -X POST --data @./api/test.json --header 'Content-type: application/json'