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://pywttr.readthedocs.io

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.1.tar.gz (6.6 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.1-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file pywttr-4.0.1.tar.gz.

File metadata

  • Download URL: pywttr-4.0.1.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.0

File hashes

Hashes for pywttr-4.0.1.tar.gz
Algorithm Hash digest
SHA256 3a08e438f74c63f2028e8b943f8dea691b1a287f724582d13b9d73d696bf3ad9
MD5 2860c83fb071c361717ddb79242fabd1
BLAKE2b-256 508dd2450f9ad26a379ada9032c9936736257e872e32f54219cd8f90a8fc08e7

See more details on using hashes here.

File details

Details for the file pywttr-4.0.1-py3-none-any.whl.

File metadata

  • Download URL: pywttr-4.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.0

File hashes

Hashes for pywttr-4.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 83f32f46ec7a07caaa78af1e018dc89819a888ba11ae759713d83865d25703a1
MD5 d075eb37913b17fd29a85d59529734a9
BLAKE2b-256 7f574980428d72267bc6c6716eeb7529db5b99af3aef310a4b68536d25aed8ff

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