Key Features • Installation • Usage • Documentation • Support • Contributing • Credits • License
tkinter.Frame subclasses — put them straight into your own windows.importlib.resources, so they work however you install it.pip install Python-Logo-Widgets
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.
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 | </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)