GraalPy – A high-performance embeddable Python 3 runtime for Java

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Sevalla - Deploy and host your apps and databases, now with $50 credit!
Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!
sevalla.com
featured
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
  1. graalpython

    GraalPy – A high-performance embeddable Python 3 runtime for Java

    The number of patches is going down with time and many are trivial one liners, e.g. uvloop

    https://github.com/oracle/graalpython/blob/b907353de1b72a14e...

        -        self.cython_always = False

  2. Sevalla

    Deploy and host your apps and databases, now with $50 credit! Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!

    Sevalla logo
  3. PythonKit

    Swift framework to interact with Python.

    I haven't seen embedding using graal/vm, or inter-op using the native JVM FFI.

    There is (active, 2K stars) https://github.com/pvieito/PythonKit and I've heard of people being able to deploy apps with python on the app store. YMMV.

  4. libpython-clj

    Python bindings for Clojure

    FWIW we've had full Java/Python integration in Clojure for awhile now, courtesy of Chris Neurnberger and libpython-clj: https://github.com/clj-python/libpython-clj

    If you're into that sort of thing.

    Self-interest disclosure: I'm a major contributor and heavy user.

  5. hy

    A dialect of Lisp that's embedded in Python

    > I am willing to live with Python as the Lisp we deserve to have

    You can have your cake and eat it too https://github.com/hylang/hy

  6. jep

    Embed Python in Java

    jep[0] has existed for a while now, and does what GraalPy is doing quite well.

    I'm using it for similar purposes as stated and for that it works quite well. A research group I am collaborating with does a lot of their work in one Java application (ImageJ for microscopy), so by integrating my Python processing code into that application, it finds its way a lot quicker into the daily workflows of everyone in that group.

    Most recently I've also extended the jep setup to include optional Python version bootstrapping via uv[1], so that I can be sure that the plugins I'm writing have to correct Python version available.

    [0]: https://github.com/ninia/jep

    [1]: https://github.com/astral-sh/uv

  7. uv

    An extremely fast Python package and project manager, written in Rust.

    jep[0] has existed for a while now, and does what GraalPy is doing quite well.

    I'm using it for similar purposes as stated and for that it works quite well. A research group I am collaborating with does a lot of their work in one Java application (ImageJ for microscopy), so by integrating my Python processing code into that application, it finds its way a lot quicker into the daily workflows of everyone in that group.

    Most recently I've also extended the jep setup to include optional Python version bootstrapping via uv[1], so that I can be sure that the plugins I'm writing have to correct Python version available.

    [0]: https://github.com/ninia/jep

    [1]: https://github.com/astral-sh/uv

  8. maturin

    Build and publish crates with pyo3, cffi and uniffi bindings as well as rust binaries as python packages

    Note: there is basic GraalPy support in Maturin[0] and PyO3[1], the problem is often that packages require older Maturin/PyO3 versions and/or they use CPython-isms, semi-public APIs, etc., but it is getting better[2].

    It is fair to say that large projects with a huge set of dependencies will likely face some compatibility issues, but we're working on ironing this out. There is GraalPy support in setup-python GitHub action. GraalPy is supported in the manylinux image [3]. Hopefully soon also in cibuildwheel [4].

    [0] https://github.com/PyO3/maturin/pull/1645 (merged)

  9. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  10. PyO3

    Rust bindings for the Python interpreter

  11. jiter

    Fast iterable JSON parser.

  12. manylinux

    Python wheels that work on any linux (almost)

    [3] https://github.com/pypa/manylinux/pull/1520 (merged)

  13. cibuildwheel

    🎡 Build Python wheels for all the platforms with minimal configuration.

  14. maven-hocon-extension

    Apache maven

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts