Skip to content
Discussion options

You must be logged in to vote

python-jvm@wfouche is a JBang app that streamlines the process of executing GraalPython programs within a JVM environment.

#!/usr/bin/env python-jvm

# restclient_graalpy.py
#
# Run: jbang run python-jvm@wfouche restclient_graalpy.py
#

# /// jbang
# requires-graalpy = "==24.2.1"
# requires-java = ">=21"
# debug = false
# dependencies = [
#   "org.springframework.boot:spring-boot-starter-web:3.4.4"
# ]
# [graalpy]
#   allowAllAccess = true
#   emulateJython = true
# [java]
#   runtime-options = "-XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI -Dpolyglot.engine.WarnInterpreterOnly=false"
# [jbang]
#   integrations = false
# ///

import java.lang.String as String
import org.springframework.

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by wfouche
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
1 participant