Openfisca-core

Latest version: v43.3.5

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

Scan your dependencies

Page 4 of 66

43.1.1

Technical changes

- Add check to spot common spelling mistakes

43.1.0

- Make `CoreEntity` public
- Allows for more easily creating customised entities.

Technical changes

- Add missing doctests.

43.0.0

Technical changes

- Add documentation to the `indexed_enums` module
- Fix type definitions in the enums module
- Fix doctests
- Fix bug in `Enum.encode` when passing a scalar
- Fix bug in `Enum.encode` when encoding values not present in the enum

New features

- Introduce `indexed_enums.EnumType`
- Allows for actually fancy indexing `indexed_enums.Enum`

Note

This changeset has not breaking changes to the `indexed_enums` public API.
However, as a conservative measure concerning data preparation for large
population simulations, it has been marked as a major release.

Before

python
from openfisca_core import indexed_enums as enum

class TestEnum(enum.Enum):
ONE = "one"
TWO = "two"

TestEnum.encode([2])
EnumArray([0])


After

python
from openfisca_core import indexed_enums as enum

class TestEnum(enum.Enum):
ONE = "one"
TWO = "two"

TestEnum.encode([2])
EnumArray([])

TestEnum.encode([0,1,2,5])
EnumArray([<TestEnum.ONE: 'one'> <TestEnum.TWO: 'two'>])

42.0.7

Technical changes

- Add typing to `data_storage` module

42.0.6

Documentation

- Fix docs of the `data_storage` module

42.0.5

Technical changes

- Fix doctests of `data_storage` module

Page 4 of 66

Links

Releases

Has known vulnerabilities

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.