When writing python code, my typical workflow is to use the interactive prompt and do something like
write function
repeat until working:
test function
e
I found a poorly documented feature in the "pyximport.install" function that allows a cython module to be reloaded. With this feature set to True, you can load/reload your cython modules interactively without having to restart python.
If you initialize your cython module with:
import pyximport
pyximport.install(reload_support=True)
import my_functions as mf
You can make changes to your cython module, and then reload with:
reload(mf)
Hopefully this will be of use to someone.