registry-pattern

Domain: Pure Python Packages

🎯 Motivation

A central dictionary where plugins register themselves. The host looks up registered items by key to use them.

📋 Concrete Example

A global REGISTRY = {} where plugins call REGISTRY['myfeature'] = MyClass to make features available.

🔗 Analogy

The registry pattern is a sign-up sheet — plugins write their name, and the host reads the list to call them.