PyJNIus is a simple-to-use Java interface for Python. However, JPype is a better alternative.
Installation
pip install Cython
pip install pyjnius
Example with Imported Jar
import os
os.environ["CLASSPATH"] = "/path/to/your.jar"
from jnius import autoclass
YourClass = autoclass(path.to.YourClass)
yourObj = YourClass()
Note: Avoid using the same …