Python wrapper for the Java Native Interface