oracle/graalpython là dự án Backend trên GitHub, viết chủ yếu bằng Python, với 1.7k sao. GraalPy – A high-performance embeddable Python 3 runtime for Java
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
GraalPy is a high-performance implementation of the Python language for the JVM built on GraalVM.
GraalPy is a Python 3.13 compliant runtime.
It has first-class support for embedding in Java and can turn Python applications into fast, standalone binaries.
GraalPy is ready for production running pure Python code and has experimental support for many popular native extension modules.
Contributing
This project welcomes contributions from the community. Before submitting a pull request, please review our contribution guide.
If you’re considering contributing to this repository, you need to sign the Oracle Contributor Agreement before we can merge your changes.
Also, review the Code of Conduct for contributors.
Why GraalPy?
Low-overhead integration with Java and other languages
Use Python in Java applications on GraalVM JDK, Oracle JDK, or OpenJDK
Use JVM tools like Maven, JFR, or GraalVM Native Image
Manage Python libraries' system access thanks to GraalPy's Java-based emulation of Python OS APIs
Compatible with the Python ecosystem
Use almost any standard Python feature, the CPython tests run on every commit and pass ~85%
See if the packages you need work according to our Python Compatibility Checker
Support for native extension modules is considered experimental, but you can already install packages like NumPy or PyTorch; run Hugging Face models like Stable Diffusion or GPT
We run the tests of the most depended on PyPI packages every day.
For 93% of those 600 packages a recent version can be installed on GraalPy and GraalPy passes over 65% of all tests of all packages combined.
We assume that CPython not passing 100% of all tests is due to problems in our infrastructure that may also affect GraalPy.
Packages where CPython fails all tests are marked as "not tested" for both CPython and GraalPy.
Runs Python code faster
Pure Python code is often faster than on CPython after JIT compilation
C extension performance is near CPython, but varies depending on the specific interactions of native and Python code
GraalPy is geomean ~4x faster than CPython on the official Python Performance Benchmark Suite
Benchmarks run via pip install pyperformance && pyperformance run on each of CPython and GraalPy.
Each interpreter was installed via pyenv.
Getting Started
Embedding GraalPy in Java
GraalPy is available on Maven Central for inclusion in Java projects.
Refer to our embedding documentation for more details.
GraalPy should in many cases work as a drop-in replacement for CPython.
You can use pip to install packages as usual.
Packages with C code usually do not provide binaries for GraalPy, so they will be automatically compiled during installation.
This means that build tools have to be available and installation will take longer.
We provide Github actions to help you build binary packages with the correct dependencies.
Thanks to our integration with GraalVM Native Image, we can deploy Python applications as standalone binary, all dependencies included.
See the complete installation guide for detailed instructions.
Using GraalPy in Github Actions
The setup-python action supports GraalPy:
- name: Setup GraalPy
uses: actions/setup-python@v5
with:
python-version: graalpy # or graalpy24.2 to pin a version
Migrating Jython Scripts to GraalPy
Most existing Jython code that uses Java integration will be based on a stable Jython release—however, these are only available in Python 2.x versions.
To migrate your code from Python 2 to Python 3, follow the official guide from the Python community.
GraalPy provides a special mode to facilitate migration.
Quick Setup:
Download a GraalPy JVM distribution: graalpy-jvm-XX.Y.Z-<platform>.tar.gz
Extract and add to PATH
Run with: graalpy --python.EmulateJython
See the complete migration guide for detailed instructions.
Examples
Java AWT app with Python graph library using JBang | Standalone binary of a Python game by Joey Navarro with all dependencies included.
Documentation
GraalPy Quick Reference Sheet should help you get started.
More GraalPy-specific user documentation is available in docs/user.
General documentation about polyglot programming and language embedding is available on the GraalVM website.
Community
The best way to get in touch with us is to join the #graalpy channel on GraalVM Slack or tweet us.
Security
Consult the security guide for our responsible security vulnerability disclosure process.
License
This GraalVM implementation of Python is Copyright (c) 2017, 2026 Oracle and/or its affiliates and is made available to you under the terms the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/.
This implementation is in part derived from and contains additional code from 3rd parties, the copyrights and licensing of which is detailed in the LICENSE and THIRD_PARTY_LICENSE files.
oracle/graalpython có 1.7k sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/oracle/graalpython. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
oracle/graalpython có những chủ đề gì?
GitHub topics của oracle/graalpython: "embeddable", "graalvm", "java", "python", "python3". TopGit xếp repo vào nhóm Backend.
oracle/graalpython còn đang phát triển không?
Commit gần nhất trên oracle/graalpython là 3 tháng trước (theo timestamp GitHub). Repo có 165 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
oracle/graalpython là gì?
oracle/graalpython (oracle/graalpython) là dự án Python trên GitHub. Theo mô tả gốc: GraalPy – A high-performance embeddable Python 3 runtime for Java
oracle/graalpython so với các dự án Backend khác thế nào?
oracle/graalpython được TopGit xếp vào nhóm Backend, với 1.7k sao GitHub và viết bằng Python. Xem trang chủ đề Backend trên TopGit để so sánh với các dự án tương tự theo số sao và mức độ hoạt động.
oracle/graalpython viết bằng ngôn ngữ gì?
oracle/graalpython chủ yếu viết bằng Python. Trường "language" của GitHub dựa trên phần lớn byte ở nhánh mặc định.
Vì sao oracle/graalpython được xếp vào nhóm Backend?
TopGit xếp oracle/graalpython vào nhóm Backend dựa trên GitHub topics và mô tả của repo (gắn thẻ: "embeddable", "graalvm", "java"). Việc phân loại dựa trên metadata thật của repo, không phải đoán theo cảm tính biên tập.
Đọc đầy đủ README ở tab phía trên.
Chưa chắc graalpython có hợp với bạn?
Để ChatGPT, Claude hoặc Perplexity tìm hiểu giúp — bấm bên dưới và xem AI nói gì về graalpython.