pygeosphere-warnings
Asynchronous Python client for the GeoSphere Austria Warn API, which provides the official GeoSphere Austria weather warnings for all municipalities in Austria.
Usage
import asyncio
import aiohttp
from pygeosphere_warnings import GeoSphereWarningsClient
async def main() -> None:
async with aiohttp.ClientSession() as session:
client = GeoSphereWarningsClient(session)
# Cheap HEAD precheck: timestamp of the latest warning update
last_modified = await client.get_last_modified()
print(f"Warnings last updated: {last_modified}")
# Warnings for the municipality at the given coordinates
warnings = await client.get_warnings_for_coords(48.2486, 16.3564, "en")
print(f"Municipality: {warnings.municipality.name}")
for warning in warnings.warnings:
print(
f"- {warning.warning_type.name} ({warning.level.name}): {warning.text}"
)
# Automated thunderstorm warnings (municipality id -> intensity)
thunderstorms = await client.get_thunderstorms()
print(thunderstorms.get(warnings.municipality.municipality_id))
asyncio.run(main())
License
MIT. Warning data: © GeoSphere Austria, CC BY 4.0.
Metadata
Release files for pygeosphere-warnings 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pygeosphere_warnings-0.1.2.tar.gz | 8.8 kB | With provenance | Details for pygeosphere_warnings-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pygeosphere_warnings-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for pygeosphere_warnings-0.1.2-py3-none-any.whl |
Total release size: 15.8 kB
Release files / pygeosphere_warnings-0.1.2.tar.gz
| Download URL | pygeosphere_warnings-0.1.2.tar.gz |
|---|---|
| Size | 8.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a495dcf37e05616cccacf5c4e2a5baead9443057d2b42a2ed246287ca9d3e690
|
|
BLAKE2b-256 checksum How to use checksums |
3c9959834c8867ceebbb67e01c64a15da0089881cb55f352694cf4ead599b570
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Aug 6, 2026.
Transparency logRelease files / pygeosphere_warnings-0.1.2-py3-none-any.whl
| Download URL | pygeosphere_warnings-0.1.2-py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
43b111554e4c56fddc7da10e0dc2473f1c77edcd42b84a70ce91194addaa56f3
|
|
BLAKE2b-256 checksum How to use checksums |
3bc63e87410b950991b3fc263073e3e9a266891e4d52b3c61437229dadf8da5b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Aug 6, 2026.
Transparency logSecurity for pygeosphere-warnings 0.1.2
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
All 2 files in this release have been uploaded with provenance metadata.
Attestation for pygeosphere_warnings-0.1.2.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 Aug 6, 2026.
Transparency logA 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.