Mix Python and Cython code in the same module.
Pyorcy has 2 purposes:
- Allow the mix of python and cython code in a single file. This can also be done with cython’s “pure python” mode, but with import limitations. pyorcy gives you the full cython super-powers.
- Launch an automatic compilation, triggered by a function decorator. This mechanism is similar to what numba offers.
So basically, you can develop and debug using the python mode. When you are happy with your function, then you just annotate the variables and add the decorator for automatic Cython code generation and compilation. Simple.