Have you tried Nuitka? https://github.com/Nuitka/Nuitka
In the same vein there's also PyInstaller and PyOxidizer, not to mention platform-specific binaries generators (Py2app, ...)
You could containerize your python. That's like having a fat binary.
Re:Ask HN: Who regrets choosing Elixir?
by 411111111111111 on Sunday May 24, 2020 @06:21AM
(#23290538)
yes, you can do that. I've been doing that for around 8 years now.
And no, it's not the same. Not even remotely. The only thing that helps with are quick and easy deployments.
The thing which makes maven special is the ease of producing artefacts for deployments, not the final step of starting it up on the server.
Python doesn't require creating artifacts. It requires dependency resolvement which Docker is perfect for.
And no fat-binaries. Nor self executing binaries. It's just as old and having em basically just boils down to enforcing conventions. But nope, nothing. There have been attempts by some such as shiv, but really... None are even remotely as usable as maven is.