pyinstaller
Freeze (package) Python programs into stand-alone executables
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (16.5%) to scientific vocabulary
Keywords
Repository
Freeze (package) Python programs into stand-alone executables
Basic Info
- Host: GitHub
- Owner: pyinstaller
- License: other
- Language: Python
- Default Branch: develop
- Homepage: http://www.pyinstaller.org
- Size: 64.7 MB
Statistics
- Stars: 12,580
- Watchers: 229
- Forks: 2,002
- Open Issues: 287
- Releases: 75
Topics
Metadata Files
README.rst
PyInstaller Overview
====================
.. image:: https://img.shields.io/pypi/v/pyinstaller
:alt: PyPI
:target: https://pypi.org/project/pyinstaller
.. image:: https://img.shields.io/pypi/pyversions/pyinstaller
:alt: PyPI - Python Version
:target: https://pypi.org/project/pyinstaller
.. image:: https://img.shields.io/readthedocs/pyinstaller/stable
:alt: Read the Docs (version)
:target: https://pyinstaller.org
.. image:: https://img.shields.io/pypi/dm/pyinstaller
:alt: PyPI - Downloads
:target: https://pypistats.org/packages/pyinstaller
PyInstaller bundles a Python application and all its dependencies into a single
package. The user can run the packaged app without installing a Python
interpreter or any modules.
:Documentation: https://pyinstaller.org/
:Code: https://github.com/pyinstaller/pyinstaller
PyInstaller reads a Python script written by you. It analyzes your code
to discover every other module and library your script needs in order to
execute. Then it collects copies of all those files -- including the active
Python interpreter! -- and puts them with your script in a single folder, or
optionally in a single executable file.
PyInstaller is tested against Windows, macOS, and GNU/Linux.
However, it is not a cross-compiler:
to make a Windows app you run PyInstaller in Windows; to make
a GNU/Linux app you run it in GNU/Linux, etc.
PyInstaller has been used successfully
with AIX, Solaris, FreeBSD and OpenBSD,
but is not tested against them as part of the continuous integration tests.
Main Advantages
---------------
- Works out-of-the-box with any Python version 3.8-3.13.
- Fully multi-platform, and uses the OS support to load the dynamic libraries,
thus ensuring full compatibility.
- Correctly bundles the major Python packages such as numpy, PyQt5,
PySide2, PyQt6, PySide6, wxPython, matplotlib and others out-of-the-box.
- Compatible with many 3rd-party packages out-of-the-box. (All the required
tricks to make external packages work are already integrated.)
- Works with code signing on macOS.
- Bundles MS Visual C++ DLLs on Windows.
Installation
------------
PyInstaller is available on PyPI. You can install it through `pip`:
.. code:: bash
pip install pyinstaller
Requirements and Tested Platforms
---------------------------------
- Python:
- 3.8-3.14. Note that Python 3.10.0 contains a bug making it unsupportable by
PyInstaller. PyInstaller will also not work with beta releases of Python
3.15.
- Windows (32bit/64bit/ARM64):
- PyInstaller should work on Windows 7 or newer, but we only officially support Windows 8+.
- Support for Python installed from the Windows store without using virtual
environments requires PyInstaller 4.4 or later.
- Linux:
- GNU libc based distributions on architectures ``x86_64``, ``aarch64``,
``i686``, ``ppc64le``, ``s390x``.
- musl libc based distributions on architectures ``x86_64``, ``aarch64``.
- ldd: Console application to print the shared libraries required
by each program or shared library. This typically can be found in
the distribution-package `glibc` or `libc-bin`.
- objdump: Console application to display information from
object files. This typically can be found in the
distribution-package `binutils`.
- objcopy: Console application to copy and translate object files.
This typically can be found in the distribution-package `binutils`,
too.
- Raspberry Pi users on ``armv5``-``armv7`` should `add piwheels as an extra
index url `_ then ``pip install pyinstaller``
as usual.
- macOS (``x86_64`` or ``arm64``):
- macOS 10.15 (Catalina) or newer.
- Supports building ``universal2`` applications provided that your installation
of Python and all your dependencies are also compiled ``universal2``.
Usage
-----
Basic usage is very simple, just run it against your main script:
.. code:: bash
pyinstaller /path/to/yourscript.py
For more details, see the `manual`_.
Untested Platforms
------------------
The following platforms have been contributed and any feedback or
enhancements on these are welcome.
- FreeBSD
- ldd
- Solaris
- ldd
- objdump
- AIX
- AIX 6.1 or newer. PyInstaller will not work with statically
linked Python libraries.
- ldd
- Linux on any other libc implementation/architecture combination not listed
above.
Before using any contributed platform, you need to build the PyInstaller
bootloader. This will happen automatically when you ``pip install pyinstaller``
provided that you have an appropriate C compiler (typically
either ``gcc`` or ``clang``) and zlib's development headers already installed.
Support
-------
- Official debugging guide: https://pyinstaller.org/en/v6.15.0/when-things-go-wrong.html
- Assorted user contributed help topics: https://github.com/pyinstaller/pyinstaller/wiki
- Web based Q&A forums: https://github.com/pyinstaller/pyinstaller/discussions
- Email based Q&A forums: https://groups.google.com/g/pyinstaller
Changes in this Release
-----------------------
You can find a detailed list of changes in this release
in the `Changelog`_ section of the manual.
.. _`manual`: https://pyinstaller.org/en/v6.15.0/
.. _`Changelog`: https://pyinstaller.org/en/v6.15.0/CHANGES.html
Owner
- Name: PyInstaller
- Login: pyinstaller
- Kind: organization
- Website: https://pyinstaller.org
- Repositories: 7
- Profile: https://github.com/pyinstaller
Converts (packages) Python programs into stand-alone executables, under Windows, Linux, Mac OS X, AIX and Solaris.
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 789
- Total pull requests: 762
- Average time to close issues: 2 months
- Average time to close pull requests: 6 days
- Total issue authors: 634
- Total pull request authors: 60
- Average comments per issue: 4.21
- Average comments per pull request: 1.39
- Merged pull requests: 657
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 190
- Pull requests: 255
- Average time to close issues: 4 days
- Average time to close pull requests: about 24 hours
- Issue authors: 172
- Pull request authors: 13
- Average comments per issue: 2.95
- Average comments per pull request: 0.98
- Merged pull requests: 222
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- bersbersbers (11)
- C0rn3j (8)
- htgoebel (7)
- Eichhof (7)
- 17Reset (7)
- dickreuter (6)
- arossert (5)
- BLKSerene (4)
- danyeaw (4)
- gernophil (4)
- happymvd (4)
- eshopblr (4)
- mtsamorim (4)
- paulocoutinhox (4)
- brappier (3)
Pull Request Authors
- rokm (382)
- pyup-bot (169)
- bwoodsend (65)
- ghost (35)
- danyeaw (10)
- EssamFattah (8)
- byehack (6)
- sorenstoutner (5)
- C0rn3j (4)
- oaikenhead (4)
- SnoopJ (3)
- kcehvoin1 (3)
- arossert (2)
- Geo5 (2)
- Temerold (2)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 8
-
Total downloads:
- pypi 4,185,942 last-month
- Total docker downloads: 1,677,892,089
-
Total dependent packages: 333
(may contain duplicates) -
Total dependent repositories: 7,729
(may contain duplicates) - Total versions: 180
- Total maintainers: 3
- Total advisories: 2
pypi.org: pyinstaller
PyInstaller bundles a Python application and all its dependencies into a single package.
- Homepage: https://www.pyinstaller.org/
- Documentation: https://pyinstaller.readthedocs.io/
- License: GPLv2-or-later with a special exception which allows to use PyInstaller to build and distribute non-free programs (including commercial ones)
-
Latest release: 6.15.0
published 7 months ago
Rankings
proxy.golang.org: github.com/pyinstaller/pyinstaller
- Documentation: https://pkg.go.dev/github.com/pyinstaller/pyinstaller#section-documentation
- License: other
-
Latest release: v6.15.0+incompatible
published 7 months ago
Rankings
proxy.golang.org: github.com/PyInstaller/PyInstaller
- Documentation: https://pkg.go.dev/github.com/PyInstaller/PyInstaller#section-documentation
- License: other
-
Latest release: v6.15.0+incompatible
published 7 months ago
Rankings
conda-forge.org: pyinstaller
- Homepage: http://www.pyinstaller.org
- License: GPL-2.0-or-later WITH Bootloader-exception
-
Latest release: 5.6.2
published over 3 years ago
Rankings
anaconda.org: pyinstaller
PyInstaller bundles a Python application and all its dependencies into a single package. The user can run the packaged app without installing a Python interpreter or any modules. PyInstaller reads a Python script written by you. It analyzes your code to discover every other module and library your script needs in order to execute. Then it collects copies of all those files -- including the active Python interpreter! -- and puts them with your script in a single folder, or optionally in a single executable file.
- Homepage: https://pyinstaller.org
- License: GPL-2.0-or-later WITH Bootloader-exception AND Apache-2.0
-
Latest release: 6.12.0
published 12 months ago
Rankings
pypi.org: cs489-pyinstaller-testable-1
PyInstaller bundles a Python application and all its dependencies into a single package.
- Homepage: https://www.pyinstaller.org/
- Documentation: https://cs489-pyinstaller-testable-1.readthedocs.io/
- License: GPLv2-or-later with a special exception which allows to use PyInstaller to build and distribute non-free programs (including commercial ones)
-
Latest release: 6.5.0
published almost 2 years ago
Rankings
Maintainers (1)
pypi.org: custom-fork-pyinstaller
PyInstaller bundles a Python application and all its dependencies into a single package.
- Homepage: https://www.pyinstaller.org/
- Documentation: https://custom-fork-pyinstaller.readthedocs.io/
- License: GPLv2-or-later with a special exception which allows to use PyInstaller to build and distribute non-free programs (including commercial ones)
- Status: removed
-
Latest release: 6.5.0
published almost 2 years ago
Rankings
Maintainers (1)
pypi.org: custom-fork-pyinstaller-1
PyInstaller bundles a Python application and all its dependencies into a single package.
- Homepage: https://www.pyinstaller.org/
- Documentation: https://custom-fork-pyinstaller-1.readthedocs.io/
- License: GPLv2-or-later with a special exception which allows to use PyInstaller to build and distribute non-free programs (including commercial ones)
-
Latest release: 6.5.0
published almost 2 years ago
Rankings
Maintainers (1)
Dependencies
- styfle/cancel-workflow-action 0.11.0 composite
- actions/cache v3 composite
- actions/checkout v3 composite
- actions/setup-python v4 composite
- actions/checkout v3 composite
- actions/setup-python v4 composite
- dessant/lock-threads v3 composite
- actions/checkout v3 composite
- actions/checkout v3 composite
- actions/setup-python v4 composite
- actions/upload-artifact v3 composite
- ${BASE} latest build
- python 3.7 build
- Babel ==2.9.1
- Jinja2 ==3.0.1
- MarkupSafe ==2.0.1
- Pygments ==2.9.0
- Sphinx ==4.3.2
- alabaster ==0.7.12
- altgraph ==0.17
- certifi ==2021.5.30
- chardet ==4.0.0
- docutils ==0.16
- idna ==2.10
- imagesize ==1.2.0
- pyparsing ==2.4.7
- pytz ==2021.1
- requests ==2.25.1
- snowballstemmer ==2.1.0
- sphinx-autodoc-typehints ==1.12.0
- sphinx-issues ==3.0.1
- sphinx-rtd-theme ==0.5.2
- sphinxcontrib-applehelp ==1.0.2
- sphinxcontrib-devhelp ==1.0.2
- sphinxcontrib-htmlhelp ==2.0.0
- sphinxcontrib-jsmath ==1.0.1
- sphinxcontrib-qthelp ==1.0.3
- sphinxcontrib-serializinghtml ==1.1.5
- sphinxcontrib-towncrier ==0.3.1a3
- towncrier ==22.8.0
- typing-extensions ==3.10.0.0
- urllib3 ==1.26.5
- zipp ==3.4.1
- ipython * development
- pycmd * development
- pyreadline * development
- towncrier ==22.8.0 development
- twine * development
- wheel >0.24.0 development
- Django ==4.1.5 test
- Pillow ==9.4.0 test
- PyGObject ==3.42.2 test
- PyQt3D ==5.15.5 test
- PyQt5 ==5.15.7 test
- PyQt6 ==6.4.0 test
- PyQt6-3D ==6.4.0 test
- PyQt6-Charts ==6.4.0 test
- PyQt6-DataVisualization ==6.4.0 test
- PyQt6-NetworkAuth ==6.4.0 test
- PyQt6-QScintilla ==2.13.3 test
- PyQt6-WebEngine ==6.4.0 test
- PyQtChart ==5.15.6 test
- PyQtDataVisualization ==5.15.5 test
- PyQtNetworkAuth ==5.15.5 test
- PyQtPurchasing ==5.15.5 test
- PyQtWebEngine ==5.15.6 test
- PySide2 ==5.15.2.1 test
- PySide6 ==6.4.1 test
- QScintilla ==2.13.3 test
- babel ==2.11.0 test
- future ==0.18.2 test
- gevent ==22.10.2 test
- importlib_resources ==5.10.2 test
- ipython ==8.8.0 test
- keyring ==23.0.1 test
- keyring ==23.13.1 test
- matplotlib ==3.6.2 test
- numpy ==1.24.1 test
- numpy ==1.21.5 test
- pandas ==1.5.2 test
- pygments ==2.14.0 test
- python-dateutil ==2.8.2 test
- pytz ==2022.7 test
- requests ==2.28.1 test
- scipy ==1.10.0 test
- simplejson ==3.18.1 test
- sphinx ==6.1.2 test
- sqlalchemy ==1.4.46 test
- zope.interface ==5.5.2 test
- execnet >=1.5.0 test
- flake8 * test
- flaky * test
- lxml * test
- psutil * test
- pytest >=2.7.3 test
- pytest-drop-dup-tests * test
- pytest-rerunfailures * test
- pytest-timeout >=2.0.0 test
- pytest-xdist * test
- pywin32 * test
- tinyaes * test