Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kkpyui-0.29.9.tar.gz (787.1 kB view hashes)

Uploaded Source

Built Distribution

kkpyui-0.29.9-py3-none-any.whl (837.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page