Confuse

Latest version: v2.0.1

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

Scan your dependencies

Page 2 of 2

1.3.0

''''''

- Break up the `confuse` module into a package. (All names should still be
importable from `confuse`.)
- When using `None` as a template, the result is a value whose default is
`None`. Previously, this was equivalent to leaving the key off entirely,
i.e., a template with no default. To get the same effect now, use
`confuse.REQUIRED` in the template.

1.2.0

''''''

- `float` values (like ``4.2``) can now be used in templates (just like
``42`` works as an `int` template).
- The `Filename` and `Path` templates now correctly accept default values.
- It's now possible to provide custom PyYAML `Loader` objects for
parsing config files.

1.1.0

''''''

- A new ``Path`` template produces a `pathlib`_ Path object.
- Drop support for Python 3.4 (following in the footsteps of PyYAML).
- String templates support environment variable expansion.

.. _pathlib: https://docs.python.org/3/library/pathlib.html

1.0.0

''''''

The first stable release, and the first that `beets`_ depends on externally.

.. _beets: https://beets.io

Page 2 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.