Package org.graalvm.python.embedding


package org.graalvm.python.embedding
Utilities for GraalPy embedding scenarios.

For an overview on how to create and configure a GraalPy context to get access to Python related resources in GraalPy embedding scenarios see GraalPyResources.

For passing python keyword and positional arguments from java to python, see: KeywordArguments and PositionalArguments

Since:
24.2.0
  • Class
    Description
    This class provides utilities related to Python resources used in GraalPy embedding scenarios which can be of the following kind: Python application files Third-party Python packages
    Represents a set of keyword arguments, typically used for interfacing with Python functions that accept **kwargs.
    Represents positional arguments (`*args`) in Python.
    The GraalPy Virtual Filesystem accesses embedded resource files as standard Java resources and makes them available to Python code running in GraalPy.
    Builder class to create VirtualFileSystem instances.
    Determines if and how much host IO is allowed outside the VirtualFileSystem.