Weather forecast¶
- class python_weather.forecast.Forecast¶
Represents today’s weather forecast, alongside daily and hourly weather forecasts.
- property daily_forecasts: Iterable[DailyForecast]¶
Daily weather forecasts in this location.
- property description: str¶
The description regarding the forecast. This can be localized in different languages depending on the localization used.
- property ultraviolet: UltraViolet¶
The ultra-violet (UV) index.
- property wind_direction: WindDirection¶
The wind direction.
- class python_weather.enums.Kind¶
Represents a weather forecast kind.
- CLOUDY = 119¶
- FOG = 143¶
- HEAVY_RAIN = 302¶
- HEAVY_SHOWERS = 299¶
- HEAVY_SNOW = 230¶
- HEAVY_SNOW_SHOWERS = 335¶
- LIGHT_RAIN = 266¶
- LIGHT_SHOWERS = 176¶
- LIGHT_SLEET = 182¶
- LIGHT_SLEET_SHOWERS = 179¶
- LIGHT_SNOW = 227¶
- LIGHT_SNOW_SHOWERS = 323¶
- PARTLY_CLOUDY = 116¶
- SUNNY = 113¶
- THUNDERY_HEAVY_RAIN = 389¶
- THUNDERY_SHOWERS = 200¶
- THUNDERY_SNOW_SHOWERS = 392¶
- VERY_CLOUDY = 122¶
- class python_weather.enums.UltraViolet¶
Represents ultra-violet (UV) index.
- EXTREME = None¶
- HIGH = None¶
- LOW = None¶
- MODERATE = None¶
- VERY_HIGH = None¶
- class python_weather.enums.WindDirection¶
Represents a wind direction.
- EAST = 'E'¶
- EAST_NORTHEAST = 'ENE'¶
- EAST_SOUTHEAST = 'ESE'¶
- NORTH = 'N'¶
- NORTHEAST = 'NE'¶
- NORTHWEST = 'NW'¶
- NORTH_NORTHEAST = 'NNE'¶
- NORTH_NORTHWEST = 'NNW'¶
- SOUTH = 'S'¶
- SOUTHEAST = 'SE'¶
- SOUTHWEST = 'SW'¶
- SOUTH_SOUTHEAST = 'SSE'¶
- SOUTH_SOUTHWEST = 'SSW'¶
- WEST = 'W'¶
- WEST_NORTHWEST = 'WNW'¶
- WEST_SOUTHWEST = 'WSW'¶