Borg Pattern in Python Programming

"Borg" are a hive-mind collective - Star Trek. The term describes a pattern of shared information among multiple instances :_)

In most cases of app state sharing, the design really cares about a set of states can be share among components not whether it's one single object in runtime. Python Borg Pattern is easier and flexible to create shared states for other packages to access and use. It's helpful in configuration management, global IDs or session reusing.



Change Log

Apr19, 2017: Initial post draft.