Skip to main content

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

Python GUIs for Humans

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.3.0 13 Nov 2021

  • Version number of psgcompiler, PyInstaller both added to right-click-menu and to version popup

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

psgcompiler-1.3.0.tar.gz (17.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

psgcompiler-1.3.0-py3-none-any.whl (15.6 kB view details)

Uploaded Python 3

File details

Details for the file psgcompiler-1.3.0.tar.gz.

File metadata

  • Download URL: psgcompiler-1.3.0.tar.gz
  • Upload date:
  • Size: 17.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.0 pkginfo/1.4.2 requests/2.26.0 requests-toolbelt/0.8.0 tqdm/4.62.0 CPython/3.6.2

File hashes

Hashes for psgcompiler-1.3.0.tar.gz
Algorithm Hash digest
SHA256 286a975ba2018802229b913a57063fdf5cece4967d6ee9d7079783789d7d7bf2
MD5 ce0f5dd7dc00f45314bb453369c35b75
BLAKE2b-256 3d0059f3d2bcfc794b42f3b3e2005ad96a958b9729c996b915da3d4a3e3fcbf5

See more details on using hashes here.

File details

Details for the file psgcompiler-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: psgcompiler-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 15.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.0 pkginfo/1.4.2 requests/2.26.0 requests-toolbelt/0.8.0 tqdm/4.62.0 CPython/3.6.2

File hashes

Hashes for psgcompiler-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 53dd1047b8a8f250ff90cd18006faa9232105e81108235f0d636d413881ccc7d
MD5 b5613c23abcd19d10c0daab95f1a9710
BLAKE2b-256 4d8e50159f5e519ec7155124334f87138844c73f1d4bbe8d8c3caec6de2817f0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page