python version implementation of `wego` which is a weather forecast client for the terminal.
Project description
py_weather_cli
py_weather_cli is a Python version implementation of 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 weather_cli
weather_cli -c toronto
Configration
Once you run py_weather_cli
after installing, you will get error about OpenWeatherMap 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')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for py_weather_cli-1.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f2963ef8d76a4f8468dfc2e67b633d00fb92c54a88bb20afbc341ba54e0f6b3 |
|
MD5 | d796f4b12bd6418a89f55a6d9c920b2c |
|
BLAKE2b-256 | 9f80fd2efec4cbd9d25194c3d43836e02dc68095ed49835bb965550d29b4bd4a |