Skip to main content

A port of PySimpleGUI that runs in a web browser. Utilizes Remi as the GUI framework

Project description

pysimplegui_logo

Downloads]

Awesome Meter

Python Version

Python Version

PySimpleGUIWeb

PySimpleGUI running in your web browser

Primary PySimpleGUI Documentation

To get instructions on how use PySimpleGUI's APIs, please reference the main documentation. This Readme is for information specific to the Web port of PySimpleGUI.

What is PySimpleGUIWeb?

PySimpleGUIWeb enables you to run your PySimpleGUI programs in your web browser. It utilizes a package called Remi to achieve this amazing package.

At the moment (22-Jan-2019) the port has barely begun but it's far enough along to see that it's going to work. The Text, Input Text and Button elements are "functional". You can run simple PySimpleGUI programs and they actually WORK correctly.

Engineering Pre-Release Version 0.2.0

Announcements of Latest Developments

Having trouble? Visit the GitHub site and log an Issue.

Installation

Installation is quite simple:

pip install pysimpleguiweb

Should this not work, you can copy and paste the file PySimpleGUIWeb.py into your application folder.

Using

There are a lot of examples in the PySimpleGUI 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 PySimpleGUIWeb you need to import it: import PySimpleGUIWeb as sg

From there follow the code examples in the Coookbook and the Demo Programs. The only difference in those programs is the import statement. The remainder of the code should work without modification.

Requirements

PySimpleGUIWeb is based on the Remi project. You will need to install Remi prior to running PySimpleGUIWeb:

pip install remi

You can learn more about Remi on its homepage.

https://github.com/dddomodossola/remi

PySimpleGUIWeb runs only on Python 3. Legacy Python is not supported.

What Works

  • Text Element
  • Input Text Element
  • Button Element

Release Notes:

0.1.0 PySimpleGUIWeb 22-Jan-2019

  • Initial release
  • Text Element
  • Input Text Element
  • Button Element
  • Window class

0.2.0 PySimpleGUIWeb 23-Jan-2019

Day 2 of development brings fonts, sizes, and colors...

  • For all elements (Text, Input Text, Button):
    • Font family
    • Font size
    • Text Color
    • Background Color
    • Disable
    • Size
  • Button Color
  • Read timeouts (zero, non-zero, None/pend)
  • Window close
  • Window background color

Design

Author

Mike B.

License

GNU Lesser General Public License (LGPL 3) +

Acknowledgments

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

PySimpleGUIWeb-0.2.1.tar.gz (53.1 kB view details)

Uploaded Source

Built Distribution

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

PySimpleGUIWeb-0.2.1-py3-none-any.whl (52.5 kB view details)

Uploaded Python 3

File details

Details for the file PySimpleGUIWeb-0.2.1.tar.gz.

File metadata

  • Download URL: PySimpleGUIWeb-0.2.1.tar.gz
  • Upload date:
  • Size: 53.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.19.2 CPython/3.6.2

File hashes

Hashes for PySimpleGUIWeb-0.2.1.tar.gz
Algorithm Hash digest
SHA256 b2886effd6f969c3a1c4663b006703b8c31aec8e34fa3bd083c6d8316b4a336b
MD5 c0ee6d43f9a8ef67f35660565bb6331e
BLAKE2b-256 ce05521742695cac0d99fce1761194df5509d28bfbbdf509ed4855661191ddeb

See more details on using hashes here.

File details

Details for the file PySimpleGUIWeb-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: PySimpleGUIWeb-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 52.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.19.2 CPython/3.6.2

File hashes

Hashes for PySimpleGUIWeb-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7f92ad70f885764eb137310b6cb63e0ecb93d9bce5c91813dcf0997d2fe67ac8
MD5 e14d54e2ea001bfddbe15c8238bea1d0
BLAKE2b-256 cc71515507bf397fcee25e67f0a29347a0dbd83ec1e321e4119f639361e01a3e

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