https://github.com/cython/cython/tree/master/Demos/embed
You could take your existing Python code and simply change the .py extension to .pyx and compile with the `--embed` option.
Of course, it requires compile dependence on Cython.
https://github.com/cython/cython/tree/master/Demos/embed
You could take your existing Python code and simply change the .py extension to .pyx and compile with the `--embed` option.
Of course, it requires compile dependence on Cython.