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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file wea-clt-0.0.9.tar.gz.

File metadata

  • Download URL: wea-clt-0.0.9.tar.gz
  • Upload date:
  • Size: 18.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for wea-clt-0.0.9.tar.gz
Algorithm Hash digest
SHA256 f1c3097b3bbb2324419dbc5c6d2ffbc9f9560fd961a39aebfb3923783b5cba30
MD5 01f8c29d52b3d8158e5b2f35f6bfcc71
BLAKE2b-256 4a72337d1d446299cbf9de69f504acc0895c1a20cc055648bdd5996670161552

See more details on using hashes here.

File details

Details for the file wea_clt-0.0.9-py3-none-any.whl.

File metadata

  • Download URL: wea_clt-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 19.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for wea_clt-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 0eb232ccdce111d06e6ca75e587ebe4a2a6a276673b6f73c4c8b8bb271b34e5e
MD5 6db600a599964ff086232fcfa8aaa538
BLAKE2b-256 9ce1d92e35b3fec0ebe20272c33bc9700a90dbf5a0cb9bcbc5b632b1718d5e2c

See more details on using hashes here.

Supported by

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