@reloading to hot-reload a function from source before every invocation (https://github.com/julvo/reloading)
%load_ext autoreload %autoreload 2
now all your imports will be automatically reloaded.
So good that I have it in ipython startup scripts
https://reloadium.io