Daily forecast

class python_weather.forecast.DailyForecast

A weather forecast for a specific day.

date: date

The local date of this forecast.

highest_temperature: int

The highest temperature in either celcius or fahrenheit.

hourly_forecasts: list[HourlyForecast]

The hourly forecasts of this day.

lowest_temperature: int

The lowest temperature in either celcius or fahrenheit.

moon_illumination: int

The percentage of the moon illuminated.

moon_phase: Phase

The moon’s phase.

moonrise: time | None

The local time when the moon rises.

moonset: time | None

The local time when the moon sets.

snowfall: float

Total snowfall in either centimeters or inches.

sunlight: float

Hours of sunlight.

sunrise: time | None

The local time when the sun rises.

sunset: time | None

The local time when the sun sets.

temperature: int

The average temperature in either celcius or fahrenheit.

class python_weather.enums.Phase

A moon phase.

FIRST_QUARTER = 'First Quarter'
FULL_MOON = 'Full Moon'
LAST_QUARTER = 'Last Quarter'
NEW_MOON = 'New Moon'
WANING_CRESCENT = 'Waning Crescent'
WANING_GIBBOUS = 'Waning Gibbous'
WAXING_CRESCENT = 'Waxing Crescent'
WAXING_GIBBOUS = 'Waxing Gibbous'
property emoji: str

The moon phase’s emoji representation.