Enables Python programs to dynamically access arbitrary Java objects


Keywords
distributed-systems, java, programming-languages, python
License
BSD-3-Clause
Install
pip install py4j==0.10.8.1

Documentation

Py4J

Py4J enables Python programs running in a Python interpreter to dynamically access Java objects in a Java Virtual Machine. Methods are called as if the Java objects resided in the Python interpreter and Java collections can be accessed through standard Python collection methods. Py4J also enables Java programs to call back Python objects.

The latest compiled release is available in the current-release directory.

This is the source repository of Py4J projects. Please visit the Py4J homepage for more information.

For help, register and then post to the Py4J mailing list at py4j at py4j dot org

LICENSE

Py4J is distributed with the BSD 3-Clause license. See LICENSE.txt for more information.

CONTRIBUTING

We are always happy to receive code contributions, bug reports, and documentation fixes. Please visit the contributing guide for more information.