A Python to Java bridge.


Keywords
bridge, c-plus-plus, java, jni, python, python3
License
Apache-2.0
Install
pip install JPype1==1.1.1

Documentation

JPype logo

JPype

implementation pyversions javaversions jvm platform license

JPype is a Python module to provide full access to Java from within Python. It allows Python to make use of Java only libraries, exploring and visualization of Java structures, development and testing of Java libraries, scientific computing, and much more. By gaining the best of both worlds using Python for rapid prototyping and Java for strong typed production code, JPype provides a powerful environment for engineering and code development.

This is achieved not through re-implementing Python, as Jython has done, but rather through interfacing at the native level in both virtual machines. This shared memory based approach achieves decent computing performance, while providing the access to the entirety of CPython and Java libraries.

Code: GitHub
Issue tracker: GitHub Issues
Discussions: GitHub Discussions
Documentation: Python Docs
License: Apache 2 License
Build status: TestsCI Docs
Quality status: Codecov lgtm_python lgtm_java lgtm_cpp
Version: PypiVersion Conda

The work on this project began on Sourceforge. LLNL-CODE- 812311

SPDX-License-Identifier: Apache-2.0