Skip to content

Add GraalPy support as a PythonExecutor instance (V1.1.0) #7

@maksymuimanov

Description

@maksymuimanov

Currently, the library provides support for executing Python scripts through restricted sandboxes and external processes. However, there is no built-in support for GraalPy, which would allow seamless Python execution inside the JVM, with direct interoperability between Java and Python objects.

  • Add a new implementation of PythonExecutor based on GraalPy (GraalVM’s Python runtime).
  • Provide integration with the existing API.
  • Allow running Python scripts in-process, with the ability to exchange data between Java and Python directly.
  • Ensure compatibility with Spring Boot starter setup.

GraalPy is actively developed and provides good JVM interoperability.
This feature will be introduced in V1.1.0 as an optional module (e.g. spring-boot-python-executor-graalpy-executor-starter).

Requires documentation update with usage examples (application.yml config + Java sample).

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