ArFiSettings - flexible application settings management with Pydantic validation
Documentation: https://py-art.github.io/arfi-settings
Source code: https://github.com/py-art/arfi-settings
Logo courtesy of: Alex Zalevski
At the moment, the documentation is only available in Russian. Any help on translation is welcome.
Advantages¶
- Contains all the functionality of pydantic-settings, but with more accurate name resolving.
- Inheritance is used when reading from any source.
- Specifying configuration sources is individual for each class of settings.
- Possibility to switch all settings by changing just one MODE parameter.
- Ability to switch between specific settings using the discriminator.
- Read configuration files with and without any extension.
- Configure reading command line parameters individually for the class and for the entire project.
- Flexible setting of absolutely all parameters.
- Clear configuration file structure out of the box with no need for pre-configuration. Flexible setting of absolutely all parameters.
- Easy creation of your own configuration read sources.
- Availability of connectors to the most common databases
- Specify your own default library settings in the
pyproject.tomlfile. - Debug Mode.
- And many other things ...