{"id":20128724,"url":"https://github.com/polespurnes/pythonweather","last_synced_at":"2026-06-10T10:31:23.595Z","repository":{"id":228224320,"uuid":"290802922","full_name":"PolEspurnes/PythonWeather","owner":"PolEspurnes","description":"Python project that shows the actual weather of any chosen city in a PyQt5 GUI using OpenWeather API.","archived":false,"fork":false,"pushed_at":"2020-08-29T08:27:32.000Z","size":43,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-02T21:31:27.365Z","etag":null,"topics":["api","gui","pyqt5","python","requests","weather-app"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PolEspurnes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2020-08-27T14:49:43.000Z","updated_at":"2020-08-29T08:35:57.000Z","dependencies_parsed_at":"2024-03-17T18:48:36.332Z","dependency_job_id":null,"html_url":"https://github.com/PolEspurnes/PythonWeather","commit_stats":null,"previous_names":["polespurnes/pythonweather"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PolEspurnes/PythonWeather","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PolEspurnes%2FPythonWeather","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PolEspurnes%2FPythonWeather/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PolEspurnes%2FPythonWeather/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PolEspurnes%2FPythonWeather/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PolEspurnes","download_url":"https://codeload.github.com/PolEspurnes/PythonWeather/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PolEspurnes%2FPythonWeather/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34149132,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"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":["api","gui","pyqt5","python","requests","weather-app"],"created_at":"2024-11-13T20:29:16.030Z","updated_at":"2026-06-10T10:31:23.577Z","avatar_url":"https://github.com/PolEspurnes.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PythonWeather\n\nThis is a project created with Python that shows the actual weather of any chosen city in a **PyQt5** GUI.\n\nThe [OpenWeather API](https://openweathermap.org/api) has been used to request all the data.\n\n### Setup\n\nFor the program to work, two local files are needed:\n1. **APIkey** -- Contains your API key, given by the OpenWeather API when you [register](https://home.openweathermap.org/users/sign_up).\n Just copy and paste the key inside this file.\n \n2. **city.list.json** -- This file contains all the information related to the cities covered by the API. It can be downloaded [here](http://bulk.openweathermap.org/sample/city.list.json.gz).\n\n    These two files are read in the **WetaherAPI.py** init function.\n    \n    ```\n    key_filename = \"APIkey\"\n    city_filename = \"city.list.json\"\n    ```\n\n### Example\n\nAfter setup is done, run **main.py**.\n1. First you will be asked for a city.\n\n    ![Search pic](Screenshots/Search.JPG)\n    \n2. If the city is found inside the API city list, results will be shown, unless the city's name is repeated.\nIn that case, a new screen  will appear and you will have to select the country. \n\n    ![Choose pic](Screenshots/Choose.JPG)\n    \n    If the city is not found, an error window will be prompted.\n    \n    ![Error pic](Screenshots/NotFound.JPG)\n    \n3. Once the city has been chosen, the results window will appear and show the actual weather conditions, temperature and minimum and maximum temperatures of the day.\n\n    ![Results pic](Screenshots/Result.JPG)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolespurnes%2Fpythonweather","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpolespurnes%2Fpythonweather","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolespurnes%2Fpythonweather/lists"}