This repository makes it easy to create a JBang app that uses GraalPy & Java.
See our example graalpy.java for a template. You can use PIP
comments to add packages. Native image builds
should just work. Modify the main method to suit your use case, the other two classes in the file are just
helpers that you should be able to ignore.
graalpy-jbang/src/test/resources/graalpy.java
Lines 1 to 5 in ad28067
graalpy-jbang/src/test/resources/graalpy.java
Lines 48 to 69 in ad28067