Silvan Melchior

Results 25 issues of Silvan Melchior

So far, the documentation only describes how ConfZ can be used, but not how it is recommended to use. A separate section in the config could go into more details...

documentation

For now, ConfZSources are isolated dataclasses with a common (empty) base class. However, this could be improved: - ConfZSources could be ConfZ classes again, so can use config_cources keyword argument....

enhancement

If validation of a config class fails, the exception is raised by pydantic and not touched by confz at all. At the same time, confz might raise exceptions if the...

enhancement
good first issue

So far, command line arguments are parsed in a very simple way, reading from sys.argv directly. This allows to deal with arbitrary white spacing and with quotes. However, an equal...

enhancement

By their nature, command line arguments and environment variables only support strings. Pydantic then casts them to other primitives, e.g. an integer. However, it is not possible to far to...

enhancement

ConfZ allows to define the structure of your configuration with typehints. This structure could be translated directly to a specific config file format, e.g. yaml or json. This would allow...

enhancement

It might be helpful to support nested config files, meaning that a config file could link within a (sub-) section to another file. So far, this is only possible by...

enhancement

So far, there is no way of showing all available command line options if ConfZCLArgSource is used. It would be great to have an option to show a helper text...

enhancement

It might be helpful to have a strict mode setting in confz, which imposes additional restrictions on config sources loading, like: - Do not allow overwriting config parameters from later...

enhancement

Separate code of RaspiMJPEG into multiple files and improve coding style / readability