Skip to main content

pywttr

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

Metadata

Release files for pywttr 4.0.4

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.0.4
File Size Uploaded Provenance Actions
pywttr-4.0.4.tar.gz 6.6 kB With provenance Details for pywttr-4.0.4.tar.gz

Built distribution (wheel)

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

Total release size: 11.1 kB

Release files / pywttr-4.0.4.tar.gz

Download URL pywttr-4.0.4.tar.gz
Size 6.6 kB
Tags Source
SHA-256 checksum
How to use checksums
2e2b6ffe2451a6a500294170fb143ff60f319fb8a386232fad6e4d8453ca791e
BLAKE2b-256 checksum
How to use checksums
942072610fdbc567fba86f4f95e4eeabf96cf73e9ca56d3e211b6bd76b02830b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","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 Oct 15, 2026.

Transparency log

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

Download URL pywttr-4.0.4-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6e9935939b5d5104a43f8a63761a919c9670621fbdfa1ff5e399faa7fbdd4dcf
BLAKE2b-256 checksum
How to use checksums
185af1b45034975ff07cf27fee29d44f45ae3e98849b8088ccb4ba5340de9272
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","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 Oct 15, 2026.

Transparency log

Security for pywttr 4.0.4

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.0.4.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 Oct 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