jpy is a bi-directional Python-Java bridge which you can use to embed Java code in Python programs or the other way round