config_formatΒΆ
A list of conditions to select an acceptable config format:
No external dependencies (dropping any YAML or even TOML because of older
pythonversions < 3.11).No executable code (dropping
*.pybecause of security concerns).
This leaves only JSON (even though it does not support comments).
Nevertheless, protoprimer does not need very complex config data, therefore, using JSON is practical enough.
At the same time, each field is described using annotated
effective_config which renderers JSON in python format
(allowing comments).