Python-Awthemes
This project is a port of the tcl-awthemes from Tcl/Tk to Python. AWThemes is a library that provides attractive themes for Tcl/Tk, and now these rich and appealing themes can be utilized in Python’s Tkinter applications. This port allows Python developers to create GUI applications with a modern and appealing look more easily.
Install
Install from PyPI
Python-Awthemes is available in PyPI.
pip install python-awthemes
alternatively, add this to your requirements.txt file:
python-awthemes
Install from GitHub
pip install git+https://github.com/undecV/python-awthemes
alternatively, add this to your requirements.txt file:
python-awthemes @ git+https://github.com/undecV/python-awthemes.git@main
Useage
from awthemes import AwthemesStyle
root = tk.Tk()
# Load AwthemesStyle for your Tk root.
style = AwthemesStyle(root)
# Get all avaliable themes.
themes = style.theme_names()
# Set the theme.
style.theme_use("awdark")
Development Remark
- Tested for compatibility with
pygubuandpygubu-designer. - Tested for compatibility with
pyinstaller(with argumet--collect-all "awthemes"). - Tested for compatibility with
ttkwidgets.
Reference
- Tcler's Wiki: awthemes
- SourceForge: tcl-awthemes (License: Zlib)
- GitHub: ttkthemes (License: GPL-3.0)
- PyPi: types-ttkthemes (License: Apache)
- PyPi: ttkthemes2 (License: MIT)
Release files for python-awthemes 0.2.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 | |
|---|---|---|---|
| python_awthemes-0.2.1.tar.gz | 110.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| python_awthemes-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 522.1 kB
Release files / python_awthemes-0.2.1.tar.gz
| Download URL | python_awthemes-0.2.1.tar.gz |
|---|---|
| Size | 110.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6d877474dce52dd46a11ca14288d66bf667ab03d7c7b1a6bee6eda96c76ee4b0
|
|
BLAKE2b-256 checksum How to use checksums |
065d148025fdbe35b112171cda82b0fa7fa2f5f3da4d55bd0d69b2ba0c9b87fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.20
|
Release files / python_awthemes-0.2.1-py3-none-any.whl
| Download URL | python_awthemes-0.2.1-py3-none-any.whl |
|---|---|
| Size | 411.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fffe1571423a6aeb5fd62d377dfa0a9e455559e70f4ff9a29359e865ee392d73
|
|
BLAKE2b-256 checksum How to use checksums |
8dbb2ec8beeb61aaff87e580e6ed1c6560f9aedb738fd8470ec24ec809f63089
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.20
|