{"id":12672232,"url":"https://github.com/n1flh31mur/i3-simple-weather","last_synced_at":"2025-02-24T00:32:10.966Z","repository":{"id":170342115,"uuid":"284148677","full_name":"n1flh31mur/i3-simple-weather","owner":"n1flh31mur","description":"Python script for i3bar/polybar and other bars that supports python scripts.","archived":false,"fork":false,"pushed_at":"2022-10-08T09:36:52.000Z","size":72,"stargazers_count":24,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-15T01:31:16.567Z","etag":null,"topics":["i3bar","icons","polybar","python-script","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/n1flh31mur.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-07-31T23:31:16.000Z","updated_at":"2024-10-05T17:48:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"2054e530-d4cb-418e-ade3-3236c95c20ed","html_url":"https://github.com/n1flh31mur/i3-simple-weather","commit_stats":null,"previous_names":["bru74lw1z4rd/i3-simple-weather","n1flh31mur/i3-simple-weather"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n1flh31mur%2Fi3-simple-weather","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n1flh31mur%2Fi3-simple-weather/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n1flh31mur%2Fi3-simple-weather/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n1flh31mur%2Fi3-simple-weather/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/n1flh31mur","download_url":"https://codeload.github.com/n1flh31mur/i3-simple-weather/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240400266,"owners_count":19795329,"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","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":["i3bar","icons","polybar","python-script","weather"],"created_at":"2024-07-17T01:08:15.142Z","updated_at":"2025-02-24T00:32:10.650Z","avatar_url":"https://github.com/n1flh31mur.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# i3-simple-weather\nPython script for i3bar/polybar and other bars that supports python scripts.\n\nThis script make request to [OpenWeather](https://openweathermap.org/) and returns tempreture and [Font Awesome Pro](https://fontawesome.com/) icon that shows weather condition.\n\n## Examples:\n![Example 1](/screenshots/screenshot-1.png)\n![Example 2](/screenshots/screenshot-2.png)\n![Example 3](/screenshots/screenshot-3.png)\n\nIcons that app shows, can be changed. For it, you need to open **weather.py** and change *values* in *key-value arrays*.\n\nAlso before script run, you have to set up script. Indicating your *api key*, *city*.\nYou can also change *units* and *temperature unit*.\n\n## Settings example\n```python\n# Settings \ncity = \"Stockholm\" # Your city \napi_key = \"0a00a0000a0aa00a0a00aaa000000a00\" # Your openweather api key\nunits = \"metric\" # Unit system {imperial or metric}\ntemperature_unit = \"C\" # Units of measurement. That will be showed in UI. Does not affect on API.\n```\n\n## Run script with polybar\n```sh\n[module/weather]\ntype = custom/script\ninterval = 600\ncursor-click = python3 ~/.config/polybar/scripts/weather.py\nexec = python3 ~/.config/polybar/scripts/weather.py\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fn1flh31mur%2Fi3-simple-weather","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fn1flh31mur%2Fi3-simple-weather","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fn1flh31mur%2Fi3-simple-weather/lists"}