Here's a long-running question I have; please tell me if I'm confused / missing something obvious.
Say I want to model in Python some collection of key-value pairs. It's a singleton -- I don't need a class or namedtuple that can be instantiated. So for example, I just want something like:
SingletonDataContainer Config:
root_directory: str = "/tmp"
should_frobnicate: bool = False
So of course, it could be a dict. But I want type annotations, and dotted attribute access syntax (and pretty syntax-highlighting!). It's tempting to use a class with class attributes for this, but that seems wrong since then you end up with something that can be instantiated, but which you never actually want to instantiate.