Skip to content

a Python version implementation of wego which is a weather client for the terminal.

License

Notifications You must be signed in to change notification settings

faris-shi/py_weather_cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

screen.png

Dependencies

  • requests
  • click

Installation

pip3 install py_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')

About

a Python version implementation of wego which is a weather client for the terminal.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages