Awesome
<div align="center"> <h1>wfetch</h1> <img src="https://i.imgur.com/754LO17.png" alt="wfetch 0.1 in terminal"> <br> A small (~100 lines of code) terminal weather fetch tool written in Python. </div>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.py
api
andcity
parameters - Also, optionally update other parameters to set proper for you description language and measurement units
Thanks
- wego for providing ASCII weather icons