Skip to main content

Tkinter-based GUI widget library for small tools

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.33.0.tar.gz (1.9 MB view details)

Uploaded Source

Built Distribution

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

kkpyui-0.33.0-py3-none-any.whl (2.0 MB view details)

Uploaded Python 3

File details

Details for the file kkpyui-0.33.0.tar.gz.

File metadata

  • Download URL: kkpyui-0.33.0.tar.gz
  • Upload date:
  • Size: 1.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.0 CPython/3.11.3 Darwin/24.3.0

File hashes

Hashes for kkpyui-0.33.0.tar.gz
Algorithm Hash digest
SHA256 580eb63149a72598aca61086cffc92032a18cc104f6e02bc106e69d963e5bd7b
MD5 72b9e1d26700a1ce1e2956bfbb38346a
BLAKE2b-256 82a9e08f1166a9198ce279347ed15456088ba54853b50e0e35b757438feb70db

See more details on using hashes here.

File details

Details for the file kkpyui-0.33.0-py3-none-any.whl.

File metadata

  • Download URL: kkpyui-0.33.0-py3-none-any.whl
  • Upload date:
  • Size: 2.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.0 CPython/3.11.3 Darwin/24.3.0

File hashes

Hashes for kkpyui-0.33.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c472871b135183e30ff3e791369a828994db23c4a2511f74bcd4559da60472ba
MD5 57493768393117bbc5e78b0009e74f77
BLAKE2b-256 b23e63ae136df10b8083394f96216046aaca6980270421978e5f1fe5458d882b

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