Skip to content

A simple tk GUI wrapper for Python, that enables clean and concise instructions to define the layout and contents of a GUI.

License

Notifications You must be signed in to change notification settings

MalteHerrmann/easy-toolkit

Repository files navigation

easytk

A simple API wrapper to create functional tkinter GUIs using only a few lines.

Since this is only using tkinter, which comes built-in with many Python installations, it can be run from within different environments that may restrict the use of other GUI libraries, e.g. within the Python REPL of software like Blender.

Examples

  1. Simple selection from a list
import easytk

values = [1, 2, 3]
selected_item = easytk.select(values, title='Please select the desired value: ')
  1. Ask user for a boolean value
import easytk

true_or_false = easytk.ask_yes_no("Pose a question here.")

Dev Environment

You can access the dev environment using Nix flakes:

nix develop

This will install the dependencies and open a shell with the necessary environment variables set.

About

A simple tk GUI wrapper for Python, that enables clean and concise instructions to define the layout and contents of a GUI.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published