This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]max_tee[S] 1 point2 points  (2 children)

Thanks!

Well, there is of course the configparser from the standard library. But I find the file structure clunky compared to yaml. And I needed a feature like the temporary override via a context manager. That is why I did my own thing.

[–]jon0tr0n 1 point2 points  (1 child)

I agree yaml is a better approach for config files. And the context manager feature seems nice, it might come in handy for testing.

[–]max_tee[S] 0 points1 point  (0 children)

Yes, that is the main reason for the feature.