Build a Config Registry
Singleton pattern
Challenge 2 of Create & Share ObjectsBeginner~55 minFree
Build the one shared configuration registry that every real app relies on. You will implement the Singleton pattern by hand with a classmethod accessor, give it read and write access, add safe lookups, then generalize the whole idea into a reusable decorator you apply to a second class. This is the exact machinery behind global config, connection pools, and loggers.