Collection of tools and libraries that extend GraalPy, a high-performance embeddable Python 3 runtime.
Java library with utility classes useful when embedding GraalPy.
VirtualFileSystem: implementation of the FileSystem SPI backed by Java resources and tailored for use with GraalPy Maven/Gradle plugin (see below).GraalPyResources: reusable Context.Builder templates for configuring GraalPy resources, including theVirtualFileSystem.PositionalArgumentsandKeywordArguments: provide way to pass positional and keyword arguments via the generic Context API.
See the GraalPy Embedding API Javadocs for the full class and module reference.
Maven archetype to generate a Java project that embeds GraalPy.
mvn archetype:generate \
-DarchetypeGroupId=org.graalvm.python \
-DarchetypeArtifactId=graalpy-archetype-polyglot-app \
-DarchetypeVersion=25.0.2
Maven plugin to install and manage Python packages for embedded GraalPy. For more details see the user manual.
Gradle plugin to install and manage Python packages for embedded GraalPy. For more details see the user manual.
With this integration, one can add Python package dependencies using syntax similar to how Maven dependencies are added:
//PIP qrcode==7.4.2
For example, see GraalPy JBang QR Code demo.
MCP server for executing Python code in a configurable sandbox. See the GraalPy Sandboxed MCP Server documentation for details.
Sandboxed Python CLI for executing Python code in a configurable sandbox. See the GraalPy Sandboxed CLI documentation for details.
This project welcomes contributions from the community. Before submitting a pull request, please review our contribution guide.
Please consult the security guide for the responsible security vulnerability disclosure process.
Copyright (c) 2025, 2026 Oracle and/or its affiliates.
Released under the Universal Permissive License v1.0 as shown at https://oss.oracle.com/licenses/upl/.