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.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.2.0.tar.gz (17.2 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.2.0-py3-none-any.whl (15.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: psgcompiler-1.2.0.tar.gz
  • Upload date:
  • Size: 17.2 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.2.0.tar.gz
Algorithm Hash digest
SHA256 3a6b94454378d2950c5ebdf4e3c7e0531429cc4c3c8b4622cc8e6c688b4999d0
MD5 4224093dc1c3dd6ace4c281587ab8d76
BLAKE2b-256 4080f17ec9445935cd87d15950587802c9b2cf5a08c4df7432ce1e48c2c8e8df

See more details on using hashes here.

File details

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

File metadata

  • Download URL: psgcompiler-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 15.5 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d6063a5be89b5c3603b97842ec3174731886b56a2657e02bb11120e99adbf6a1
MD5 3f631392f1df9043773a643ad9d5096c
BLAKE2b-256 bd3593649adb04f0618a8167c4fc77a5c20fe19b892cebca942e795687def018

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