Tkinter-based GUI widget library for building small tool applications
Project description
kkpyui
Tkinter-based GUI widget library for building small tool applications
Motivation
-
Small GUI tools come in handy in experiments and ad-hoc productivity boosts
-
Full-fledged GUI toolkits such as GTK, Qt, web-app frameworks are often too heavy for these purposes
-
Python is my go-to dev language. Its bundled Tkinter (with its
ttk
) in theory is well-suited for small tool development, but it is often criticized for being outdated and too clunky to use; however, it remains attractive for distribution convenience -
This project thus aims to improve the dev experience of Tkinter for developing small tools. The approach is to create a thin wrapper and iron flat some cross-platform glitches, hoping to reduce boilerplates in appplication code
Features
-
A set of building blocks for creating single-page form UI, with built-in data-binding
-
Model-View-Controller architecture
-
Per-entry validation, default value, reset, tracer, and help doc
-
Saving and loading all form entries as presets
Demo
cd /path/to/kkpyui
poetry install
# run form demo
poetry run python demo/form.py
# run controller demo, requireing Csound to be installed and in PATH
poetry run python demo/controller.py
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 kkpyui-0.29.9.tar.gz
.
File metadata
- Download URL: kkpyui-0.29.9.tar.gz
- Upload date:
- Size: 787.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.0 CPython/3.11.3 Darwin/23.4.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92528becec6ff89b96cbe154fe3bcae22360b59748c578ad1bae5145636fddf7 |
|
MD5 | ac14c083c639dbedc8f39181f3e42083 |
|
BLAKE2b-256 | 02e08490957322c15a994c48034c860df610e4f3a76758d7b9d633321c456890 |
File details
Details for the file kkpyui-0.29.9-py3-none-any.whl
.
File metadata
- Download URL: kkpyui-0.29.9-py3-none-any.whl
- Upload date:
- Size: 837.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.0 CPython/3.11.3 Darwin/23.4.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bfdb30fb152526bc0cfda0146dd7befed48f71708fd78fc779a30a10764a5b6b |
|
MD5 | d9b33c1ca6729c3a931bac3f8df5264a |
|
BLAKE2b-256 | dca95b312d4e95ca36fe91d9fb5dc5d7c5ddba33ed463ed7ce5dec30b7518980 |