Skip to main content

Wrapper for wttr.in weather API

Project description

pywttr

CI Downloads

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

MIT

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

pywttr-4.0.2.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

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

pywttr-4.0.2-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

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

Hashes for pywttr-4.0.2.tar.gz
Algorithm Hash digest
SHA256 6e16a723836c6fdf6fe79be6471949533181a98e5a632d7415d6370de3f91e1f
MD5 94016c6b26bc8cc9c6ce390f946c7ebd
BLAKE2b-256 7b969468ff2d3ebe961b505d1950791a45606909e581a222328e6f350fb24616

See more details on using hashes here.

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

Hashes for pywttr-4.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 aca307c873408f0541fe98642e4abd841f4041c3b93ce0c4a7b01a3e34d60ea1
MD5 3cb1673fa38016a3607e578e0877633f
BLAKE2b-256 c4f117a38b7fddd2ab669239a117d993d6f365b20c2a445b6a1434d917fc36a5

See more details on using hashes here.

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