{"library":"openfisca-core","title":"OpenFisca-Core","description":"OpenFisca is a versatile microsimulation free software. This is the core engine that compiles and evaluates tax-benefit rules written in Python. Current version: 44.7.0. Released roughly monthly.","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install openfisca-core"],"cli":{"name":"openfisca","version":"OpenFisca-Core 44.7.0"}},"imports":["from openfisca_core.simulation_builder import SimulationBuilder","from openfisca_core.tracers import Tracer","from openfisca_core.variables import Variable"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from openfisca_core.simulation_builder import SimulationBuilder\nfrom openfisca_core.taxbenefitsystems import TaxBenefitSystem\n\n# Example: load a country package (must be installed separately)\n# Here using openfisca-france as an example\nsystem = TaxBenefitSystem.load('openfisca_france')\nbuilder = SimulationBuilder()\nsimulation = builder.build_from_entities(system, {'personnes': {'individus': [{}]}})\nprint(simulation.calculate('salaire_imposable', period='2023-01'))","lang":"python","description":"Load a tax-benefit system and run a simulation.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}