flyweight2
Look at the tests.py to know how to use it and how it works.
Installation
pip install flyweight2
A variant of the Flyweight pattern that allows the object to be modified without affecting other objects, and automatically shares the memory if the modified object is the same as other objects
pip install flyweight2==0.0.2
Look at the tests.py to know how to use it and how it works.
pip install flyweight2