Weather using the excellent wttr.in
Project description
winzy-weather
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:
- Run
winzy weather
to display the current weather. - To specify a city, use the
-c
or--city
option followed by the city name. For example:winzy weather -c London
. - To print in wide format, use the
-w
or--wide
option. - To show the forecast without displaying the daily forecast, use the
-nf
or--no-forecast
option. - To display today's forecast, use the
-t
or--today
option.
winzy weather -c London -t
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04e3130cc5d1a5c933b20e603392ec7bb2cbf573dbf39885e604fb300f564b95 |
|
MD5 | a33e3ae76545a7a97989431344483f77 |
|
BLAKE2b-256 | 2552edbe3fb9d93c09acb95d7137d530194cd1ab7293c84a0a40825ba654278d |
Provenance
The following attestation bundles were made for winzy_weather-0.0.1.tar.gz
:
Publisher:
publish.yml
on sukhbinder/winzy-weather
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
winzy_weather-0.0.1.tar.gz
- Subject digest:
04e3130cc5d1a5c933b20e603392ec7bb2cbf573dbf39885e604fb300f564b95
- Sigstore transparency entry: 148912206
- Sigstore integration time:
- Predicate type:
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf053a60edc52e54e0990837038d8ccd9e0358a7371126c7d66f99802a358b9f |
|
MD5 | 0a8cfd973cf05099ab68add7a1434e1c |
|
BLAKE2b-256 | f08244bf973dd70b77346c96507c7eac7ae2a5fadf9f59e76d3405f261eb5c7f |
Provenance
The following attestation bundles were made for winzy_weather-0.0.1-py3-none-any.whl
:
Publisher:
publish.yml
on sukhbinder/winzy-weather
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
winzy_weather-0.0.1-py3-none-any.whl
- Subject digest:
cf053a60edc52e54e0990837038d8ccd9e0358a7371126c7d66f99802a358b9f
- Sigstore transparency entry: 148912207
- Sigstore integration time:
- Predicate type: