Tkinter Helper
A module to display some customized tkinter modules.
Getting Started
You may download this project directly from GitHub, or you may use Python's package manager(pip).
Prerequisites
Please see requirements.txt for prerequisites.
Installing
Use pip to install this library.
pip install tkhelper
Running the tests
Doctests and unit tests can be run.
Running doctests
Use python doctest.
python -m doctest tkhelper\widgets.py tkhelper\progressbars\circular.py
Running unit tests
Unit tests still in development.
Example Usage
import tkinter as tk
from tkhelper.widgets import ResizableLabel, ResizableButton
from tkhelper.progressbars.circular import TransparentSpinnerBar, SpinnerLoadingBar
root = tk.Tk()
circular_bar = TransparentSpinnerBar(root, kind=SpinnerLoadingBar)
def start_bar():
circular_bar.start()
resizable_button.config(
command=stop_bar,
text="Click the button to stop the circular loading bar"
)
def stop_bar():
circular_bar.stop()
resizable_button.config(
command=start_bar,
text="Click the button to run the circular loading bar"
)
resizable_label = ResizableLabel(
root, text="Example resizable label",
weight=0.9, resize=True
)
resizable_label.grid()
resizable_button = ResizableButton(
root, text="Click the button to run the circular loading bar",
weight=0.5, resize=True, command=start_bar
)
resizable_button.grid()
root.geometry("500x500")
root.mainloop()
Version Info
Version 1.0.0.
Authors
- Erdogan Onal - Owner - Erdogan Onal
License
This project is licensed under the MIT License - see the LICENSE file for details
Metadata
Release files for tkhelper 2.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tkhelper-2.1.1.tar.gz | 24.4 kB | Without provenance | Details for tkhelper-2.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tkhelper-2.1.1-py3-none-any.whl | Python 3 | none | any | Details for tkhelper-2.1.1-py3-none-any.whl |
Total release size: 48.8 kB
Release files / tkhelper-2.1.1.tar.gz
| Download URL | tkhelper-2.1.1.tar.gz |
|---|---|
| Size | 24.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f6b00b1e0a7f9256523d6f3427c90ef6761488ceb23900ba91e7777b9bc7dd6c
|
|
BLAKE2b-256 checksum How to use checksums |
88c285c574681b6ab48603b0ed210f08b019229b1de8128c6dd5d6162531b7e0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.10.11
|
Release files / tkhelper-2.1.1-py3-none-any.whl
| Download URL | tkhelper-2.1.1-py3-none-any.whl |
|---|---|
| Size | 24.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0f714f74024f6e27ae00713559e977f1adbd810f5e6bb2b7395ad0e9405a7d26
|
|
BLAKE2b-256 checksum How to use checksums |
70d65a4c1f2755ce0badb95736a7c7d8e620c23e81e5772cafb9a60e6cbdd37e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.10.11
|
Security for tkhelper 2.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.