Mercurial > hgrepos > Python > libs > ConfigMix
view README.txt @ 171:1ff11462a5c1
The associations from filename extensions to parsers are "fnmatch" style patterns now.
Calling "configmix.set_loader" prepends to the currently defined
associations and therefore gets the highest priority.
| author | Franz Glasner <f.glasner@feldmann-mg.com> |
|---|---|
| date | Thu, 25 Apr 2019 17:00:09 +0200 |
| parents | c247a5dc35ed |
| children | 28e6c1413947 |
line wrap: on
line source
.. -*- coding: utf-8; mode: rst; -*- .. _README: :Author: Franz Glasner :Version: 0.7.dev1 :Date: |VCSJustDate| :Copyright: (c) 2015–2019, Franz Glasner. All rights reserved. :License: 3-clause BSD License. See :ref:`LICENSE.txt <license>` for more details. :Revision: |VCSRevision| :Repository: |VCSHGpath| "ConfigMix" is a library for helping 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 - 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 keyword expansion 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
