Bug#1018885: ITP: python-maison -- Read Python package configuration settings
Package: wnpp
Severity: wishlist
Owner: Edward Betts <edward@4angle.com>
X-Debbugs-Cc: debian-devel@lists.debian.org, debian-python@lists.debian.org
* Package name : python-maison
Version : 1.4.0
Upstream Author : Dom Batten <dominic.batten@googlemail.com>
* URL : https://github.com/dbatten5/maison
* License : MIT
Programming Lang: Python
Description : Read Python package configuration settings
When developing a Python application, e.g a command-line tool, it can be
helpful to allow the user to set their own configuration options to allow them
to tailor the tool to their needs. These options are typically set in files in
the root of a project directory that uses the tool, for example in a
pyproject.toml or an {project_name}.ini file.
.
maison aims to provide a simple and flexible way to read and validate those
configuration options so that they may be used in the application.
.
Features:
- Supports multiple config files and multiple config filetypes.
- Optional merging of multiple configs.
- Optional config validation with pydantic
- Caching of config files for quick access.
- Fully tested and typed.
I plan to maintain this package as part of the Python team.
Reply to: