2 ms·namedtuple is my usual goto for this but problem but I am glad to learn of SimpleNamespaceby whalesalad 5y agonamedtuple is my usual goto for this but problem but I am glad to learn of SimpleNamespace