PyInstaller
lisa
Our great sponsors
PyInstaller | lisa | |
---|---|---|
105 | 6 | |
11,271 | 198 | |
1.4% | 0.5% | |
9.6 | 9.7 | |
9 days ago | 6 days ago | |
Python | Jupyter Notebook | |
GNU General Public License v3.0 or later | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
PyInstaller
-
Python 3.12.1 Released
Not sure if fixed in this patch, but pyinstaller had an issue in 3.12.0 https://github.com/pyinstaller/pyinstaller/issues/7992
-
Why not tell people to “simply” use pyenv, poetry or anaconda
You are right. I think I've misremembered the module name - it was uwsgi, not uvicorn.
This is a github issue where I discussed my original issue with PyInstaller devs - the dev explained the situation very well: https://github.com/pyinstaller/pyinstaller/issues/6362
- Automations/Scripts should I let them have it after resign?
- Question: Modifying HTML in Rust
-
Shipping large ML models with electron
PyInstaller seemed like the most maintained and developed tool to freeze python script into an executable, so I went with it. As expected, the freezed interface with the model was gigabytes large, so I had to figure out how to squeeze this. Fortunately, Onnx worked wonders and packaged the model into an inference only state, so I could throw away the Pytorch and Torchtext dependencies when freezing with Pyinstaller.Now the size of the executable with the model was 43MB instead of 4GB.
-
.py to .msi
You might want to see Pyinstaller and auto_py_to_exe if you want a GUI interface.
-
How to make a GUI translator app with Python Tkinter
It uses the pyinstaller command behind and please read their docs if you want to know more details.
-
PROGRAMMING MAKES MY DAY
I also found another link on github that may have some solutions to try: https://github.com/pyinstaller/pyinstaller/issues/3600
-
importlib.metadata.PackageNotFoundError: No package metadata was found for djoser pyinstaller
I made a Django react app. Now I want to make it a desktop application so that the user does not have type python manage.py runserver and also activate the environment every time. I used pyinstaller. I did all the steps mentioned for django
-
PassGen | Password generator/manager.
First, instead of creating a VM for windows, you may need to use a software called Wine mentioned in the pyinstaller FAQs
lisa
-
So, I wrote a Maybe monad in Python 3
You might be interested in that: https://github.com/ARM-software/lisa/blob/master/lisa/monad.py
-
Parca Agent rewrites eBPF in-kernel C code in Rust (using Aya-rs)
This is to replace the current flow purely based on pandas dataframe and offline trace.dat parsing used in LISA: https://github.com/ARM-software/lisa (collecting a trace.dat is nice for debugging but limits to small durations, and pandas does not allow running computations in constant memory, which is an issue for very big traces)
-
Languages with integrated dependency injection
The module added by this PR seems to be a pretty good fit: https://github.com/ARM-software/lisa/pull/1722
-
What tools are missing in Python?
I made that thing taking some vague inspiration from SML module system: https://github.com/ARM-software/lisa/pull/1722/files
-
The pipe-operator to python |>
import builtins from operator import add import functools # These functions can be found at: # https://github.com/ARM-software/lisa/blob/master/lisa/utils.py#L147 # Note: my implementation of curry() seems to be broken wrt named parameters (or for parameters with defaults, haven't looked at the details) for some reason but for this example it does not matter from lisa.utils import compose, curry def even(x): return x % 2 == 0 # The builtin functions don't have a signature, which will upset curry() so we # redefine it here def map(f, iterable): return builtins.map(f, iterable) def filter(f, iterable): return builtins.filter(f, iterable) # Swapped init and iterable to be curry-friendly def reduce(f, init, iterable): return functools.reduce(f, iterable, init) def pipeline(*items): # Add a currying layer so that we spare the user the need to do it return compose(*(curry(f)(*args) for (f, *args) in items)) # x = filter(even, list) |> map(lambda x: x+1) |> reduce(+) f = pipeline( (filter, even), (map, lambda x: x+1), (reduce, add, 0), ) l = [1,2,3,4] x = f(l) print(x)
What are some alternatives?
Nuitka - Nuitka is a Python compiler written in Python. It's fully compatible with Python 2.6, 2.7, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, and 3.11. You feed it your Python app, it does a lot of clever things, and spits out an executable or extension module.
parca-agent - eBPF based always-on profiler auto-discovering targets in Kubernetes and systemd, zero code changes or restarts needed!
PyOxidizer - A modern Python application packaging and distribution tool
blazon - A python library for assuring data structure and format via schemas like JSON Schema
py2exe - modified py2exe to support unicode paths
PyFunctional - Python library for creating data pipelines with chain functional programming
py2app
datoviz - ⚡ High-performance GPU interactive scientific data visualization with Vulkan
pyarmor - A tool used to obfuscate python scripts, bind obfuscated scripts to fixed machine or expire obfuscated scripts.
awesome-functional-python - A curated list of awesome things related to functional programming in Python.
pynsist - Build Windows installers for Python applications
kompute - General purpose GPU compute framework built on Vulkan to support 1000s of cross vendor graphics cards (AMD, Qualcomm, NVIDIA & friends). Blazing fast, mobile-enabled, asynchronous and optimized for advanced GPU data processing usecases. Backed by the Linux Foundation.