rreload
An enhanced recursive reloader for Python development. This utility recursively reloads a target module and all its internal dependencies, ensuring that deep code changes are reflected immediately without having to restart your interpreter or application session.

Usage
from fxpt.fx_utils.rreload import rreload
rreload(myModule)Arguments
rreload(module, remapping=False, verbosity=0)module – The starting module for the recursive reload.
remapping – Enable this if you use from module import attribute instead of importing the entire module.
verbosity – Set to 1 or 2 for detailed logs during the process. Useful for debugging dependency chains.
Ignored modules
Modules with a file path (not a module name) containing a string from the IGNORE_DIRECTORIES list will be skipped during the recursive reload
Installation
rreload is part of the FX Python Tools library. Download fxpt from GitHub and add it to your PYTHONPATH directory.
Compatibility
Tested on
Maya 2016
Maya 2017
Maya 2022 (with “-pythonver 2” flag)
Requirements
Maya versions using a Python 2.7 interpreter