Skip to content

Releases: JezaChen/ihook

Release 0.2

29 Dec 08:09
Compare
Choose a tag to compare
  • Improve support for unhooking / un-patching.
  • Improve test cases
  • Refactor hard-code strings.

Release 0.1.1

28 Dec 10:22
Compare
Choose a tag to compare
  • 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

20 Dec 15:30
61c971a
Compare
Choose a tag to compare
0.1

We publish the first version v0.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.