pywttr
Wrapper for wttr.in weather API.
Asynchronous version here.
Installation
pip install -U pywttr pywttr-models
Documentation
https://monosans.github.io/pywttr
Simple example
with pywttr.Wttr() as wttr:
weather = wttr.weather("Paris", language=pywttr.Language.EN)
print(weather.weather[0].avgtemp_c)
License
Metadata
Release files for pywttr 4.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pywttr-4.0.2.tar.gz | 6.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pywttr-4.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.2 kB
Release files / pywttr-4.0.2.tar.gz
| Download URL | pywttr-4.0.2.tar.gz |
|---|---|
| Size | 6.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6e16a723836c6fdf6fe79be6471949533181a98e5a632d7415d6370de3f91e1f
|
|
BLAKE2b-256 checksum How to use checksums |
7b969468ff2d3ebe961b505d1950791a45606909e581a222328e6f350fb24616
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / pywttr-4.0.2-py3-none-any.whl
| Download URL | pywttr-4.0.2-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
aca307c873408f0541fe98642e4abd841f4041c3b93ce0c4a7b01a3e34d60ea1
|
|
BLAKE2b-256 checksum How to use checksums |
c4f117a38b7fddd2ab669239a117d993d6f365b20c2a445b6a1434d917fc36a5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|