Key Features • Download • How To Use • Support • Contributing • Changelog • Credits & Contributors
Tkinter GUI project.tkinter.Frame widgets — use them in your own windows.pip.You can download the source code to run the scripts from the command line on Windows, macOS and Linux. This will require Python.
pip install Python-Logo-Widgets
import tkinter as tk
from python_logo_widgets import LogoWidget, PoweredByLengthWidget, PoweredByWidthWidget
root = tk.Tk()
root.title("My App")
# Add any combination of widgets to your window
LogoWidget(root, bg="white").pack(pady=10)
PoweredByWidthWidget(root).pack(side=tk.BOTTOM)
root.mainloop()
Available widgets:
| Widget Class | Image |
|---|---|
LogoWidget |
Python logo |
PoweredByLengthWidget |
“Python Powered” tall badge |
PoweredByWidthWidget |
“Python Powered” wide badge |
Each widget accepts a parent widget and an optional bg parameter (default "black").
# Via the command line entry point
python-logo-widgets
# Or as a module
python -m python_logo_widgets
# Clone this repository
$ git clone https://github.com/willtheorangeguy/Python-Logo-Widgets
# Go into the repository
$ cd Python-Logo-Widgets
# Install in development mode
$ pip install -e .
# Run the demo
$ python -m python_logo_widgets
Customizing the logo and widget sizes can be found in CUSTOMIZATION. Hard-coding the widgets into your project can be found in USAGE. More documentation is available in the Documentation and on the Wiki. If more support is required, please open a GitHub Discussion or join our Discord.
Please contribute using GitHub Flow. Create a branch, add commits, and open a pull request.
Please read CONTRIBUTING for details on our CODE OF CONDUCT, and the process for submitting pull requests to us.
See the CHANGELOG file for details.
This software uses the following open source packages, projects, services or websites:
| GitHub | Python Software Foundation | PyInstaller |
| Web - Plans | Web - Donate | Web - Donate | </table> ## Contributors * [@willtheorangeguy](https://github.com/willtheorangeguy) - Sponsor on [PayPal](https://paypal.me/wvdg44?country.x=CA&locale.x=en_US) ## You may also like... * [Running Calculator](https://github.com/willtheorangeguy/Running-Calculator) - A running speed calculator for any unit of distance. * [PyWorkout](https://github.com/willtheorangeguy/PyWorkout) - A minimal CLI to keep you inspired during your workout! * [PyAvatar](https://github.com/willtheorangeguy/PyAvatar) - Easily display all of your creative avatars to keep them consistent across websites. ## License This project is licensed under the [GNU General Public License](https://www.gnu.org/licenses/gpl-3.0.en.html) - see the [`LICENSE`](/Python-Logo-Widgets/LICENSE.md) file for details. See the [Privacy Policy](https://github.com/willtheorangeguy/Python-Logo-Widgets/blob/master/docs/legal/PRIVACY.md) and [Terms and Conditions](https://github.com/willtheorangeguy/Python-Logo-Widgets/blob/master/docs/legal/TERMS.md) for legal information.