Skip to main content

TkEasyGUI is Easy and Simple GUI Library

Project description

TkEasyGUI

TkEasyGUI is a Python library that allows for the easy and simple creation of GUI applications. In the event model, it is compatible with the well-known GUI library PySimpleGUI.

Python's standard UI library Tkinter, is often considered to have a high barrier to entry and to be difficult to use. By using this library, you can create GUI applications easily and intuitively.

Install

Install from pypi

python -m pip install tkeasygui

Install from GitHub Repository

python -m pip install git+https://github.com/kujirahand/tkeasygui-python

How to use

To create a simple window with only labels and buttons, you would write as follows:

import tkeasygui as eg

# Create window
layout = [
    [eg.Text("Hello, World!")],
    [eg.Button("OK")]
]
window = eg.Window("Hello", layout=layout)

# Event loop
while window.is_alive():
    # get event
    event, values = window.read()
    # check event
    if event == "OK":
        eg.popup("Pushed OK Button")
        break
window.close()

Samples

Documents

Regarding the relationship with PySimpleGUI

This was developed with reference to PySimpleGUI, but has been re-implemented from scratch. While its usage is similar to PySimpleGUI, it has been expanded with unique features.

Link

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

tkeasygui-0.2.1.tar.gz (16.1 kB view details)

Uploaded Source

Built Distribution

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

tkeasygui-0.2.1-py3-none-any.whl (15.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tkeasygui-0.2.1.tar.gz
  • Upload date:
  • Size: 16.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.0

File hashes

Hashes for tkeasygui-0.2.1.tar.gz
Algorithm Hash digest
SHA256 0402c44f96ab70999f8dd79af06ef0ab120992a46c746b1fc2db3fc455074b10
MD5 412723836ffb15c7b4b154d9fd254488
BLAKE2b-256 e5ae6bea6f943b7f73c8cc7e74ea90af53b059aec477512cb287d388c79c5ebf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tkeasygui-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 15.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.0

File hashes

Hashes for tkeasygui-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7edfa60d882cdd9348f085f8a642c35827643425cf92de02903fda42ce211410
MD5 b0d7ef54d4ca2e4f50f312fca47cb7a9
BLAKE2b-256 29dcb6b6696d8c896c4bca85545413ffc28207b66f90ab080b1398458a499684

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