Convert your PySimpleGUI or other Python program into binary for easy distribution. GUI uses PySimpleGUI. Back-end compile performed using pyinstaller (so far... others are being added)
Project description
psgcompiler
A PySimpleGUI Application
"Compile" your Python programs into an EXE for Windows, an APP for Mac, and a binary for Linux
Installation
Old-school Straight Pip
pip install psgcompiler
pip via python -m pip
the python recommended way
If python
is your command
python -m pip install psgcompiler
If python3
is your command
python3 -m pip install psgcompiler
Usage
Open a command window and type:
psgcompiler
pyinstaller
Back-end with a PySimpleGUI
Front-end
The psgcompiler is a front-end GUI for the fantastic pyinstaller
program. This program transforms your Python project into an executable that you can distribute to friends, family members, colleagues, the public, other developers, ... Anyone that does not have Python installed on their machine will be able to run your program after you've turned it into a binary executable.
PySimpleGUI users in particular will greatly benefit from the psgcompiler
as you'll be able to distribute "Windows Programs". Most likely no one will know you're using Python. On Windows, you can create a single EXE file. This is in fact the default. After converting, you'll be left with a single EXE file.
A Multitude Of Options
pyinstaller
has a sh*t-ton of options! Unlike the primitive EXE Maker that the PySimpleGUI project created, the psgcompiler
exposes all of the options in an easy to use way.
A Simple EXE
If your program is relatively simple, then you only need to supply the name of your Python file, and an optional icon file.
Here is an example session showing only the .pyw file and the .ico file being supplied.
Additional Back-ends
Currently in the works is support for additional back-ends. cx_freeze
is up next.
Create a Shortcut To This Program
If you're a Windows user, then use the psgshortcut
application to make a shortcut to this program so that you can then put on your desktop or pin to your taskbar (or any other use that stops the need to type psgresizer
ever again).
Release Notes
1.2.0 13 Nov 2021
- Added version number in the .py file
- Added version number to right click menu
- Added local copy of version for debugging
- Posted to PyPI
1.0.0 13 Nov 2021
- Initial release, post to PyPI and GitHub
License
Licensed under an LGPL3 License
Copyright 2021
This PySimpleGUI Application Was Designed and Written By
Tanay Findley as part of The PySimpleGUI Project
Contributing
Like the PySimpleGUI project, this project is currently licensed under an open-source license, the project itself is structured like a proprietary product. Pull Requests are not accepted.
Copyright
Copyright 2021 PySimpleGUI
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for psgcompiler-1.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6063a5be89b5c3603b97842ec3174731886b56a2657e02bb11120e99adbf6a1 |
|
MD5 | 3f631392f1df9043773a643ad9d5096c |
|
BLAKE2b-256 | bd3593649adb04f0618a8167c4fc77a5c20fe19b892cebca942e795687def018 |