py4j

Enables Python programs to dynamically access arbitrary Java objects

BSD License 34 个版本
Barthelemy Dagenais <barthelemy@infobart.com>
安装
pip install py4j
poetry add py4j
pipenv install py4j
conda install 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.