Python runtime for Java, built on GraalVM
Top 29.0% on sourcepulse
GraalPy is a high-performance, embeddable Python 3.11 runtime built on GraalVM, targeting Java developers and Python users seeking improved performance and seamless Java integration. It offers faster execution for pure Python code, near CPython performance for C extensions, and the ability to create standalone binaries, making it suitable for production use with pure Python and experimental support for native extensions.
How It Works
GraalPy leverages GraalVM's advanced Just-In-Time (JIT) compilation and Ahead-Of-Time (AOT) compilation via Native Image. This allows it to achieve significant performance gains over CPython for pure Python code through aggressive optimizations. Its Java-based emulation of Python OS APIs enables low-overhead integration with Java applications and JVM tooling, while also providing a controlled environment for managing system access.
Quick Start & Requirements
pyenv
(pyenv install graalpy-24.2.0
, pyenv shell graalpy-24.2.0
). Alternatively, download from GitHub releases and update PATH
. Windows users can use pyenv-win
.pyenv
is quick; compiling packages with native extensions can be time-consuming.Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
pyenv
.23 hours ago
Inactive