Skip to main content

A simple weather tool.

Project description

pwy

A simple weather tool.


Table of Contents

Dependencies

  • python 3.6+
  • 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/windybroth/pwy
cd pwy

# Add your OpenWeatherMap API key in the pwy/key.json file.
vim pwy/key.json

# Install pwy.
pip3 install .

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

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.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

pwy-1.4.1-py3-none-any.whl (21.6 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