immutable-python Makes normally mutable Python objects immutable Immutable Modules # some_module.py: import immutable immutable.module(__name__) Inspired by the Existing Options implementation in PEP 726 – Module setattr and delattr.