pyconfs icon indicating copy to clipboard operation
pyconfs copied to clipboard

Unified handling of configuration files in Python

Results 2 pyconfs issues
Sort by recently updated
recently updated
newest added

Example: ``` >>> from pyconfs import Configuration >>> cfg = Configuration.from_dict({"a": {"b": {"c": 3}, "d": 4}}) >>> Configuration.from_str(cfg.as_str(format="toml", pretty_print=False), format="toml").as_dict() {'a': {'d': 4, 'b': {'c': 3}}} >>> Configuration.from_str(cfg.as_str(format="toml", pretty_print=True), format="toml").as_dict()...

Example: ```python >>> from pyconfs import Configuration >>> cfg = Configuration.from_dict({"a": {"b": 1}}) >>> cfg.a = [cfg.a] ``` This fails with a message `AttributeError: Configuration a has no entry 'update_from_list'`....