FreeSimpleGUIWeb
FreeSimpleGUI running in your web browser!
Your source code will work on tkinter, Qt, WxPython and now in a browser (thanks to Remi)
Primary FreeSimpleGUI Documentation
To get instructions on how use FreeSimpleGUI's APIs, please reference the main documentation. This Readme is for information specific to the Web port of FreeSimpleGUI.
What is FreeSimpleGUIWeb?
FreeSimpleGUIWeb enables you to run your FreeSimpleGUI programs in your web browser. It utilizes a package called Remi to achieve this amazing package.
Installation
Installation is quite simple:
pip install FreeSimpleGUIWeb
Should this not work, you can copy and paste the file FreeSimpleGUIWeb.py into your application folder.
Using FreeSimpleGUIWeb
There are a lot of examples in the FreeSimpleGUI Cookbook as well as on the GitHub site. At the moment very few will work due to the limited number of features of the 0.1.0 release. It shouldn't be too long before they'll work.
To use FreeSimpleGUIWeb you need to import it:
import FreeSimpleGUIWeb as sg
From there follow the code examples in the Cookbook and the Demo Programs. The only difference in those programs is the import statement. The remainder of the code should work without modification.
Requirements
FreeSimpleGUIWeb is based on the Remi project. You will need to install Remi prior to running FreeSimpleGUIWeb:
pip install remi
You can learn more about Remi on its homepage.
https://github.com/dddomodossola/remi
FreeSimpleGUIWeb runs only on Python 3. Legacy Python (2.7) is not supported.
What Works
- Text Element
- Input Text Element
- Button Element
- Combobox Element
- Checkbox Element
- Listbox Element
- Spinner Element (sorta... numbers 0 to 100 only now)
- Column Element
- Image Element
- Multiline Input Element
- Multiline Output Element
- Output Element (redirect STDOUT)
- Graph Element (your canvas to paint on)
- Table Element (yes, tables! even if limited)
- Window background color
- Element padding
- Read with timeout
- Read with timeout = 0
- Popup Windows
- Multiple windows
- Update methods for many of the elements (Text is 100% complete), others have some of their parameters working.
License
GNU Lesser General Public License (LGPL 3) +
Metadata
Release files for FreeSimpleGUIWeb 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| freesimpleguiweb-1.1.0.tar.gz | 72.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| freesimpleguiweb-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 143.2 kB
Release files / freesimpleguiweb-1.1.0.tar.gz
| Download URL | freesimpleguiweb-1.1.0.tar.gz |
|---|---|
| Size | 72.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
610863236b2c8051f11c55b4728ce608de464af31c6e7491f546a01863295e39
|
|
BLAKE2b-256 checksum How to use checksums |
01735ad3640fbb83c54be9100e14961b82f7d0dd0e51b72605dffcc59e49eb33
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 12, 2025.
Transparency logRelease files / freesimpleguiweb-1.1.0-py3-none-any.whl
| Download URL | freesimpleguiweb-1.1.0-py3-none-any.whl |
|---|---|
| Size | 70.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
54b3dd42ee8b3011d8302a3ba0f9c3b1ff6b2d2b015d24e491a53c967921463b
|
|
BLAKE2b-256 checksum How to use checksums |
ee7d82547c560d7f4af6193c8830d6050116328532dcc90e8da6233ad80e0e1d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 12, 2025.
Transparency log