Skip to content
/ wfetch Public

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

License

Notifications You must be signed in to change notification settings

tfuxu/wfetch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages