Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 1.02 KB

README.md

File metadata and controls

27 lines (22 loc) · 1.02 KB

wfetch

wfetch 0.1 in terminal
A small (~100 lines of code) terminal weather fetch tool written in Python.

Dependencies

  • python - must be 3.6 or greater
  • requests - 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

  1. Create an OpenWeatherMap account
  2. Go to API keys section in your account settings
  3. Update in config.py api and city parameters
  4. Also, optionally update other parameters to set proper for you description language and measurement units

Thanks

  • wego for providing ASCII weather icons