Python-Logo-Widgets

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

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:

</table> Sponsor [@willtheorangeguy](https://github.com/willtheorangeguy) on [PayPal](https://paypal.me/wvdg44?country.x=CA&locale.x=en_US). ## License The **code** in this repository is licensed under the [GNU General Public License v3](https://www.gnu.org/licenses/gpl-3.0.en.html) — see [`LICENSE.md`](/Python-Logo-Widgets/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](https://www.python.org/psf/trademarks/). They are included here under the PSF's [Trademark Usage Policy](https://www.python.org/psf/trademarks/), 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](/Python-Logo-Widgets/docs/legal/privacy.html) · [Terms and Conditions](/Python-Logo-Widgets/docs/legal/terms.html)
GitHub PSF PyInstaller
GitHub Python Software Foundation PyInstaller
Web - Plans Web - Donate Web - Donate