Skip to main content

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. It wouldn't take much to run on Windows, 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. 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

Testing

Well, as of now, there is no automated testing in place except code linting with flake8. It would make me feel a lot better if we broke out some of the functionality into testable code and add an action script to test it.

Deployment PyPI - Version

Anytime a tag is made on the repo it will build and push a wheel to PyPi.

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

trayweathertool_oklahoma-0.3.tar.gz (12.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

TrayWeatherTool_Oklahoma-0.3-py3-none-any.whl (16.1 kB view details)

Uploaded Python 3

File details

Details for the file trayweathertool_oklahoma-0.3.tar.gz.

File metadata

  • Download URL: trayweathertool_oklahoma-0.3.tar.gz
  • Upload date:
  • Size: 12.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for trayweathertool_oklahoma-0.3.tar.gz
Algorithm Hash digest
SHA256 9043bf0998c39154fe92f9624cfcb31c1f523c09ae7f7105b92c7c139b61b08b
MD5 63168e98c137217a247b3b25331a8bb3
BLAKE2b-256 53f0861d89441ccab0ff8fe826a43a987f5f39b78e8f5222fa6324fd5fadf9e7

See more details on using hashes here.

File details

Details for the file TrayWeatherTool_Oklahoma-0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for TrayWeatherTool_Oklahoma-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0b4cd87ee02834a08f467ae18a0a0047c2e53684e0c9b0094906725090f74d57
MD5 cc00312da4a64fa7e863a873846ccbd5
BLAKE2b-256 bdf575366f86e03a62fe2b7f714fec66ef485cd702c5eeeb7d3d7306beb2de1e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page