I need to call CPython code from Java. What tools / APIs / libraries are there to help me do this?
Jython is not an option, as Python code is highly dependent on numpy.
edit 1: The function main()must be Java, not Python (i.e. I need to embed CPython in Java, not vice versa).
edit 2: I should also mention that I will pass large numeric arrays between Java and Python, and therefore a solution that brings them to the same process space would be preferable (but not required).
source
share