The free-forever Python GUI framework.
Project description
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) +
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
File details
Details for the file FreeSimpleGUIWeb-1.0.0.tar.gz
.
File metadata
- Download URL: FreeSimpleGUIWeb-1.0.0.tar.gz
- Upload date:
- Size: 73.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3543d9b1ad470cabb9b8532397a9b3412fc6756a1b3883ba6fb923780acfecf5 |
|
MD5 | f30fa594fe29b20f618476bb6cda0dcf |
|
BLAKE2b-256 | 443aac834cb1ddf2f2e449c25ed592310e707cf62da19f0d9b5a69a936456856 |
File details
Details for the file FreeSimpleGUIWeb-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: FreeSimpleGUIWeb-1.0.0-py3-none-any.whl
- Upload date:
- Size: 72.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d13387cecbed6815c98ba6b4d5c3280d5aef58ed6447061076b6a3e5a6a53c9d |
|
MD5 | 51ea2ecd7db7b50d2e3294cdd6e990a8 |
|
BLAKE2b-256 | adeedebd831b7cc5c9b3009b3bc2d89e271ae44f4afa7c2a8f90fea1678dac49 |