Remix.run Logo
rsyring 2 hours ago

> Many users of these distributions might be better served by the PyOxy sister project [1]. PyOxy takes these Python distributions and adds some Rust code for enhancing the functionality of the Python interpreter. The official PyOxy release binaries are single file executables providing a full-featured Python interpreter.

1: https://github.com/indygreg/PyOxidizer/

From that readme, it seems PyOxy has a few related uses:

- It can produce a single file executable representing a Python app including the interpreter

- It can ship self-contained Python interpreters and related to be embedded or used as a library in a larger application

- PyOxidizer can serve as a bridge between Rust and Python - "PyOxidizer can be used to easily add a Python interpreter to any Rust project. But the opposite is also true: PyOxidizer can also be used to add Rust to Python."

d3Xt3r an hour ago | parent | next [-]

That project seems to have been abandoned though. Last release was 4 years ago, and last commit was 2 years ago.

rsyring 23 minutes ago | parent [-]

You are correct. I just hadn't noticed:

- Project Status Update: https://github.com/indygreg/PyOxidizer/discussions/740

- https://gregoryszorc.com/blog/2024/03/17/my-shifting-open-so...

julienfr112 an hour ago | parent | prev [-]

It kind of worked, but had some problems, like mostly targeted to mac os (probably the dev env) but not so much with linux. And could maybe do to much, with a flaky configuration in https://starlark-lang.org/. I've spend some hours trying to make it work for my use case, but it ended beeing wasted time...