Registry / other / jython-standalone

jython-standalone

JSON →
library2.7.4javamavenunverified

Jython is a Java implementation of Python that allows running Python code on the JVM.

<dependency> <groupId>org.python</groupId> <artifactId>jython-standalone</artifactId> <version>2.7.4</version> </dependency>
INSTALL
IMPORT
SIG · JYTHON-STANDALONE
J
jython-standalone
otherjavav2.7.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

PythonInterpreter
org.python.util.PythonInterpreter

Execute Python code from Java using the PythonInterpreter.

import org.python.util.PythonInterpreter; PythonInterpreter interpreter = new PythonInterpreter(); interpreter.exec("print('Hello from Python!')");
Debug
Known issues
breakingJython supports Python 2.7 only; Python 3 features are not available.
fix
Use Python 2.7 syntax or consider alternative JVM Python implementations.
affects: all
Upgrade
Version history
2.7.4latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
jython-standalone — mvn dependency:get jython-standalone · libregistry