Pwea
Pwea is a simple weather tool written in Python, utilizing the Weather API to source current weather information.
Pwea uses the requests and rich libraries to retrieve and display weather data.
How it works
Pass a desired location to pwea to retrieve a readout of the current weather conditions.
Use it like this:
pwea springfield MA
Or, pass -t forecast to view the forecast.
Unit of measurement defaults to metric. Pass -u imperial or --unit imperial to view in imperial.
Installation
You can install pwea from PyPi, or build it from source.
Pypi
pip install pwea
Building from source
Clone the repository:
git clone https://gitlab.com/jeffreybarfield/pwea.git
Install using setuptools:
python3 setup.py install
Credit
I created this tool to educate myself on the rich library. I was originally inspired by the pwy project.
License
Copyright © 2021 Jeff Barfield.
Release files for pwea 0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pwea-0.3.tar.gz | 10.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pwea-0.3-py3.9.egg | Legacy Egg format | - | - | Details |
Total release size: 28.9 kB
Release files / pwea-0.3.tar.gz
| Download URL | pwea-0.3.tar.gz |
|---|---|
| Size | 10.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ab0cb81348595947fb8ec3c03c440c6844c9d3d2465d0d51376a374c30e8d2c3
|
|
BLAKE2b-256 checksum How to use checksums |
17cdf982dfe6e72e1eaea61f85dda9a3623f75299bb30957578defd77bb17020
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5
|
Release files / pwea-0.3-py3.9.egg
| Download URL | pwea-0.3-py3.9.egg |
|---|---|
| Size | 18.9 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
a8ae4d6c526b5ec02e80d7b2f5aedf528e35f265bd177cbf6cae2c4c4ef3b15c
|
|
BLAKE2b-256 checksum How to use checksums |
4bf0cf7f107c6b1e4504a2353a42cd92cc956fe9fb27a5c7d25d7ed6aa241c2e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5
|