Configurator

Latest version: v3.2.0

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

Scan your dependencies

Page 1 of 3

3.2.0

-------------------

- Use the standard library's ``tomlib`` module on Python 3.11 and above and
switch to `tomli`__ for earlier versions.

__ https://github.com/hukkin/tomli

Thanks to Wim Glenn for the work!

3.1.0

-------------------

- Add support for deleting items and attributes via the :class:`~.node.ConfigNode`
interface.

3.0.0

-------------------

- Drop Python 2 support.

- :meth:`~.node.ConfigNode.get` can now be used without specifying a name
to return the value of nodes representing simple attributes.

- Explicit support for :class:`pathlib.Path` objects.

2.6.0

------------------

- :class:`~.node.ConfigNode` instances can now be :meth:`merged <Config.merge>`.

- Add support for an optional root in each file when using the
:ref:`"extends" <extends-pattern>` pattern.

2.5.1

------------------

- Change default `false_values` for :meth:`if_supplied` to be a :class:`tuple` rather
a :class:`frozenset`, fixing a bug that occurred when source data wasn't hashable.

2.5.0

------------------

- Move the code for the "Config file that extends another config file" pattern into
a helper function in :func:`configurator.patterns.load_with_extends`.

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.