https://github.com/faris-shi/py_weather_cli
a Python version implementation of wego which is a weather client for the terminal.
https://github.com/faris-shi/py_weather_cli
ascii-art forecast weather-cli wego-python
Last synced: 5 months ago
JSON representation
a Python version implementation of wego which is a weather client for the terminal.
- Host: GitHub
- URL: https://github.com/faris-shi/py_weather_cli
- Owner: faris-shi
- License: mit
- Created: 2021-02-07T06:07:28.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-02-08T17:36:25.000Z (over 5 years ago)
- Last Synced: 2025-09-18T23:00:19.377Z (9 months ago)
- Topics: ascii-art, forecast, weather-cli, wego-python
- Language: Python
- Homepage:
- Size: 375 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# py_weather_cli
py_weather_cli is a Python version implementation of [wego](https://github.com/schachmat/wego) which is a weather client for the terminal.
This project is just only for study purpose, please do not use it for business.

## Dependencies
- requests
- click
## Installation
```
pip3 install py_weather_cli
weather_cli -c toronto
```
## Configration
Once you run `py_weather_cli` after installing, you will get error about [OpenWeatherMap](https://openweathermap.org/) account and api key. However the config `.weather-cli` has been generated in `HOME` dirctinary. (it might be hidden due to started '.').
- city_name
the default city
- api_key
OpenWeatherMap api_key
- lang
client language
- num_days
the number of days of forecast
- unit
measure unit, you can specify any of (metric|imperial|si')