Key Features • Installation • Usage • Documentation • Support • Contributing • Credits • License
- Three embeddable
tkinter.Framesubclasses — put them straight into your own windows. - Images bundled with the package and resolved through
importlib.resources, so they work however you install it. - Each widget keeps its own image reference, so nothing renders blank.
- A standalone demo, and backward-compatible wrappers for the original function API.
- Pure standard library — Tkinter only.
- Cross-platform.
pip install Python-Logo-Widgetsimport tkinter as tk
from python_logo_widgets import LogoWidget, PoweredByWidthWidget
root = tk.Tk()
LogoWidget(root, bg="white").pack(pady=10)
PoweredByWidthWidget(root).pack(side=tk.BOTTOM)
root.mainloop()| Widget | Image |
|---|---|
LogoWidget |
The Python logo |
PoweredByLengthWidget |
"Python Powered", tall |
PoweredByWidthWidget |
"Python Powered", wide |
Each takes a parent and an optional bg (default "black"). Demo: python-logo-widgets or python -m python_logo_widgets.
Full documentation lives in docs/:
Quickstart · Installation · Configuration · Architecture · API · Development · FAQ · Troubleshooting · Roadmap
Open a GitHub Discussion, file an issue, or join the Discord.
Please contribute using GitHub Flow. Create a branch, add commits, and open a pull request.
See the org-wide Contributing Guide and Code of Conduct.
This software uses the following open source packages, projects, services or websites:
| GitHub | Python Software Foundation | PyInstaller |
| Web - Plans | Web - Donate | Web - Donate |
Sponsor @willtheorangeguy on PayPal.
The code in this repository is licensed under the GNU General Public License v3 — see LICENSE.md.
⚠️ The bundled images are not covered by that licence. The Python logo and the "Python Powered" badges are copyright and trademarks of the Python Software Foundation. They are included here under the PSF's Trademark Usage Policy, which is what governs their use — not the GPL.In practice: displaying the badges to show your software is built with Python is the use the PSF intends and this package makes convenient. Modifying the marks, or redistributing altered versions, is not permitted, whatever rights the GPL would otherwise grant over files in this repository.