pwy

pwy

⛅ A simple weather tool.

Showing:

Popularity

Downloads/wk

0

GitHub Stars

98

Maintenance

Last Commit

8d ago

Contributors

4

Package

Dependencies

1

License

GPLv3

Categories

Readme

pwy

A simple weather tool.


Table of Contents

Dependencies

  • OpenWeatherMap API key
  • Python 3.8
    • requests

Installation

Pip install

Unix-like | Windows (Cygwin/WSL)

pip3 install pwy

Manual/Git install

Unix-like | Windows (Cygwin/WSL)

# If you have Git installed, git clone the repository.
git clone https://github.com/noqqlint/pwy

# Go to pwy directory.
cd pwy

# Install pwy.
pip3 install .

Configuration

Unix-like | Windows (Cygwin/WSL)

Before you can use pwy, you need to configure your OWM API key first. After you're through, the .pwyrc config file, containing your OWM API key will be generated in your home directory. Get your OWM key by signing up. Note: After creating your OWM API key you have to wait a couple of minutes for your API key to activate.

# Configure pwy with your OWM API key.
pwy --config XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Usage

Unix-like | Windows (Cygwin/WSL)

# To display weather in your current city.
pwy tokyo

# You can also specify what country you are in by.
pwy tokyo,jp

# To display weather with specific unit of measurement. By default the unit is Metric system.
pwy tokyo --unit imperial

# To display weather with specific language.
pwy tokyo --lang ja

# To display help information.
pwy --help

Update

Unix-like | Windows (Cygwin/WSL)

pip3 install --upgrade pwy

Changelog

View Changelog.

Credits

License

This program is provided under the GPL-3.0 License.

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100