oracle / graalpython

GraalPy – A high-performance embeddable Python 3 runtime for Java
https://www.graalvm.org/python/
Other
1.24k stars 108 forks source link

Quickstart example that combines Python and Java code #182

Closed ge0ffrey closed 3 years ago

ge0ffrey commented 3 years ago

Graalpython seems like an excellent way to expose many of the libraries in the Java ecosystem to Python users. However, getting started with it - and combining Python and Java code - is tricky. A good quickstart repo would really enable more people to pick this up.

timfel commented 3 years ago

Do you mean something like what we have on the website, just as a repository? https://www.graalvm.org/reference-manual/embed-languages/

ge0ffrey commented 3 years ago

Yes, something that we can check out and build. Something that immediately builds:

Reason I ask: I am investigating if it's possible to create a python implementation of OptaPlanner's school-timetabling example. There is already have one for Java and Kotlin: https://github.com/kiegroup/optaplanner-quickstarts

timfel commented 3 years ago

We have something to that effect now: https://github.com/hpi-swa-lab/graalpython-java-example/