A Single Page Application framework for Tkinter
Project description
tkinter_spa
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
License
tkinter_spa is licensed under the MIT License, which permits use, copying, modification, and distribution.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d1bfcea7ddce88c35edf4872f65432b2a96807225e57708c1fac4b6de85cd55b
|
|
| MD5 |
c192294cc0047600e413ac443c7cee10
|
|
| BLAKE2b-256 |
daa1c1d8f10628490fd4a549c44b7b76c8efa6468c07445cd7bc061adb4b8c6e
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
97a4d40ec9caa87ab3123e3200147d7663f6eb175815acd6f61e36f9ba7e3553
|
|
| MD5 |
4468568dce9a95e160954f5fb5628a4d
|
|
| BLAKE2b-256 |
cecfbd1ddf76ca4325f4724a0bc67e437acbfc56064f671b1630fb82bf3b3474
|