Wrapper for wttr.in weather API
Project description
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
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
pywttr-4.0.2.tar.gz
(6.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pywttr-4.0.2.tar.gz.
File metadata
- Download URL: pywttr-4.0.2.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6e16a723836c6fdf6fe79be6471949533181a98e5a632d7415d6370de3f91e1f
|
|
| MD5 |
94016c6b26bc8cc9c6ce390f946c7ebd
|
|
| BLAKE2b-256 |
7b969468ff2d3ebe961b505d1950791a45606909e581a222328e6f350fb24616
|
File details
Details for the file pywttr-4.0.2-py3-none-any.whl.
File metadata
- Download URL: pywttr-4.0.2-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aca307c873408f0541fe98642e4abd841f4041c3b93ce0c4a7b01a3e34d60ea1
|
|
| MD5 |
3cb1673fa38016a3607e578e0877633f
|
|
| BLAKE2b-256 |
c4f117a38b7fddd2ab669239a117d993d6f365b20c2a445b6a1434d917fc36a5
|