{"id":34322067,"url":"https://github.com/dglent/meteo-qt","last_synced_at":"2025-12-17T14:10:21.034Z","repository":{"id":22062075,"uuid":"25391063","full_name":"dglent/meteo-qt","owner":"dglent","description":"System tray application for weather status information","archived":false,"fork":false,"pushed_at":"2025-10-27T04:52:43.000Z","size":5568,"stargazers_count":88,"open_issues_count":7,"forks_count":22,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-10-27T06:25:03.110Z","etag":null,"topics":["linux","lxqt","python","qt","weather"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dglent.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2014-10-18T07:50:09.000Z","updated_at":"2025-10-27T04:52:47.000Z","dependencies_parsed_at":"2023-01-11T21:27:59.424Z","dependency_job_id":"3dfc77fa-8f15-4b8e-b600-5e8f6d5b13bf","html_url":"https://github.com/dglent/meteo-qt","commit_stats":{"total_commits":753,"total_committers":18,"mean_commits":"41.833333333333336","dds":0.05976095617529875,"last_synced_commit":"5840b1ccb0077091e8a8eab57d3eac18723a41d6"},"previous_names":[],"tags_count":58,"template":false,"template_full_name":null,"purl":"pkg:github/dglent/meteo-qt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dglent%2Fmeteo-qt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dglent%2Fmeteo-qt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dglent%2Fmeteo-qt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dglent%2Fmeteo-qt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dglent","download_url":"https://codeload.github.com/dglent/meteo-qt/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dglent%2Fmeteo-qt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27783730,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-17T02:00:08.291Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["linux","lxqt","python","qt","weather"],"created_at":"2025-12-17T14:10:19.988Z","updated_at":"2025-12-17T14:10:21.022Z","avatar_url":"https://github.com/dglent.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# meteo-qt\n\n## Table of Contents\n* [Overview](#overview)  \n* [Getting started](#getting-started)  \n* [Runtime dependencies](#runtime-dependencies)  \n* [Running from the sources](#running-from-the-sources)  \n* [Installation from the sources](#installation-from-the-sources)  \n* [Installation](#installation)  \n* [Configuration](#configuration)  \n* [Translations](#translations)  \n* [Usage](#usage)  \n* [Use weather data in Conky](#use-weather-data-in-conky)\n\n\n\n## Overview\n\nmeteo-qt is an application to display weather information in desktop panels, desktop notifications\nand its own window.\n\n![](https://raw.github.com/dglent/meteo-qt/master/meteo-qt.png)\n\nWeather data is taken from [OpenWeatherMap](http://openweathermap.org/). The application is based on\nPython 3 and Qt 5. It is licensed under the GNU General Public License version 3 (GPLv3).\n\n## Getting started\n\nAfter satisfying some runtime dependencies meteo-qt can be run right from the source tree. Installing\nis possible as well and relying on on a file `setup.py` as commonly used in Python. This enables\nevery regular user to run the application and updates the translations comprised in the code. Also,\nsome binary packages are available.\nThe following sections will describe all three approaches stating some major Linux distributions as\nexample.\n\n### Runtime dependencies\n\nThese are [PyQt](https://www.riverbankcomputing.com/software/pyqt),\n[SIP](https://riverbankcomputing.com/software/sip) and [lxml](http://lxml.de) which can be installed\nas follows:\n\n**Arch Linux**\n```\n# pacman -S python-pyqt5 python-sip python-lxml\n```\n**Debian, Derivatives**\n```\n# apt-get install python3-pyqt5 python3-sip python3-lxml\n```\n**Fedora**\n```\n# dnf install python3-qt5 python3-sip python3-lxml\n```\n**openSUSE Leap**\n```\n# zypper install python3-qt5 python3-sip python3-lxml\n```\n\n(SIP packages stated for the sake of completeness only. In fact they all are a dependency of the\nrespective PyQt packages.)\n\n### Running from the sources\n\nOnce the runtime dependencies stated above are met the application can be run from its sources\nby invoking\n```\n$ python3 /path/to/meteo-qt/meteo_qt/meteo_qt.py\n```\n\n### Installation from the sources\n\n#### additional dependencies\n\nIn addition to the runtime dependencies stated above binaries`pylupdate5` of PyQt and `lrelease` of\n[Qt Linguist](http://doc.qt.io/qt-5/qtlinguist-index.html) are needed.\n\nBinary `lrelease` still comes as Qt 5 and 4 version in all major distributions so it must be ensured\nthe former is used.\nThis document describes how to achieve this by tweaking the system-wide settings of\n[qtchooser](http://code.qt.io/cgit/qt/qtchooser.git/) which is available on Arch Linux, Debian and\nFedora while a manual approach has to be taken on openSUSE. The corresponding changes may or may not\nbe reverted after installing meteo-qt depending on the needs of the respective system.\nTo test whether `lrelease` is configured properly run `$ lrelease -version` which should output the\ndesired Qt version like `5.5.1`.\n\n**Arch Linux**\nInstall package\n```\n# pacman -S qt5-tools\n```\nThis will pull in package `qtchooser` which has the usual link `/etc/xdg/qtchooser/default.conf` point to\n`/etc/xdg/qtchooser/5.conf` making Qt 5 the default.\n\n**Debian, Derivatives**\nInstall packages\n```\n# apt-get install pyqt5-dev-tools qttools5-dev-tools\n```\nTo make Qt 5 the default version either install package `qt5-default` in addition or create a symbolic\nlink\n```\n# ln -s /usr/share/qtchooser/qt5-x86_64-linux-gnu.conf /usr/lib/x86_64-linux-gnu/qtchooser/default.conf\n```\nwhere the architecture, here `x86_64-linux-gnu`, may have to get adjusted to the current system.\n\n**Fedora**\nInstall packages\n```\n# dnf install python3-qt5-devel qt5-linguist qtchooser\n```\nTo make Qt 5 default run\n```\n# update-alternatives --config qtchooser-default\n```\nfollow the instructions and log out and in again.\n(Fedora is handling qtchooser by the [Debian Alternatives System](https://wiki.debian.org/DebianAlternatives),\nsee `$ ls -l /etc/alternatives/qtchooser-* /etc/xdg/qtchooser/`. The binaries handled by qtchooser are\nplaced at a location that's usually outside `$PATH` and added to the latter by files in `/etc/profiles.d/`,\nhence the need to log out and in again.)\n\n**openSUSE Leap**\nInstall packages\n```\n# zypper install python3-qt5-devel libqt5-linguist\n```\nMake sure package `libqt4-linguist` which is the only package providing binary `lrelease` in `$PATH` isn't installed\nor move `/usr/bin/lrlease` to another location and run\n```\n# ln -s /usr/bin/lrelease-qt5 /usr/bin/lrelease\n```\n\n#### Installation\n\nTo install run\n```\n# python3 setup.py install\n```\nin the source tree. Adding switch `--help` displays additional options.\n\nAfter installing that way a binary `meteo-qt` will be placed in `$PATH`, a\n[desktop entry file](https://www.freedesktop.org/wiki/Specifications/desktop-entry-spec/) `meteo-qt.desktop`\nin `$XDG_DATA_DIRS/applications` making the application available in the usual panel main menus.\n\n### Binary packages\n\n#### Arch Linux\n\n[AUR](https://aur.archlinux.org) package [meteo-qt](https://aur.archlinux.org/packages/meteo-qt/) is providing the\nlatest stable release, package [meteo-qt-git](https://aur.archlinux.org/packages/meteo-qt-git/) the latest checkout\nof branch `master`.\n\n#### Mageia\n\nPackage [meteo-qt](http://madb.mageia.org/package/show/name/meteo-qt/) is providing stable releases.\n\n\n## Configuration\n\nAfter installation you will be prompted to do a right click on the system tray icon to configure the cities, units and other settings for the weather informations and the application.\n\n## Translations\n\nYou can contribute in a current translation or add a missing language in the [Weblate](https://translate.lxqt-project.org/projects/dglent/meteo-qt/) platform.  \n\n\u003ca href=\"https://translate.lxqt-project.org/engage/dglent/?utm_source=widget\"\u003e\n\u003cimg src=\"https://translate.lxqt-project.org/widgets/dglent/-/meteo-qt/287x66-black.png\" alt=\"Kaτάσταση μετάφρασης\" /\u003e\n\u003c/a\u003e\n\n## Usage\n\nNot much to say. The window providing verbose information as depicted above will display upon left\nclicking the panel icon, a context menu coming up on right-click is providing several configuration\noptions all of which should be pretty self-explanatory.\n\n## Use weather data in Conky\nYou can read the weather data from the log file.\nHere is an example how to extract them (see [#137](https://github.com/dglent/meteo-qt/issues/137)):\n\n```Bash\n[dglent@localhost meteo-qt]$ pwd\n/home/dglent/.config/meteo-qt\n[dglent@localhost meteo-qt]$ awk '/EXPORT_START/{ f=1;r=\"\"; next }f \u0026\u0026 /EXPORT_END/{f=0} f{ r=(r==\"\")? $0: r RS $0 }END{ print r }' meteo-qt.log\nCity,Paris, FR\nTemperature,18.61 °C\nFeels like,18.88 °C\nWind, 1  Bft.  calm\nCloudiness,100% overcast clouds\nHumidity,90 %\nVisibility,10.0 km\nComfort,Alright\nPrecipitation,no  \nSunrise,07:16\nSunset,20:21\nDaylight,13:05\nAir quality,Fair\nUV,4.66 Moderate\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdglent%2Fmeteo-qt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdglent%2Fmeteo-qt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdglent%2Fmeteo-qt/lists"}