Runs in the system tray, recording and reporting Oklahoma temperatures and storm status
Project description
Tray Weather Tool - Oklahoma Edition
A little utility that can show the temperature and storm status in Oklahoma, currently for Ubuntu machines. This was originally developed in VB.Net and ran well on Windows but now converted to Python, and focused on Ubuntu. I don't think it would take much to run on Windows or Mac, just need to make the tray icon/gtk stuff support across platforms.
Installation
You can install this directly from Pip: pip install TrayWeatherTool-Oklahoma
. This will download and install the
package into your Python installation. Anytime a tag is made on the repo it will build and push a wheel to PyPi, so
you can check there for the latest version number if you want a specific version.
Once in place, you can start the icon using one of two methods:
- A command line script is installed called:
tray_weather_tool
that you can directly execute - You can also use module execution and call it like:
python3 -m tray_weather
Both of these will do the same thing. If you want the icon to start when the system boots, you can add it to your
startup applications, just remember to execute it with the Python you used to install it. Something like:
/path/to/venv/bin/python3 -m tray_weather
.
Development
To debug or develop on this code, download the repo, set up a virtual environment, install dependencies, and run main:
git clone https://github.com/Myoldmopar/TrayWeatherTool
cd TrayWeatherTool
python3 -m venv .venv
. .venv/bin/activate
pip3 install -r requirements.txt
python3 tray_weather/main.py
The code is processed with flake8 for formatting/style. It is also tested with unit tests to get 100% coverage on all the non-GUI lines of code.
Documentation
As of now there are no docs, but it might be nice to make a tiny RTD page for it.
Project details
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
File details
Details for the file trayweathertool_oklahoma-0.6.tar.gz
.
File metadata
- Download URL: trayweathertool_oklahoma-0.6.tar.gz
- Upload date:
- Size: 193.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dcb9a9a2df44c61d631db09118df8243251030ba4d4322ce2beb7ea332d50857 |
|
MD5 | acce65a38c72f773f010c6aac7a19ede |
|
BLAKE2b-256 | 7296cbcb4b1c6509a548a8309e2594685235e0403f20ee17a84344e0ebb20e46 |
File details
Details for the file TrayWeatherTool_Oklahoma-0.6-py3-none-any.whl
.
File metadata
- Download URL: TrayWeatherTool_Oklahoma-0.6-py3-none-any.whl
- Upload date:
- Size: 193.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9d51e4305d476c056781447328b1819311f1338c99ea9d386aa861e975569ca |
|
MD5 | 45b4b5554c84ad45ce0297bbb239ec39 |
|
BLAKE2b-256 | 63a7040b67a4bcc515c34a8dc3f3e33f2096887ab8e6ea164d025f250066b5b1 |