Skip to main content

psggadgets

A PySimpleGUI Application

Rainmeter-like Widgets for your desktop using the easy to use PySimpleGUI package

Features

  • Run PySimpleGUI programs "in the background" by removing the titlebar
  • No icon is shown on the taskbar
  • Easily keep tabs on system resources at a glance
  • Dozens of meters, including psutils, weather, and more

Installation

Using PIP with PyPI

The latest official release of PySimpleGUI products can be found on PyPI. To pip install the demo applications from PyPI, use this command

If you use the command python on your computer to invoke Python (Windows):

pip install --upgrade psggadgets

If you use the command python3 on your computer to invoke Python (Linux, Mac):

pip3 install --upgrade psggadgets

Using PIP with GitHub

You can also pip install the PySimpleGUI Applications that are in the PySimpleGUI GitHub account. The GitHub versions have bug fixes and new programs/features that have not yet been released to PyPI. To directly pip install from that repo:

If you use the command python on your computer to invoke Python (Windows):

python -m pip install --upgrade https://github.com/PySimpleGUI/psggadgets/zipball/main

If you use the command python3 on your computer to invoke Python (Linux, Mac):

python3 -m pip install --upgrade https://github.com/PySimpleGUI/psggadgets/zipball/main

Usage

Once installed, launch psggadgets by typing the following in your command line:

psggadgets

System Status Dashboard

Displays some stats found via the psutil package (required)

System Status Dashboard

This is one of the older programs. Hopefully the coding conventions are up to date.

It uses a class to define the individual graphs which is likely a great way to have done it. It's worth a look to see if it gives you some ideas. Only recently re-discovered.


Weather - Current Weather Conditions

You will need to obtain an API key (APPID) from https://home.openweathermap.org/ in order to run this Widget.

Change the colors to any of the PySimpleGUI Themes.

Your key and location are saved in a config file (.CFG). Any time you change the key or the location it will be saved in your config file.

SNAG-0649


CPU Core Usage

This one uses psutil to graph the CPU time used by each of your CPU's cores.

PSG CPU Cores Scrolling


Top CPU Usage Processes

Another psutil based Widget.

Adjust how often you want the widget to refresh using the spinner.

image


Disk Drive Usage

Another one based on psutil. The Windows version works well, however the partition stats returned on Linux don't have values populated to determine the stats. Maybe it works differently on Linux? They come out to all 0's on Linux (sorry Linux users)

Changing the theme will instantly give you a different text and background color, but it is not what is used to determine the bar colors. Those are created from a simple list of colors defined at the top. It's the same color combination used in the CPU core usage, so those 2 widgets match. Feel free to replace with your own color scheme.

Standard black color theme

image

A dark green

SNAG-0831

A light green

SNAG-0830

One of the grays

SNAG-0829

The default alpha value is .7 which is why these images' colors are muted. This is what no transparency (alpha 1.0) with a black theme looks like:

image

To exit click the "X" at the bottom. Kept the interface super minimal by not using buttons, but instead simple clickable Text.


RAM Used

Another psutil based widget.

It's a simple square that is shaded to represent the amount of RAM being used. The percent used and the number of bytes used is then shown in text on top of the shaded bar.

Clicking the bottom left corner will allow you to exit. There's a text X there, but it's the lower 20x20 pixel area that's actually being watched.

The color scheme is based on the chosen theme's button color. The background color for the window is the theme's background color. The filled portion is the theme's button background color and the text is the theme's button text color.

SNAG-0835 SNAG-0834

Copyright 2023-2024 PySimpleSoft, Inc. and/or its licensors.

This is a free-to-use "Utility" and is licensed under the PySimpleGUI License Agreement, a copy of which is included in the license.txt file and also available at https://pysimplegui.com/eula.

Please see Section 1.2 of the license regarding the use of this Utility, and see https://pysimplegui.com/faq for any questions.

Contributing

We are happy to receive issues describing bug reports and feature requests! If your bug report relates to a security vulnerability, please do not file a public issue, and please instead reach out to us at issues@PySimpleGUI.com.

We do not accept (and do not wish to receive) contributions of user-created or third-party code, including patches, pull requests, or code snippets incorporated into submitted issues. Please do not send us any such code! Bug reports and feature requests should not include any source code.

If you nonetheless submit any user-created or third-party code to us, (1) you assign to us all rights and title in or relating to the code; and (2) to the extent any such assignment is not fully effective, you hereby grant to us a royalty-free, perpetual, irrevocable, worldwide, unlimited, sublicensable, transferrable license under all intellectual property rights embodied therein or relating thereto, to exploit the code in any manner we choose, including to incorporate the code into PySimpleGUI and to redistribute it under any terms at our discretion.

Metadata

Release files for psggadgets 5.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for psggadgets 5.0.0
File Size Uploaded
psggadgets-5.0.0.tar.gz 566.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for psggadgets 5.0.0
File Interpreter ABI Platform
psggadgets-5.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 1.1 MB

Release files / psggadgets-5.0.0.tar.gz

Download URL psggadgets-5.0.0.tar.gz
Size 566.2 kB
Tags Source
SHA-256 checksum
How to use checksums
e4817edbb27da59bd1fb9d01b4d78d104b581849c6669c3021246023b326627b
BLAKE2b-256 checksum
How to use checksums
56b9cc42909cfb586ddb2e21d78c03f3500d69e0d3cfb25ec66a46039189d1be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.11

Release files / psggadgets-5.0.0-py3-none-any.whl

Download URL psggadgets-5.0.0-py3-none-any.whl
Size 567.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
202bea393ff99f5c408cff8e0b3b094f0c326b5ebe3941f92c0ea1d42b3cbe25
BLAKE2b-256 checksum
How to use checksums
bd86e4aebdd26dbd20688e656eeef29573d04cbc4c36dad3c04a2ce30a1e57a1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.11

Release history Release notifications | RSS feed

This release

5.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page