A group of widgets showing the Python logos, that can easily be added to your Python GUI code!
Project description
Python Logo Widgets
A group of widgets showing the Python logos, that can easily be added to your Python GUI code!
Key Features • Download • How To Use • Support • Contributing • Changelog • Credits & Contributors
Key Features
- High quality images.
- Easy to integrate into a
Tkinter
GUI project. - Available as code or as a function.
- Built-in samples.
- Cross platform.
Download
You can download the source code to run the script from the command line on Windows, macOS and Linux or add the images to your project. This will require Python.
You can download the latest executable version of Python Logo Widgets for Windows. This does not require Python.
How To Use
To clone and run this application, you'll need Git and Python installed on your computer. If you would rather not use Git, you can just download the code from GitHub above. From your command line:
# Clone this repository
$ git clone https://github.com/willtheorangeguy/Python-Logo-Widgets.git
# Go into the repository
$ cd Python-Logo-Widgets
# Run the samples
$ python main.py
To add the widgets to your project, just import the code files! Follow these instructions:
- Copy the
logo_widget.py
,python_powered_length_widget.py
,python_powered_width_widget.py
files, andlogos
folder to your project. - Import each of the widgets (and
Tkinter
) into your project:
# Import Statements
from tkinter import *
from logo_widget import *
from python_powered_length_widget import *
from python_powered_width_widget import *
- Call each of the respective widgets:
Python Logo | Python Powered Length | Python Powered Width |
---|---|---|
logo() |
python_powered_length() |
python_powered_width() |
- Save and run the file (
F5
). You're all set!
Support
If you want to save program space, you do not need to copy all of the code and image files, or import all of the widgets into your application. The following table describes the required resources for each widget:
Python Logo | Python Powered Length | Python Powered Width | |
---|---|---|---|
Image | pythonlogogif |
pythonpoweredlengthgif |
pythonpoweredwidthgif |
File | logo_widget |
python_powered_length_widget |
python_powered_width_widget |
Function | logo() |
python_powered_length() |
python_powered_width() |
Copy and import only the files that are necessary for the widget your project requires.
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.
Contributing
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.
Changelog
See the CHANGELOG
file for details.
Credits
This software uses the following open source packages, projects, services or websites:
GitHub | Python Software Foundation | PyInstaller |
Web - Plans | Web - Donate | Web - Donate |
Contributors
- @willtheorangeguy - Sponsor on PayPal
You may also like...
- Running Calculator - A running speed calculator for any unit of distance.
- PyWorkout - A minimal CLI to keep you inspired during your workout!
- 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 - see the LICENSE
file for details. See the Privacy Policy and Terms and Conditions for legal information.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for Python-Logo-Widgets-2.2.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2fad5ab472e51f36cc091cd6ac77408bc3861dbdad42d457a756226ecd594eb |
|
MD5 | 1e20733e641ab72686aa3f0730459cdc |
|
BLAKE2b-256 | 3d1dde7044ecae79c566e65ba03beba8518d85761173b79d1f881fda3711b1fc |
Hashes for Python_Logo_Widgets-2.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c0abee68c342a825f42193230e322f0f73e77f0ff58da650ae77ed1284f3b1f |
|
MD5 | eb2a4d9b94ec3f3efd6ecba53958dec4 |
|
BLAKE2b-256 | eb21c13aa0482ea72818c2875cd9ab58f90d1580d74b1fc8f1c50a07386088d1 |