Skip to main content

pywttr

Downloads

Typed Python client for the wttr.in weather API. For asyncio, use aiopywttr.

Installation

uv add pywttr pywttr-models
# or
pip install -U pywttr pywttr-models

pywttr-models holds the response models and gets its own releases when wttr.in changes its responses. Naming it keeps pip install -U upgrading it along with pywttr.

Example

import pywttr

with pywttr.Wttr() as wttr:
    weather = wttr.weather("Paris")

now = weather.current_condition[0]
print(f"{now.temp_c} °C, {now.weather_desc[0].value}")

Documentation

https://monosans.github.io/pywttr

License

MIT

Metadata

Release files for pywttr 4.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pywttr 4.1.3
File Size Uploaded Provenance Actions
pywttr-4.1.3.tar.gz 8.1 kB With provenance Details for pywttr-4.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pywttr 4.1.3
File Interpreter ABI Platform Actions
pywttr-4.1.3-py3-none-any.whl Python 3 none any Details for pywttr-4.1.3-py3-none-any.whl

Total release size: 13.7 kB

Release files / pywttr-4.1.3.tar.gz

Download URL pywttr-4.1.3.tar.gz
Size 8.1 kB
Tags Source
SHA-256 checksum
How to use checksums
eac51622d0281b34d517437df86eaab87d8ffe5284264862009324b6f9722c22
BLAKE2b-256 checksum
How to use checksums
f6bffac8482a62529b0c61e85d9b337f522e88238c04815979f7869d2fce3d10
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.

Transparency log

Release files / pywttr-4.1.3-py3-none-any.whl

Download URL pywttr-4.1.3-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
36a77e7fa5f1ddd5fbcbd6b59bfaaec1bf478719b5c4bbcb5f4d4fb2b0643d7f
BLAKE2b-256 checksum
How to use checksums
c220a951959d8fc5e5188f7e86221bb57848358a8b9993168f4dd7b3c188c97f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.

Transparency log

Security for pywttr 4.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pywttr-4.1.3.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page