{"id":13450175,"url":"https://github.com/egargo/pwygit","last_synced_at":"2026-02-04T20:16:35.932Z","repository":{"id":45635073,"uuid":"370049517","full_name":"egargo/pwygit","owner":"egargo","description":":partly_sunny: A simple weather information tool.","archived":false,"fork":false,"pushed_at":"2023-05-20T16:01:42.000Z","size":245,"stargazers_count":120,"open_issues_count":1,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-28T11:15:28.192Z","etag":null,"topics":["openweathermap"],"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/egargo.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-05-23T12:39:23.000Z","updated_at":"2025-08-18T04:48:58.000Z","dependencies_parsed_at":"2023-07-12T22:52:50.710Z","dependency_job_id":null,"html_url":"https://github.com/egargo/pwygit","commit_stats":null,"previous_names":["cliegargo/pwy","egargo/pwy"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/egargo/pwygit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egargo%2Fpwygit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egargo%2Fpwygit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egargo%2Fpwygit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egargo%2Fpwygit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/egargo","download_url":"https://codeload.github.com/egargo/pwygit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egargo%2Fpwygit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29095007,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-04T19:16:55.479Z","status":"ssl_error","status_checked_at":"2026-02-04T19:16:52.508Z","response_time":62,"last_error":"SSL_read: 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":["openweathermap"],"created_at":"2024-07-31T07:00:31.847Z","updated_at":"2026-02-04T20:16:35.906Z","avatar_url":"https://github.com/egargo.png","language":"Python","readme":"\u003cdiv align=\"center\"\u003e\n    \u003ch1\u003epwy\u003c/h1\u003e\n    \u003cp\u003eA simple weather information tool.\u003c/p\u003e\n    \u003cimg src=\"pwy.png\"\u003e\u003cbr\u003e\n    \u003ca href=\"https://pypi.org/project/pwy\"\u003e\u003cimg src=\"https://img.shields.io/pypi/v/pwy\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://openweathermap.org/api\"\u003e\u003cimg src=\"https://img.shields.io/badge/openweathermap-api-blue\"\u003e\u003c/a\u003e\n    \u003ca href=\"#\"\u003e\u003cimg src=\"https://static.pepy.tech/personalized-badge/pwy?period=total\u0026units=none\u0026left_color=grey\u0026right_color=blue\u0026left_text=downloads\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/cliegargo/pwy/blob/master/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/pypi/l/pwy?color=blue\"\u003e\u003c/a\u003e\n\u003c/div\u003e\n\n## Table of Contents\n\n- [Features](#features)\n- [Dependencies](#dependencies)\n- [Installation](#installation)\n- [Usage](#usage)\n- [Update](#update)\n- [Development](#development)\n- [Changelog](#changelog)\n- [Credits](#credits)\n- [License](#license)\n\n## Features\n\n- ASCII art\n- Display weather information\n  - The name of the location.\n  - Temperature (and what the temperature feels like).\n  - Weather and weather description.\n  - Wind pressure, humidity, wind direction, and wind speed.\n  - Time and timezone of the location.\n\n## Dependencies\n\n- OpenWeatherMap API key\n- Python 3.10 or higher\n  - requests\n  - rich\n- Internet connection\n\n## Installation\n\n### Pip install\n\n#### Unix-like | Windows\n\n```sh\npip install pwy\n```\n\n### Manual/Git install\n\n#### Unix-like | Windows\n\nDownload the latest pwy package [here](https://github.com/cliegargo/pwy/releases/latest) and uncompress it.\nGo to pwy directory.\n\n```sh\ncd pwy\n```\n\nInstall pwy.\n\n```sh\npip install .\n```\n\n## Configuration\n\n### Unix-like | Windows\n\nBefore you can use pwy, you need to configure pwy. Run the command below and fill the required files, these fields are for the OWM API key, location, unit, and language.\n\n```sh\npwy\n```\n\nAfter you're through, the `pwy.json` (`~/.config/pwy.json` for Unix-like and `pwy.json` for Windows) config file, containing your OWM API key, location, unit, and language, will be generated.\n\nGet your OWM key by [signing up](https://home.openweathermap.org/users/sign_up).\n\nIf you want to edit your pwy configuration.\n\n```sh\npwy --config\n```\n\n## Usage\n\n### Unix-like | Windows\n\nTo display weather in your current city (from pwy.json).\n\n```sh\npwy\n```\n\nTo display weather in your current city.\n\n```sh\npwy tokyo\n```\n\nYou can also specify what country you are in by.\n\n```sh\npwy tokyo,jp\n```\n\nTo display weather with specific unit of measurement. By default the unit is Metric system.\n\n```sh\npwy tokyo --unit imperial\n```\n\nTo display weather with specific language.\n\n```sh\npwy tokyo --lang ja\n```\n\nTo display help information.\n\n```sh\npwy --help\n```\n\n## Availabe options\n\n```sh\nusage: __main__.py [-h] [-c] [-u] [-l] [-v] [location ...]\n\npwy - A simple weather information tool\n\npositional arguments:\n  location        input location\n\noptions:\n  -h, --help      show this help message and exit\n  -c, --config    configure pwy\n  -u, --unit  input unit\n  -l, --lang  input language\n  -v, --version   show program's version number and exit\n```\n\n## Update\n\n### Unix-like | Windows\n\n```sh\npip install --upgrade pwy\n```\n\n## Development\n\n```sh\n# Create a virtual environment and enable it.\npython3 -m venv\n. env/bin/activate\n\n# Install dependencies.\npip install -r requirements.txt\n```\n\n## Changelog\n\nView [Changelog](./CHANGELOG.md).\n\n## Credits\n\n- [pwy Contributors](https://github.com/cliegargo/pwy/graphs/contributors)\n- [OpenWeatherMap](https://openweathermap.org/current) - API\n- [wego](https://github.com/schachmat/wego) - ASCII art\n\n## License\n\nThis program is provided under the [MIT License](./LICENSE).\n","funding_links":[],"categories":["pwy","Python","Miscellaneous"],"sub_categories":["Other"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fegargo%2Fpwygit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fegargo%2Fpwygit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fegargo%2Fpwygit/lists"}