Skip to main content

A command-line tool to check the weather.

Project description

wea is an ASCII decorated command-line program to get a weather report in your terminal, for any location and in multiple languages.

Features

  • Current weather report.
  • Forecast for the next 5 days.
  • Several weather conditions:
    • Temperature and apparent temperature.
    • Wind direction and speed.
    • Atmospheric pressure.
    • Rainfall rate and probability of precipitation.
    • Visibility distance.
  • Metric and imperial unit system.
  • Multilingual support.

Setup

You will need

Instalation

Now you can install wea using pip:

pip install wea-clt

Usage

You can see all available commands typing

wea -h

which displays the following help message:

usage: wea.exe [-h] [-c | -f | -l  [...] | -u [default | metric | imperial] | --lang  | -k  | --config]

options:
  -h, --help            show this help message and exit
  -c, --current         Shows current weather for the set location.
  -f, --forecast        Shows weather forecast for the set location.
  -l  [ ...], --location  [ ...]
                        Sets a location.
  -u [default | metric | imperial], --units [default | metric | imperial]
                        Changes unit system
  --lang                Sets new language.
  -k , --key            Sets the OpenWeather API key.
  --config              Shows current user configuration path and content.

If no arguments were provided, wea shows current and weather forecast for the location set in the user's configuration file.

You can also see a weather report for a location without changing the configuration file. Try:

wea London -c

License

wea is released under the MIT License.

This project uses source code from the files

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

wea-clt-0.0.9.tar.gz (18.2 kB view hashes)

Uploaded Source

Built Distribution

wea_clt-0.0.9-py3-none-any.whl (19.2 kB view hashes)

Uploaded 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