confight icon indicating copy to clipboard operation
confight copied to clipboard

One simple way of parsing configs.

Results 13 confight issues
Sort by recently updated
recently updated
newest added

Nowadays it is very common to have config files in *three different places*: 1. `/usr/share/app`. These are the config files that come with the distro package. Different packages can provide...

Aka, "json for humans". It allows comments, so configuration files could be made way more readable. https://json5.org/

Related to #14. It would be nice to be able to specify a merging strategy to guide Confight as to what its expected behaviour would be when merging two dictionaries....

This request might not require any effort to fulfil, I haven’t checked the code. Recursively merging Python dictionaries is an (ever) unsolved problem, on the side of the standard library....

Allows to register custom formats fixes #26 by also changing the file loader API to control how the stream is created. Other formats can be registered by name providing a...

The default location for the user configuration should be: ${XDG_CONFIG_HOME:-${HOME}/config}/app/config.toml

The file loaders get passed a stream object that was opened by `confight`. When overriding a loader for a given format, this might be an issue if the stream is...

The [toml](https://pypi.org/project/toml/) library used by `confight` still doesn’t fully comply with the TOML `v1.0.0` specification, and seems abandoned. Example of problematic shortcoming (several years old) that still isn’t fixed: -...