Skip to content

Python Logo Widgets
Python Logo Widgets

Drop-in Tkinter widgets for the Python logo and the "Python Powered" badges.

GitHub Version GitHub Issues GitHub Pull Requests License

Key FeaturesInstallationUsageDocumentationSupportContributingCreditsLicense

Python Logo Widget Python Powered Height Widget Python Powered Width Widget

Key Features

  • Three embeddable tkinter.Frame subclasses — 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.

Installation

pip install Python-Logo-Widgets

Usage

import 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.

Documentation

Full documentation lives in docs/: Quickstart · Installation · Configuration · Architecture · API · Development · FAQ · Troubleshooting · Roadmap

Support

Open a GitHub Discussion, file an issue, or join the Discord.

Contributing

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.

Credits

This software uses the following open source packages, projects, services or websites:

GitHub PSF PyInstaller
GitHub Python Software Foundation PyInstaller
Web - Plans Web - Donate Web - Donate

Sponsor @willtheorangeguy on PayPal.

License

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.

Privacy Policy · Terms and Conditions

About

A group of widgets showing the Python logos, that can easily be added to your Python GUI code!

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

5 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Used by

Contributors

Languages