Skip to main content

python version implementation of `wego` which is a weather forecast client for the terminal.

Project description

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')

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

py_weather_cli-1.0.2.tar.gz (9.5 kB view hashes)

Uploaded Source

Built Distribution

py_weather_cli-1.0.2-py2.py3-none-any.whl (10.2 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page