Skip to content

Add Jython support as a PythonExecutor (V1.1.0) #8

@maksymuimanov

Description

@maksymuimanov

At the moment, the library supports restricted execution and external runtimes, but there is no integration with Jython. While Jython is not actively developed for modern Python versions (stuck on Python 2.7), it can still be useful in JVM-only environments where embedding Python code without external runtimes is required.

  • Introduce a new implementation of PythonExecutor based on Jython.
  • Provide API integration consistent with other executors.
  • Allow users to execute Python scripts inside the JVM with access to Java libraries directly.

Jython support would mainly target JVM-only deployments where external Python runtimes are not allowed.
Mark this executor as optional and add a note in the documentation about its Python 2.7 limitation.
This feature will be released as part of V1.1.0 (e.g., in module spring-boot-python-executor-jython-executor-starter).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestjavaPull requests that update java code

    Projects

    Status

    In review

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions