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. 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 PyPI - Version PyPIRelease

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 three methods:

  • There will be a script called tray_weather_configure. Running this will create a .desktop launcher in the appropriate place on your system. With this in place, the icon can be launched with the Super button and typing "tray ...".
  • 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 Flake8 Tests Coverage Status

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

trayweathertool_oklahoma-1.0.tar.gz (195.1 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-1.0-py3-none-any.whl (193.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: trayweathertool_oklahoma-1.0.tar.gz
  • Upload date:
  • Size: 195.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for trayweathertool_oklahoma-1.0.tar.gz
Algorithm Hash digest
SHA256 9c0210b086464a911a07170e98df17653cf8d3f1ad05743b4bc0f221de8d24df
MD5 753c9853b42ab2496be70a2acc9b2394
BLAKE2b-256 d771189a093471bb967b5b0114ad902d5644ecb7e1786b2c456f2a36f54c3450

See more details on using hashes here.

Provenance

The following attestation bundles were made for trayweathertool_oklahoma-1.0.tar.gz:

Publisher: release.yml on Myoldmopar/TrayWeatherTool

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file trayweathertool_oklahoma-1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for trayweathertool_oklahoma-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7431663cede680bf9b05ce5fe6f30354b6fe8547a8a040e893d70b6ca25e2a7c
MD5 cd136dfd3b8b7b1f04b596a3a19b8f0e
BLAKE2b-256 ae697e0c3d50568c1a30647bfb285c605805e5ab405c4f3b163eb6992745b9e7

See more details on using hashes here.

Provenance

The following attestation bundles were made for trayweathertool_oklahoma-1.0-py3-none-any.whl:

Publisher: release.yml on Myoldmopar/TrayWeatherTool

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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