logoalt Hacker News

rsyringtoday at 7:37 PM2 repliesview on HN

> 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."


Replies

d3Xt3rtoday at 8:11 PM

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

show 1 reply
julienfr112today at 8:16 PM

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...