Mercurial > hgrepos > Python > libs > ConfigMix
view README.txt @ 428:090a25f36a3d
FIX: Allow jailed configurations to use correctly use base configurations that use a different "default" marker object.
Jailed configurations assumed that their "default" marker object is
identical to the "default" marker object in the unjailed base
configuration. This is not always true, especially if
"_JailedConfiguration.rebind()" is used.
Removed the explicit "default" keyword argument and passed the complete
keywords argument dictionary to the base instead. This triggers correct
default handling in the base.
| author | Franz Glasner <f.glasner@feldmann-mg.com> |
|---|---|
| date | Thu, 09 Dec 2021 13:02:17 +0100 |
| parents | 7193d900978b |
| children | 5b928606fa00 |
line wrap: on
line source
.. -*- coding: utf-8; mode: rst; -*- .. _README: :Author: Franz Glasner :Version: 0.18 :Date: |VCSJustDate| :Copyright: (c) 2015–2021, Franz Glasner. All rights reserved. :License: BSD 3-Clause "New" or "Revised" License. See :ref:`LICENSE.txt <license>` for more details. :Revision: |VCSHGrevision| :Repository: |VCSHGpath| "ConfigMix" is a library to help with the configuration of applications and their configuration files. It reads a couple of configuration files in the following different styles: - YAML files - JSON files - INI files - TOML files - executable Python scripts It then merges the parsed contents of given files into a *unified* tree-ish configuration dictionary and presents them as such to the application. Reading can be done with variable interpolation from other configuration values. References and Inspirations --------------------------- Search for "yaml" on `PyPi` - https://pypi.python.org/pypi/layered-yaml-attrdict-config/16.1.0 The package and it's "Links" section - https://configloader.readthedocs.org/en/latest/ For the API
