Config-file

Latest version: v0.13.1

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

Scan your dependencies

Page 3 of 3

0.3.1

Fixed

- `isinstance` call for `BaseParser` to be correctly used.

0.3.0

Added

- Abstract base parser as a contract for concrete file format parser implementations.

- Exposed `ConfigFile`, `BaseParser`, and `ParsingError` to the Public API. The base
parser is exposed to allow future custom extensions of the config file and what it
can parse by its users.

- `has_section` and `has_key` is now changed to a single `has` method which determines
whether you're checking a section or key by the presence of a dot.

- `IniParser` to support the ini format. It uses configparser internally, but it is
only exposed through the `ConfigFile` object.

0.2.0

Added

- Parsing of strings to their native values

0.1.0

- Initial Release

Page 3 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.