{"id":17913533,"url":"https://github.com/pysimplegui/psgcompiler","last_synced_at":"2025-03-23T23:30:40.111Z","repository":{"id":224554690,"uuid":"763571296","full_name":"PySimpleGUI/psgcompiler","owner":"PySimpleGUI","description":"A simple, easy to use tool that is a front-end to PyInstaller created with PySimpleGUI to convert your Python programs to executables.","archived":false,"fork":false,"pushed_at":"2024-02-26T14:46:50.000Z","size":114,"stargazers_count":10,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-19T00:16:58.363Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PySimpleGUI.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-02-26T14:45:03.000Z","updated_at":"2024-12-21T01:58:26.000Z","dependencies_parsed_at":"2024-02-26T16:09:35.800Z","dependency_job_id":null,"html_url":"https://github.com/PySimpleGUI/psgcompiler","commit_stats":{"total_commits":15,"total_committers":3,"mean_commits":5.0,"dds":0.4,"last_synced_commit":"46d9761e3e8659d91c10ba7e78bebde1fa80e083"},"previous_names":["pysimplegui/psgcompiler"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PySimpleGUI%2Fpsgcompiler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PySimpleGUI%2Fpsgcompiler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PySimpleGUI%2Fpsgcompiler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PySimpleGUI%2Fpsgcompiler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PySimpleGUI","download_url":"https://codeload.github.com/PySimpleGUI/psgcompiler/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245186407,"owners_count":20574550,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-28T19:52:27.297Z","updated_at":"2025-03-23T23:30:39.699Z","avatar_url":"https://github.com/PySimpleGUI.png","language":"Python","readme":"\u003cp align=\"center\"\u003e\n  \u003cp align=\"center\"\u003e\u003cimg width=\"238\" height=\"135\" src=\"https://pysimplegui.net/images/logos/psglogofull.svg\"\u003e\u003cp\u003e\n\n  \u003ch2 align=\"center\"\u003epsgcompiler\u003c/h2\u003e\n  \u003ch2 align=\"center\"\u003eA PySimpleGUI Application\u003c/h2\u003e\n\u003c/p\u003e\n\nPySimpleGUI \"Compiler\"\n\n\"Compile\" your Python programs into a Windows EXE, a Mac APP, and a Linux binary!\n\nAdds a user-friendly GUI to the popular PyInstaller python package\n\n\u003cp align=\"center\"\u003e\u003cimg width=\"531\" height=\"492\" src=\"screenshot.jpg\"\u003e\u003cp\u003e\n\n\n\n\n\n\n\n\n\n\n\n## Features\n\n* Creates single file distribution files for Windows, Mac, and Linux\n* PySimpleGUI front end for PyInstaller\n* All the capabilities of PyInstaller with the ease of a GUI\n\n\n## Installation\n\n### Using PIP with PyPI\n\nThe latest official release of PySimpleGUI products can be found on PyPI.  To pip install the demo applications from PyPI, use this command\n\n#### If you use the command `python` on your computer to invoke Python (Windows):\n\n`python -m pip install --upgrade psgcompiler`\n\n#### If you use the command `python3` on your computer to invoke Python (Linux, Mac):\n\n`python3 -m pip install --upgrade psgcompiler`\n\n### Using PIP with GitHub\n\nYou can also pip install the PySimpleGUI Applications that are in the PySimpleGUI GitHub account.  The GitHub versions have bug fixes and new programs/features that have not yet been released to PyPI. To directly pip install from that repo:\n\n#### If you use the command `python` on your computer to invoke Python (Windows):\n\n```bash\npython -m pip install --upgrade https://github.com/PySimpleGUI/psgcompiler/zipball/main\n```\n\n#### If you use the command `python3` on your computer to invoke Python (Linux, Mac):\n\n```bash\npython3 -m pip install --upgrade https://github.com/PySimpleGUI/psgcompiler/zipball/main\n```\n\n\n## Usage\n\nOnce installed, launch psgcompiler by typing the following in your command line:\n\n`psgcompiler`\n\n## `PyInstaller` Back-end with a `PySimpleGUI` Front-end\n\nThe plan for `psgcompiler` is to provide a GUI interface for a number of the tools available to convert a Python program into a binary executable.  PyInstaller was chosen as the first back-end tool that does the heavy-lifting of converting your code into a binary executable.  The next one being added is `cx_freeze`.\n\n`psgcompiler` collects the options that are assembled into the command that can then be run for you by launching a subprocess.  You will see the command being built as you add or remove items using the GUI.  You can run PyInstaller manually using the options shown in the \"Command\" box.  Type `pyinstaller` on the command line and paste the text you see under \"Command\" in the Home tab of the psgcompiler program. \n\n\nPyInstaller 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.\n\nPySimpleGUI users in particular will greatly benefit from `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. One-file is the default setting.  After converting, you'll be left with a single EXE file.\n\n## A Multitude Of Options\n\n`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.\n\n## Simple Interface, Complex Settings\n\nWhile `psgcompiler` makes it easy to specify the many options available for PyInstaller, it doesn't remove the complexity that comes with using PyInstaller.\n\nPlease refer to the **[PyInstaller documentation](https://pyinstaller.readthedocs.io/en/stable/)** to better understand the available options.  It can be tricky to convert some programs, particularly if you're using other Python packages in addition to PySimpleGUI.\n\n## All Python Programs Welcomed...\n\nYour Python program doesn't have to use PySimpleGUI in order to use the `psgcompiler` tool.  PySimpleGUI is being used to give you a GUI front-end to PyInstaller.  There is no requirement that your program use PySimpleGUI.\n\n\n## Troubleshooting PyInstaller Problems\n\nWhen it comes to PyInstaller use, I'm a user of PyInstaller, just as you are.  The PySimpleGUI project isn't populated with PyInstaller experts.  You'll need to use your programming prowess to find answers to problems you may encounter using PyInstaller.\n\nWe're making it easy for you to run PyInstaller, and soon additional similar utilities, but that doesn't mean it's going to be easy overall.\n\nThe PyInstaller documentation is well-written and can be found here:  \nhttps://pyinstaller.readthedocs.io/en/stable/\n\n## A Simple EXE\n\nIf your program is relatively simple, then you only need to supply the name of your Python file, and an optional icon file.\n\nHere is an example session showing only the .pyw file and the .ico file being supplied.  \n\n\n\u003cp align=\"center\"\u003e\u003cp align=\"center\"\u003e\u003cimg width=\"607\" height=\"563\" src=\"screenshot.jpg\"\u003e\u003cp\u003e\u003cp\u003e\n\n\n## Additional Back-ends\n\nCurrently in the works is support for additional back-ends.  `cx_freeze` is up next.\n\n## Create a Shortcut To This Program\n\nIf you're a Windows user, then use the [`psgshortcut` application](https://pypi.org/project/psgshortcut/) 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 `psgcompiler` ever again).\n\n## License \u0026 Copyright\n\nCopyright 2023-2024 PySimpleSoft, Inc. and/or its licensors.\n\nThis is a free-to-use \"Utility\" and is licensed under the\nPySimpleGUI License Agreement, a copy of which is included in the\nlicense.txt file and also available at https://pysimplegui.com/eula.\n\nPlease see Section 1.2 of the license regarding the use of this Utility,\nand see https://pysimplegui.com/faq for any questions.\n\n\n## Contributing\n\nWe are happy to receive issues describing bug reports and feature\nrequests! If your bug report relates to a security vulnerability,\nplease do not file a public issue, and please instead reach out to us\nat issues@PySimpleGUI.com.\n\nWe do not accept (and do not wish to receive) contributions of\nuser-created or third-party code, including patches, pull requests, or\ncode snippets incorporated into submitted issues. Please do not send\nus any such code! Bug reports and feature requests should not include\nany source code.\n\nIf you nonetheless submit any user-created or third-party code to us,\n(1) you assign to us all rights and title in or relating to the code;\nand (2) to the extent any such assignment is not fully effective, you\nhereby grant to us a royalty-free, perpetual, irrevocable, worldwide,\nunlimited, sublicensable, transferrable license under all intellectual\nproperty rights embodied therein or relating thereto, to exploit the\ncode in any manner we choose, including to incorporate the code into\nPySimpleGUI and to redistribute it under any terms at our discretion.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpysimplegui%2Fpsgcompiler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpysimplegui%2Fpsgcompiler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpysimplegui%2Fpsgcompiler/lists"}