Are there any examples of PyApp using libraries that wrap other languages (Numpy, SpaCy, etc.)? In my experience, it has been extremely difficult to ship data/ml heavy applications built with Python as a binary.
Holy shit! So looking at the flowchart elsewhere in the docs, this means the executable produced by pyapp will ensure the requirements file is processed before executing the actual module code?
I love this. This is exactly the idea the python ecosystem needs to unfuck it's packaging/distribution hell. I will start using this at work to try and solve the "how the hell do I distribute the spaghetti these devs produce in a sensible way" problem (we bundle dockerfiles atm and it's less than ideal)
Will let you know if I have any avenues for potential improvement, etc.
Comments
Are there any examples of PyApp using libraries that wrap other languages (Numpy, SpaCy, etc.)? In my experience, it has been extremely difficult to ship data/ml heavy applications built with Python as a binary.
I think this is the most common pattern where you wish to execute a script based on a requirements file: https://ofek.dev/pyapp/latest/examples/#dependency-file-with...
Holy shit! So looking at the flowchart elsewhere in the docs, this means the executable produced by pyapp will ensure the requirements file is processed before executing the actual module code?
This is magic.
Yes it will that is exactly correct! That particular example actually was after I was reading how to set up Stable Diffusion and other AI stack stuff.
I love this. This is exactly the idea the python ecosystem needs to unfuck it's packaging/distribution hell. I will start using this at work to try and solve the "how the hell do I distribute the spaghetti these devs produce in a sensible way" problem (we bundle dockerfiles atm and it's less than ideal)
Will let you know if I have any avenues for potential improvement, etc.