{"id":19221200,"url":"https://github.com/gozeloglu/weather-notifier","last_synced_at":"2026-05-18T10:10:11.216Z","repository":{"id":74684400,"uuid":"323978079","full_name":"gozeloglu/weather-notifier","owner":"gozeloglu","description":":computer: Windows 10 Weather Notification Script. ","archived":false,"fork":false,"pushed_at":"2020-12-23T23:35:37.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-05T01:04:41.207Z","etag":null,"topics":["desktop","openweather-api","python3","weather","weather-api","windows-10"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gozeloglu.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2020-12-23T18:46:56.000Z","updated_at":"2021-11-29T08:11:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"510095c1-3ecc-470f-9047-0f238b5ba0aa","html_url":"https://github.com/gozeloglu/weather-notifier","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gozeloglu/weather-notifier","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gozeloglu%2Fweather-notifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gozeloglu%2Fweather-notifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gozeloglu%2Fweather-notifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gozeloglu%2Fweather-notifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gozeloglu","download_url":"https://codeload.github.com/gozeloglu/weather-notifier/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gozeloglu%2Fweather-notifier/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33174091,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"ssl_error","status_checked_at":"2026-05-18T09:27:28.300Z","response_time":71,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["desktop","openweather-api","python3","weather","weather-api","windows-10"],"created_at":"2024-11-09T14:40:27.003Z","updated_at":"2026-05-18T10:10:11.196Z","avatar_url":"https://github.com/gozeloglu.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# weather-notifier\n\nThis is a weather notification script for Windows 10. You can get weather notifications with small configurations on your computer. I used [OpenWeather](https://openweathermap.org/) API to fetch data. That's why if you want to run this project, you need to have a API Key. You can [register](https://home.openweathermap.org/users/sign_up) and get API Key from [here](https://openweathermap.org/price). \n\n# Requirements\n\n- `python3.x`\n- `requests`\n- `win10toast`\n\nYou can install libraries as follow:\n\n`$ pip install requests`\n\n`$ pip install win10toast`\n\n# How to run?\n\nFirstly, you need to clone this repository. To clone the repository, you can run following command. \n\n```powershell\n$ git clone git@github.com:gozeloglu/weather-notifier.git\n```\n\nBefore running the script, be sure that you already installed above libraries. You can check the libraries by using following commands. \n\n```powershell\n$ python3\nPython 3.8.2 (tags/v3.8.2:7b3ab59, Feb 25 2020, 23:03:10) [MSC v.1916 64 bit (AMD64)] on win32\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\n\u003e\u003e\u003e import requests\n\u003e\u003e\u003e from win10toast import ToastNotifier\n\u003e\u003e\u003e \n```\n\nIf you don't get any error, it means that you have installed the libraries successfully.\n\nBefore configuration, you need to save the [OpenWeather API Key](https://openweathermap.org/api) and the city name that you want to get the notification to your environment. You can save environment variables in Windows 10 as follow:\n\n1. Open the Start Search, type in **env**, and choose **Edit the system environment variables**.\n2. Click the **Environment Variables…** button.\n3. Click the **Environment Variables…** button.\n4. Set the environment variables as needed.\n    - You need to save API Key with **WEATHER_API_KEY**.\n    - You need to save the city name with **CITY**. \n\nYou can be sure that env variables are saved or not with the following command. To run the commands, open a new command prompt.\n\n```powershell\n\u003e echo %WEATHER_API_KEY%\n\u003e echo %CITY%\n```\n\nYou should see the key and city name that you saved on the system. \n\nIf you did not face any problem, you can run the script with the following command. \n```powershell\n$ python weather.py\n```\n\nIf you will get the notification successfully, you can continue with the following steps. \n\nFinally, you need to schedule a task by using **Task Scheduler** in Windows 10. \n\n1. Open the Start Search, type in **Task Scheduler** and choose it. \n2. Select **Actions** on top of the window.\n3. Select **Create Task** on the menu.\n4. Give a name to your task on the **General**.\n5. Select **Trigers** and **New**, respectively.\n6. Determine your repeat time. Click **OK**.\n7. Then, select **Actions** and **New**, respectively.\n8. Select **Browse** and determine the `weather.pyw` full path. Click **OK** and close the windows. Everything that's all!\n\n## Why we use `weather.pyw` instead of `weather.py`?\n\nIf you select `weather.py` as the script file, the Python console will pop-up when the script is run. In order to block this pop-up console, we are using `weather.pyw` file. \n\n# Example\n\n![Example](/example/example.jpg)\n\n# Contributions\n\nContributions are welcomed. If you face any issue or want to add a new feature, you can open an issue. \n\n# LICENSE\n\n[MIT](LICENSE)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgozeloglu%2Fweather-notifier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgozeloglu%2Fweather-notifier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgozeloglu%2Fweather-notifier/lists"}