python3-maison

Read Python package configuration settings

Description

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.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://github.com/dbatten5/maison


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install python3-maison