Skip to main content

Weather using the excellent wttr.in

Project description

winzy-weather

PyPI Changelog Tests License

Weather using the excellent wttr.in

Installation

First configure your Winzy project to use Winzy.

Then install this plugin in the same environment as your Winzy application.

pip install winzy-weather

Usage

Usage instructions:

  1. Run winzy weather to display the current weather.
  2. To specify a city, use the -c or --city option followed by the city name. For example: winzy weather -c London.
  3. To print in wide format, use the -w or --wide option.
  4. To show the forecast without displaying the daily forecast, use the -nf or --no-forecast option.
  5. To display today's forecast, use the -t or --today option.
winzy weather -c London -t

London weather

Development

To set up this plugin locally, first checkout the code. Then create a new virtual environment:

cd winzy-weather
python -m venv venv
source venv/bin/activate

Now install the dependencies and test dependencies:

pip install -e '.[test]'

To run the tests:

python -m pytest

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

winzy_weather-0.0.1.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

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

winzy_weather-0.0.1-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file winzy_weather-0.0.1.tar.gz.

File metadata

  • Download URL: winzy_weather-0.0.1.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for winzy_weather-0.0.1.tar.gz
Algorithm Hash digest
SHA256 04e3130cc5d1a5c933b20e603392ec7bb2cbf573dbf39885e604fb300f564b95
MD5 a33e3ae76545a7a97989431344483f77
BLAKE2b-256 2552edbe3fb9d93c09acb95d7137d530194cd1ab7293c84a0a40825ba654278d

See more details on using hashes here.

Provenance

The following attestation bundles were made for winzy_weather-0.0.1.tar.gz:

Publisher: publish.yml on sukhbinder/winzy-weather

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file winzy_weather-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: winzy_weather-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for winzy_weather-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cf053a60edc52e54e0990837038d8ccd9e0358a7371126c7d66f99802a358b9f
MD5 0a8cfd973cf05099ab68add7a1434e1c
BLAKE2b-256 f08244bf973dd70b77346c96507c7eac7ae2a5fadf9f59e76d3405f261eb5c7f

See more details on using hashes here.

Provenance

The following attestation bundles were made for winzy_weather-0.0.1-py3-none-any.whl:

Publisher: publish.yml on sukhbinder/winzy-weather

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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