4 ms·
Since this is highly incompatible with most python ecosystem right now, may I plug nuitka? https://nuitka.net/index.html https://nuitka.net/index.html It's a
by BiteCode_dev 4y ago
Since this is highly incompatible with most python ecosystem right now, may I plug nuitka?
https://nuitka.net/index.html https://nuitka.net/index.html
It's a compiler for python code that can create stand alone executables, and up to 4 times the speed of the initial code.
Best of all, it's extremely reliable, with a high level of support of event the tricky things like the scientic and gui stacks.
- plonk 4y agoSeconded, I deploy large packages with gigabytes of deep learning and GIS dependencies in single executables with Nuitka and it works very well. Also handles including data files into the executable if needed.
- WhyCause 4y agoOut of curiosity, are the GIS dependencies the proprietary ones (coughESRIcough)?
- anakaine 4y agoHa ing been down a similar path, this whole thing works so much better if you don't 'import arcpy'. Licencing issues aside, you've often got faster tools in shapely, fiona, geopandas, rasterio, xarray.
- plonk 4y agoPlease no, not ArcGIS. I’m sure our dependencies would clash with arcpy’s if we tried. Fortunately my company uses FOSS packages almost exclusively.
- flowersjeff 4y agoThird'ly?... Nuitka is amazing. Simply as that.
- anakaine 4y agoWe do similar. Works well.
- anigbrowl 4y agoSold
- yardshop 4y ago> high level of support of event the tricky things like the scientic and gui stacks Could it compile an app that uses Pillow and AggDraw and ReportLab and OpenPyXL with a TKInter GUI into a standalone app I can give to a coworker? That would be extremely useful!
- powersnail 4y agoI’ve used Nuitka to package an app that involves Pillow, mupdf, PyQt, and several other libraries, and it handles them with no problem.
- yardshop 4y agoThat's very encouraging, I will give it a go! And I have to ask, does a powersnail live in a powershell? =) (also a language I like that needs better GUI and EXE packaging)
- plonk 4y agoI don’t know half of these but I’m almost sure that Pillow and TKInter would work.
- yardshop 4y agoAggDraw is an "anti-grain geometry" graphics library that works with Pillow for drawing high quality images. ReportLab is a very big PDF generating library, and OpenPyXL reads and writes XLSX format Excel spreadsheets. I use these in many of my work-related apps. Tkinter is the big question for me because it involves a lot of behind-the-scenes files. Thanks for your comment, I will give Nuitka a try!