Show HN: Gelidum – My Python library to freeze objects

# · ✸ 43 · 💬 27 · 2 years ago · github.com · diegojromero · 📷
Inspired by the method freeze found in other languages like Javascript, this package tries to make immutable objects to make it easier avoid accidental modifications in your code. Major highlights freeze method creates objects with the same attributes of inputs that cannot be expanded or modified. If freeze params is called without arguments, all input parameters will be frozen. 4., 5., 6.]). Always use kwargs unless you want to freeze the args params. Check original class get gelidum hot class name: returns the name of hot class. Get gelidum hot class module returns the module reference where the hot class was. An exception is raised when trying to freeze an object with them.
Show HN: Gelidum – My Python library to freeze objects



Send Feedback | WebAssembly Version (beta)