view README.txt @ 654:0d6673d06c2c

Add support for using "tomllib" (in Python's stdlib since 3.11) and "tomli" TOML packages. They are preferred if they are found to be installed. But note that the declared dependency for the "toml" extra nevertheless is the "toml" package. Because it is available for all supported Python versions. So use Python 3.11+ or install "tomli" manually if you want to use the alternate packages.
author Franz Glasner <fzglas.hg@dom66.de>
date Thu, 19 May 2022 22:10:59 +0200
parents e73cf5593010
children 02a21e689fc1
line wrap: on
line source

.. -*- coding: utf-8; mode: rst; -*-

.. _README:

:Author:     Franz Glasner
:Version:    0.20.5
:Date:       2022-03-07
:Copyright:  (c) 2015–2022, 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