Configpile

Latest version: v10.1.3

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

Scan your dependencies

Page 2 of 7

9.0.0

Feat

- add standalone INI file processing
- **processor**: new method IniProcessor.process_string to process INI file content without opening a file
- export ForceCase from the main configpile package
- **parsers**: add Parser.flat_map method

Fix

- **config**: renamed Processor.process to Processor.process_command_line to avoid deprecation warning
- **processor**: made Processor.process_config private, as it related to an internal update
- **userr**: fix the string representation of Err1
- **userr**: fix the order of contexts, left is outer-most
- **userr**: fix construction of ManyErr when dealing with a single error
- **userr**: rename flatMap to flat_map to obey style guidelines
- **parsers**: handle better the optional parsy import
- **config**: enable use of configpile in Jupyter notebooks

BREAKING CHANGE

- Methods in a Config subclass that start with "validate_", do not end with an underscore, and are not validators must be renamed so that their name no longer starts with the "validate_" string.
- configpile.types -> configpile.parsers, ParamType -> Parser, float_ -> float_parser etc

Refactor

- **processor**: rename Processor.process to process_command_line
- **config**: enable instance validators that do not end with an underscore
- rename param_type to parser

8.0.0

Fix

- **config**: fix docstring for Sphinx
- remove pytest-mypy-plugins
- **docs**: fix the name of the calculator script in the example

Refactor

- **config**: change Validator definition due to bug
- refactored configpile.arg

8.0.0b0

Fix

- **docs**: remove the requirements.txt file as everything is handled by Poetry

Refactor

- major refactoring

7.6.1

Fix

- explicitly reexport identifiers to make type checkers happy

7.6.0

Feat

- **errors**: Err.check

7.5.1

Fix

- add py.typed file in the configpile package

Page 2 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.