Openfisca-core

Latest version: v41.4.5

Safety actively analyzes 628903 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 35 of 60

24.3.2

- Add a style formatter that follows community code conventions
- Auto-fix code formatting

24.3.1

- Fix small issues in the `/spec` route of the Web API
- Use proper JSON Schema type to describe input types
- Fix property name in the description of `/parameters` and `/variables`

24.3.0

- Introduce the `/entities` endpoint for the Web API.
- Expose information about the country package's entities, and their roles.
json
{
"description": "Household",
"documentation": "Household is an example of a group entity. A group entity contains one or more individual·s.[...]",
"plural": "households",
"roles": {
"parent": {
"description": "The one or two adults in charge of the household.",
"max": 2,
"plural": "parents"
},
"child": {
"description": "Other individuals living in the household.",
"plural": "children"
}
}
}

24.2.0

- Allow to dump and restore a simulation in a directory

Dump:

py
from openfisca_core.tools.simulation_dumper import dump_simulation
dump_simulation(simulation, '/path/to/directory')


Restore:

py
from openfisca_core.tools.simulation_dumper import restore_simulation
simulation = restore_simulation('/path/to/directory', tax_benefit_system)

24.1.0

- Enhance navigation within the Openfisca Web API.
- Provides a direct link to individual parameters and variables from the `/parameters` and `/variables` routes.

The former `/parameters` route of the Web API:

json
"benefits.basic_income": {
"description": "Amount of the basic income",
},
"benefits.housing_allowance": {
"description":"Housing allowance amount (as a fraction of the rent)",
},
...


becomes:

json
"benefits.basic_income": {
"description": "Amount of the basic income",
"href":"http://localhost:5000/parameter/benefits.basic_income"
},
"benefits.housing_allowance": {
"description":"Housing allowance amount (as a fraction of the rent)",
"href":"http://localhost:5000/parameter/benefits.housing_allowance"
},
...

24.0.1

- Fix spelling in warning about libyaml

Page 35 of 60

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.