- Improve support for unhooking / un-patching. - Improve test cases - Refactor hard-code strings.
0.1.1
- Bugfix: When iterate the modules in `register` function, need to copy the keys. - Bugfix for `__iter__` method of `ModuleInfo`, and improve the error message of registering hooks and `__repr__` string of `ModuleInfo`. - Bugfix and improve test cases.
0.1
Features
- Hook for modules that are imported. - Support for case-sensitive and case-insensitive module names. - Chain multiple hooks for the same or different modules. - Handle hooks for sub-packages and namespace packages.