Skip to main content

A Single Page Application framework for Tkinter

Project description

tkinter_spa

pipeline status coverage report

tkinter_spa stands for Tkinter (as a) Single Page Application. It is a micro-framework created to ease the development of tkinter application by following single page application approach. The single page application concept consists to have an element acting as a placeholder for contents. The contents are rendered and updated following the user interaction with the interface.

In web application, the application loads a single web document whose body is updated with html pages created from templates or components.

In tkinter_spa the application loads a tk.Tk instance, which is the main window of a standard tkinter application, that is updated with tkinter widgets.

The magic happens thanks to the interaction between View and MainFrame classes.

Regarding testings, tkinter_spa provides the Surveyor, a tool that can interact with any tkinter applications by following a user journey scenario in the form of a list of instructions.

Installation

pip install tkinter-spa

Usage

For a quick grasp on what tkinter_spa do and how to use it, check the quickstart.

Interested in testing the GUI of your tkinter application? Check how it's done with tkinter_spa.

Links

Documentation

License

tkinter_spa is licensed under the MIT License, which permits use, copying, modification, and distribution.

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

tkinter_spa-1.0.0.tar.gz (168.5 kB view details)

Uploaded Source

Built Distribution

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

tkinter_spa-1.0.0-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

Details for the file tkinter_spa-1.0.0.tar.gz.

File metadata

  • Download URL: tkinter_spa-1.0.0.tar.gz
  • Upload date:
  • Size: 168.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.11.13

File hashes

Hashes for tkinter_spa-1.0.0.tar.gz
Algorithm Hash digest
SHA256 d1bfcea7ddce88c35edf4872f65432b2a96807225e57708c1fac4b6de85cd55b
MD5 c192294cc0047600e413ac443c7cee10
BLAKE2b-256 daa1c1d8f10628490fd4a549c44b7b76c8efa6468c07445cd7bc061adb4b8c6e

See more details on using hashes here.

File details

Details for the file tkinter_spa-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: tkinter_spa-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 10.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.11.13

File hashes

Hashes for tkinter_spa-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 97a4d40ec9caa87ab3123e3200147d7663f6eb175815acd6f61e36f9ba7e3553
MD5 4468568dce9a95e160954f5fb5628a4d
BLAKE2b-256 cecfbd1ddf76ca4325f4724a0bc67e437acbfc56064f671b1630fb82bf3b3474

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