README.md
November 23, 2021 ยท View on GitHub
wfetch
A small (~100 lines of code) terminal weather fetch tool written in Python.
Dependencies
python- must be 3.6 or greaterrequests- for fetching raw data from weather APIs
You can install dependencies using this command: pip install -r requirements.txt
Installation
To install wfetch, make symbolic link to wfetch.py file in /usr/bin/ directory:
sudo ln -s /path/to/wfetch/wfetch.py /usr/bin/wfetch
Setup
- Create an OpenWeatherMap account
- Go to API keys section in your account settings
- Update in
config.pyapiandcityparameters - Also, optionally update other parameters to set proper for you description language and measurement units
Thanks
- wego for providing ASCII weather icons