imgw-pib
Python wrapper for IMGW-PIB API.
Decision gist · record as of 2026-08-14
Yes, if you need Polish weather or hydrological data in an async Python application. The package is actively maintained, has no known vulnerabilities, and uses a permissive license. The Python 3.13+ requirement is restrictive but intentional; verify your target environment supports it. Low install friction and a clear API make it straightforward to adopt.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.13 or later; requires an active aiohttp ClientSession and valid IMGW-PIB station IDs.
- Low install friction with a pure-Python wheel.
- Active maintenance with a release 18 days ago and recent commits.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions.
last release 2026-07-27 (18 days) · last repo commit 2026-08-09 · 4 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 88,693 downloads/mo, #13,710 on PyPI
Alternatives
Verify before relying
import asyncio
from aiohttp import ClientSession
from imgw_pib import ImgwPib
async def main():
async with ClientSession() as session:
imgwpib = await ImgwPib.create(session, weather_station_id="12200")
weather = await imgwpib.get_weather_data()
print(weather)
asyncio.run(main())- Whether the package handles rate limiting or connection pooling for repeated API calls
- API availability and stability guarantees for the underlying IMGW-PIB service
- Whether station IDs are discoverable or must be known in advance
What it is and what it does
This package provides an async Python client for querying weather and hydrological data from Poland's IMGW-PIB (Institute of Meteorology and Water Management) API. It wraps the HTTP API calls using aiohttp, allowing non-blocking requests suitable for integration into async applications. The library handles API errors, network timeouts, and client errors with specific exception types.
The package is built on aiofiles, aiohttp, orjson, and yarl for efficient async I/O and JSON parsing. It targets modern Python (3.13+) and is classified as production-stable. Use it when you need to fetch current or historical weather and water-level data for Polish monitoring stations in an async context.
Use it for
- Fetch real-time weather data from Polish meteorological stations for a weather dashboard or alert system.
- Monitor hydrological station data (water levels, flow rates) for flood prediction or water resource management.
- Integrate IMGW-PIB data into an async IoT or home automation system that queries multiple APIs concurrently.
- Build a data pipeline that periodically collects weather and hydrological observations for analysis or archival.
- Create a weather API aggregator that combines IMGW-PIB with other regional data sources.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need Polish weather or hydrological data in an async Python application.
The package is actively maintained, has no known vulnerabilities, and uses a permissive license. The Python 3.13+ requirement is restrictive but intentional; verify your target environment supports it. Low install friction and a clear API make it straightforward to adopt.
Install
imgw-pib on PyPI
Before you install
Low install friction with a pure-Python wheel. Active maintenance with a release 18 days ago and recent commits. Requires Python 3.13 or later, which narrows compatibility to current versions only.
Requires Python 3.13 or later; requires an active aiohttp ClientSession and valid IMGW-PIB station IDs.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions.
Quickstart
import asyncio
from aiohttp import ClientSession
from imgw_pib import ImgwPib
async def main():
async with ClientSession() as session:
imgwpib = await ImgwPib.create(session, weather_station_id="12200")
weather = await imgwpib.get_weather_data()
print(weather)
asyncio.run(main())
Verify before relying
- Whether the package handles rate limiting or connection pooling for repeated API calls
- API availability and stability guarantees for the underlying IMGW-PIB service
- Whether station IDs are discoverable or must be known in advance
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.13 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packagesaiofilesaiohttporjsonyarl |
| Maintenance | Actively maintained 18 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 88,693 / month, #13,710 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.13Programming Language :: Python :: 3.14Typing :: Typed |
Evidence: imgw_pib-2.5.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “IMGW-PIB API wrapper”
- imgw-pibAn async Python wrapper for the IMGW-PIB API that fetches weather and…
- twentyc.rpcA client library for consuming 20c's RESTful API, built on top of the…
- asyncprawAsync PRAW provides asynchronous access to Reddit's API, allowing you…
Give your agent the search over MCP, or paste the wish link into any chat.
More WWW/HTTP packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.
Install it if you are building new projects or modernizing existing ones that rely on HTTP.
A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.
aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.
Install it if you need async HTTP client or server capabilities in asyncio-based applications.
See also accuweather · gios · aioecowitt · aioambient · pytrafikverket · pyatmo · pyairvisual · simple-dwd-weatherforecast · meteostat · nextdns