env_canada
A package to access meteorological data from Environment Canada
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has no known vulnerabilities, low install friction, and a permissive MIT license. It provides a well-structured async interface to Environment Canada data that would otherwise require direct API calls. Install if you need Canadian weather, alerts, or environmental data in a Python application.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.11 or later.
- In Jupyter notebooks, use `await` instead of `asyncio.run()`.
- Low install friction with a pure-Python wheel.
License · maintenance · safety
MIT (permissive) — MIT license permits free use, modification, and distribution with minimal restrictions—suitable for most projects.
last release 2026-08-09 (5 days) · last repo commit 2026-08-09 · 110 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 95,191 downloads/mo, #13,283 on PyPI
Alternatives
Verify before relying
import asyncio
from env_canada import ECWeather
ec = ECWeather(coordinates=(50, -100))
await ec.update() # or asyncio.run(ec.update()) outside Jupyter
print(ec.conditions)
print(ec.daily_forecasts)- Whether the package handles rate limiting or throttling for Environment Canada API endpoints
- Reliability and uptime guarantees for the underlying Environment Canada data sources
- Whether historical data retrieval has date range limits or data availability constraints
What it is and what it does
env_canada is an async Python client for Environment Canada's public meteorological and environmental data services. It wraps multiple data sources—weather stations, radar, alerts, air quality indices, and hydrometric measurements—into a unified interface, automatically discovering station locations from coordinates or accepting explicit station codes in flexible formats.
The package is built on aiohttp for async I/O and uses geopy for coordinate handling, lxml for parsing, and pandas for data manipulation. It handles Environment Canada's dynamic infrastructure (including timestamped URL structures as of June 2025) transparently. Typical usage involves instantiating a data class (ECWeather, ECAlerts, ECRadar, etc.), calling update() asynchronously, and accessing the resulting properties. It supports bilingual output and customizable map rendering.
Use it for
- Fetch current weather conditions and forecasts for a location by coordinates or station code for a weather app or dashboard.
- Retrieve active weather alerts (warnings, watches, advisories) with full text and risk levels for alert aggregation or notification systems.
- Generate animated radar loops or static weather map images with customizable layers, opacity, and dimensions for web display.
- Monitor air quality health index (AQHI) and hydrometric data (water level/flow) for environmental or public health applications.
- Build historical weather analysis by querying daily or hourly data for a station across specific years and date ranges.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has no known vulnerabilities, low install friction, and a permissive MIT license. It provides a well-structured async interface to Environment Canada data that would otherwise require direct API calls. Install if you need Canadian weather, alerts, or environmental data in a Python application.
Install
env-canada on PyPI
Before you install
Low install friction with a pure-Python wheel. Actively maintained as of 2026-08-09 with recent releases. Requires Python 3.11 or later.
Requires Python 3.11 or later. In Jupyter notebooks, use `await` instead of `asyncio.run()`.
License in practice
MIT license permits free use, modification, and distribution with minimal restrictions—suitable for most projects.
Quickstart
import asyncio
from env_canada import ECWeather
ec = ECWeather(coordinates=(50, -100))
await ec.update() # or asyncio.run(ec.update()) outside Jupyter
print(ec.conditions)
print(ec.daily_forecasts)
Verify before relying
- Whether the package handles rate limiting or throttling for Environment Canada API endpoints
- Reliability and uptime guarantees for the underlying Environment Canada data sources
- Whether historical data retrieval has date range limits or data availability constraints
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.11 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 7 packagesaiohttpgeopylxmlpandasPillowpython-dateutilvoluptuous |
| Maintenance | Actively maintained 5 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 95,191 / month, #13,283 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Operating System :: OS IndependentProgramming Language :: Python :: 3 |
Evidence: env_canada-0.19.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 › “environment canada weather data”
- env_canadaProvides async access to Environment Canada weather observations,…
- stats-canFetches Statistics Canada data through the Web Data Service API and…
- ecmwf-api-clientPython client for accessing ECMWF's IFS research experiments and MARS…
Give your agent the search over MCP, or paste the wish link into any chat.
More Internet packages
Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.
Install it if you need programmatic access to AWS services.
Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.
Install it if you need to call AWS services from async Python code; it is the standard way to do so.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.
See also pynws · stats-can · meteofrance-api · arm-pyart · accuweather · irm-kmi-api · gios · meteostat · buienradar · open-radar-data