Skip to content

pywttr

Welcome to the documentation of pywttr, the wrapper for the wttr.in weather API!

Asynchronous version here.

Installation

The latest version can be installed with the following command:

pip install -U pywttr pywttr-models

API Reference

Wrapper for wttr.in weather API.

Examples:

Choose language. First option is preferred because of type safety.

language = pywttr.Language.ZH_CN
language = pywttr.Language["ZH_CN"]
language = pywttr.Language("zh-cn")

Print the average temperature in Paris today:

with pywttr.Wttr() as wttr:
    weather = wttr.weather("Paris", language=language)
print(weather.weather[0].avgtemp_c)

Custom base url:

with pywttr.Wttr(
    base_url=pydantic.AnyHttpUrl("https://example.com")
) as wttr:
    ...

Custom httpx.Client:

with httpx.Client(
    timeout=httpx.Timeout(60, connect=5), follow_redirects=True
) as session:
    wttr = pywttr.Wttr(session=session)
    ...

__version__ module-attribute

__version__ = '4.0.1'

Language

Language(_: str, model: type[AnyModel])

Bases: StrEnum

StrEnum of languages supported by wttr.in.

Examples:

First option is preferred because of type safety.

language = Language.ZH_CN
language = Language["ZH_CN"]
language = Language("zh-cn")

AF class-attribute instance-attribute

AF = ('af', Model)

AM class-attribute instance-attribute

AM = ('am', Model)

AR class-attribute instance-attribute

AR = ('ar', Model)

BE class-attribute instance-attribute

BE = ('be', Model)

BN class-attribute instance-attribute

BN = ('bn', Model)

CA class-attribute instance-attribute

CA = ('ca', Model)

DA class-attribute instance-attribute

DA = ('da', Model)

DE class-attribute instance-attribute

DE = ('de', Model)

EL class-attribute instance-attribute

EL = ('el', Model)

EN class-attribute instance-attribute

EN = ('en', Model)

ET class-attribute instance-attribute

ET = ('et', Model)

FA class-attribute instance-attribute

FA = ('fa', Model)

FR class-attribute instance-attribute

FR = ('fr', Model)

GL class-attribute instance-attribute

GL = ('gl', Model)

HI class-attribute instance-attribute

HI = ('hi', Model)

HU class-attribute instance-attribute

HU = ('hu', Model)

IA class-attribute instance-attribute

IA = ('ia', Model)

ID class-attribute instance-attribute

ID = ('id', Model)

IT class-attribute instance-attribute

IT = ('it', Model)

LT class-attribute instance-attribute

LT = ('lt', Model)

MG class-attribute instance-attribute

MG = ('mg', Model)

NB class-attribute instance-attribute

NB = ('nb', Model)

NL class-attribute instance-attribute

NL = ('nl', Model)

OC class-attribute instance-attribute

OC = ('oc', Model)

PL class-attribute instance-attribute

PL = ('pl', Model)

PT_BR class-attribute instance-attribute

PT_BR = ('pt-br', Model)

RO class-attribute instance-attribute

RO = ('ro', Model)

RU class-attribute instance-attribute

RU = ('ru', Model)

TA class-attribute instance-attribute

TA = ('ta', Model)

TH class-attribute instance-attribute

TH = ('th', Model)

TR class-attribute instance-attribute

TR = ('tr', Model)

UK class-attribute instance-attribute

UK = ('uk', Model)

VI class-attribute instance-attribute

VI = ('vi', Model)

ZH_CN class-attribute instance-attribute

ZH_CN = ('zh-cn', Model)

ZH_TW class-attribute instance-attribute

ZH_TW = ('zh-tw', Model)

_model_ instance-attribute

_model_: Final = model

Wttr

Wttr(
    *,
    base_url: AnyHttpUrl = build(
        scheme="https", host="wttr.in"
    ),
    session: Client | None = None,
)

Wrapper for wttr.in weather API.

Examples:

Choose language. First option is preferred because of type safety.

language = pywttr.Language.ZH_CN
language = pywttr.Language["ZH_CN"]
language = pywttr.Language("zh-cn")

Print the average temperature in Paris today:

with pywttr.Wttr() as wttr:
    weather = wttr.weather("Paris", language=language)
print(weather.weather[0].avgtemp_c)

Custom base url:

with pywttr.Wttr(
    base_url=pydantic.AnyHttpUrl("https://example.com")
) as wttr:
    ...

Custom httpx.Client:

with httpx.Client(
    timeout=httpx.Timeout(60, connect=5), follow_redirects=True
) as session:
    wttr = pywttr.Wttr(session=session)
    ...

base_url property

base_url: AnyHttpUrl

session property

session: Client | None

weather

weather(
    location: str, /, *, language: Literal[AF]
) -> Model
weather(
    location: str, /, *, language: Literal[AM]
) -> Model
weather(
    location: str, /, *, language: Literal[AR]
) -> Model
weather(
    location: str, /, *, language: Literal[BE]
) -> Model
weather(
    location: str, /, *, language: Literal[BN]
) -> Model
weather(
    location: str, /, *, language: Literal[CA]
) -> Model
weather(
    location: str, /, *, language: Literal[DA]
) -> Model
weather(
    location: str, /, *, language: Literal[DE]
) -> Model
weather(
    location: str, /, *, language: Literal[EL]
) -> Model
weather(
    location: str, /, *, language: Literal[EN] = ...
) -> Model
weather(
    location: str, /, *, language: Literal[ET]
) -> Model
weather(
    location: str, /, *, language: Literal[FA]
) -> Model
weather(
    location: str, /, *, language: Literal[FR]
) -> Model
weather(
    location: str, /, *, language: Literal[GL]
) -> Model
weather(
    location: str, /, *, language: Literal[HI]
) -> Model
weather(
    location: str, /, *, language: Literal[HU]
) -> Model
weather(
    location: str, /, *, language: Literal[IA]
) -> Model
weather(
    location: str, /, *, language: Literal[ID]
) -> Model
weather(
    location: str, /, *, language: Literal[IT]
) -> Model
weather(
    location: str, /, *, language: Literal[LT]
) -> Model
weather(
    location: str, /, *, language: Literal[MG]
) -> Model
weather(
    location: str, /, *, language: Literal[NB]
) -> Model
weather(
    location: str, /, *, language: Literal[NL]
) -> Model
weather(
    location: str, /, *, language: Literal[OC]
) -> Model
weather(
    location: str, /, *, language: Literal[PL]
) -> Model
weather(
    location: str, /, *, language: Literal[PT_BR]
) -> Model
weather(
    location: str, /, *, language: Literal[RO]
) -> Model
weather(
    location: str, /, *, language: Literal[RU]
) -> Model
weather(
    location: str, /, *, language: Literal[TA]
) -> Model
weather(
    location: str, /, *, language: Literal[TH]
) -> Model
weather(
    location: str, /, *, language: Literal[TR]
) -> Model
weather(
    location: str, /, *, language: Literal[UK]
) -> Model
weather(
    location: str, /, *, language: Literal[VI]
) -> Model
weather(
    location: str, /, *, language: Literal[ZH_CN]
) -> Model
weather(
    location: str, /, *, language: Literal[ZH_TW]
) -> Model
weather(
    location: str, /, *, language: Language
) -> AnyModel
weather(
    location: str, /, *, language: Language = EN
) -> AnyModel

Wrapper for wttr.in weather API.

Examples:

Choose language. First option is preferred because of type safety.

language = pywttr.Language.ZH_CN
language = pywttr.Language["ZH_CN"]
language = pywttr.Language("zh-cn")

Print the average temperature in Paris today:

with pywttr.Wttr() as wttr:
    weather = wttr.weather("Paris", language=language)
print(weather.weather[0].avgtemp_c)

Custom base url:

with pywttr.Wttr(
    base_url=pydantic.AnyHttpUrl("https://example.com")
) as wttr:
    ...

Custom httpx.Client:

with httpx.Client(
    timeout=httpx.Timeout(60, connect=5), follow_redirects=True
) as session:
    wttr = pywttr.Wttr(session=session)
    ...

close

close() -> None

Close HTTP session.

__enter__

__enter__() -> Self

__exit__

__exit__(*_: object) -> None

models

Internal library for pywttr and aiopywttr.

AnyModel module-attribute

__version__ module-attribute

__version__ = '2.0.7'

af

Model module-attribute
CurrentConditionItem

Bases: CurrentConditionItem

lang_af instance-attribute
lang_af: tuple[WeatherDescItem, ...]
HourlyItem

Bases: HourlyItem

lang_af instance-attribute
lang_af: tuple[WeatherDescItem, ...]

am

Model module-attribute
CurrentConditionItem

Bases: CurrentConditionItem

lang_am instance-attribute
lang_am: tuple[WeatherDescItem, ...]
HourlyItem

Bases: HourlyItem

lang_am instance-attribute
lang_am: tuple[WeatherDescItem, ...]

ar

Model module-attribute
CurrentConditionItem

Bases: CurrentConditionItem

lang_ar instance-attribute
lang_ar: tuple[WeatherDescItem, ...]
HourlyItem

Bases: HourlyItem

lang_ar instance-attribute
lang_ar: tuple[WeatherDescItem, ...]

base

LangItem module-attribute
LangItem = WeatherDescItem
WeatherDescItem

Bases: FrozenModel

value instance-attribute
value: str
WeatherIconUrlItem

Bases: FrozenModel

value instance-attribute
value: str
CurrentConditionItem

Bases: FrozenModel

feels_like_c class-attribute instance-attribute
feels_like_c: int = Field(alias='FeelsLikeC')
feels_like_f class-attribute instance-attribute
feels_like_f: int = Field(alias='FeelsLikeF')
cloudcover instance-attribute
cloudcover: int
humidity instance-attribute
humidity: int
observation_time instance-attribute
observation_time: str
precip_inches class-attribute instance-attribute
precip_inches: float = Field(alias='precipInches')
precip_mm class-attribute instance-attribute
precip_mm: float = Field(alias='precipMM')
pressure instance-attribute
pressure: int
pressure_inches class-attribute instance-attribute
pressure_inches: int = Field(alias='pressureInches')
temp_c class-attribute instance-attribute
temp_c: int = Field(alias='temp_C')
temp_f class-attribute instance-attribute
temp_f: int = Field(alias='temp_F')
uv_index class-attribute instance-attribute
uv_index: int = Field(alias='uvIndex')
visibility instance-attribute
visibility: int
visibility_miles class-attribute instance-attribute
visibility_miles: int = Field(alias='visibilityMiles')
weather_code class-attribute instance-attribute
weather_code: int = Field(alias='weatherCode')
weather_desc class-attribute instance-attribute
weather_desc: tuple[WeatherDescItem, ...] = Field(
    alias="weatherDesc"
)
weather_icon_url class-attribute instance-attribute
weather_icon_url: tuple[WeatherIconUrlItem, ...] = Field(
    alias="weatherIconUrl"
)
winddir16_point class-attribute instance-attribute
winddir16_point: str = Field(alias='winddir16Point')
winddir_degree class-attribute instance-attribute
winddir_degree: int = Field(alias='winddirDegree')
windspeed_kmph class-attribute instance-attribute
windspeed_kmph: int = Field(alias='windspeedKmph')
windspeed_miles class-attribute instance-attribute
windspeed_miles: int = Field(alias='windspeedMiles')
AreaNameItem

Bases: FrozenModel

value instance-attribute
value: str
CountryItem

Bases: FrozenModel

value instance-attribute
value: str
RegionItem

Bases: FrozenModel

value instance-attribute
value: str
WeatherUrlItem

Bases: FrozenModel

value instance-attribute
value: str
NearestAreaItem

Bases: FrozenModel

area_name class-attribute instance-attribute
area_name: tuple[AreaNameItem, ...] = Field(
    alias="areaName"
)
country instance-attribute
country: tuple[CountryItem, ...]
latitude instance-attribute
latitude: float
longitude instance-attribute
longitude: float
population instance-attribute
population: int
region instance-attribute
region: tuple[RegionItem, ...]
weather_url class-attribute instance-attribute
weather_url: tuple[WeatherUrlItem, ...] = Field(
    alias="weatherUrl"
)
RequestItem

Bases: FrozenModel

query instance-attribute
query: str
type instance-attribute
type: str
AstronomyItem

Bases: FrozenModel

moon_illumination instance-attribute
moon_illumination: int
moon_phase instance-attribute
moon_phase: str
moonrise instance-attribute
moonrise: str
moonset instance-attribute
moonset: str
sunrise instance-attribute
sunrise: str
sunset instance-attribute
sunset: str
HourlyItem

Bases: FrozenModel

dew_point_c class-attribute instance-attribute
dew_point_c: int = Field(alias='DewPointC')
dew_point_f class-attribute instance-attribute
dew_point_f: int = Field(alias='DewPointF')
feels_like_c class-attribute instance-attribute
feels_like_c: int = Field(alias='FeelsLikeC')
feels_like_f class-attribute instance-attribute
feels_like_f: int = Field(alias='FeelsLikeF')
heat_index_c class-attribute instance-attribute
heat_index_c: int = Field(alias='HeatIndexC')
heat_index_f class-attribute instance-attribute
heat_index_f: int = Field(alias='HeatIndexF')
wind_chill_c class-attribute instance-attribute
wind_chill_c: int = Field(alias='WindChillC')
wind_chill_f class-attribute instance-attribute
wind_chill_f: int = Field(alias='WindChillF')
wind_gust_kmph class-attribute instance-attribute
wind_gust_kmph: int = Field(alias='WindGustKmph')
wind_gust_miles class-attribute instance-attribute
wind_gust_miles: int = Field(alias='WindGustMiles')
chanceoffog instance-attribute
chanceoffog: int
chanceoffrost instance-attribute
chanceoffrost: int
chanceofhightemp instance-attribute
chanceofhightemp: int
chanceofovercast instance-attribute
chanceofovercast: int
chanceofrain instance-attribute
chanceofrain: int
chanceofremdry instance-attribute
chanceofremdry: int
chanceofsnow instance-attribute
chanceofsnow: int
chanceofsunshine instance-attribute
chanceofsunshine: int
chanceofthunder instance-attribute
chanceofthunder: int
chanceofwindy instance-attribute
chanceofwindy: int
cloudcover instance-attribute
cloudcover: int
diff_rad class-attribute instance-attribute
diff_rad: float = Field(alias='diffRad')
humidity instance-attribute
humidity: int
precip_inches class-attribute instance-attribute
precip_inches: float = Field(alias='precipInches')
precip_mm class-attribute instance-attribute
precip_mm: float = Field(alias='precipMM')
pressure instance-attribute
pressure: int
pressure_inches class-attribute instance-attribute
pressure_inches: int = Field(alias='pressureInches')
short_rad class-attribute instance-attribute
short_rad: float = Field(alias='shortRad')
temp_c class-attribute instance-attribute
temp_c: int = Field(alias='tempC')
temp_f class-attribute instance-attribute
temp_f: int = Field(alias='tempF')
time instance-attribute
time: int
uv_index class-attribute instance-attribute
uv_index: int = Field(alias='uvIndex')
visibility instance-attribute
visibility: int
visibility_miles class-attribute instance-attribute
visibility_miles: int = Field(alias='visibilityMiles')
weather_code class-attribute instance-attribute
weather_code: int = Field(alias='weatherCode')
weather_desc class-attribute instance-attribute
weather_desc: tuple[WeatherDescItem, ...] = Field(
    alias="weatherDesc"
)
weather_icon_url class-attribute instance-attribute
weather_icon_url: tuple[WeatherIconUrlItem, ...] = Field(
    alias="weatherIconUrl"
)
winddir16_point class-attribute instance-attribute
winddir16_point: str = Field(alias='winddir16Point')
winddir_degree class-attribute instance-attribute
winddir_degree: int = Field(alias='winddirDegree')
windspeed_kmph class-attribute instance-attribute
windspeed_kmph: int = Field(alias='windspeedKmph')
windspeed_miles class-attribute instance-attribute
windspeed_miles: int = Field(alias='windspeedMiles')
WeatherItem

Bases: FrozenModel, Generic[_THourlyItem]

astronomy instance-attribute
astronomy: tuple[AstronomyItem, ...]
avgtemp_c class-attribute instance-attribute
avgtemp_c: int = Field(alias='avgtempC')
avgtemp_f class-attribute instance-attribute
avgtemp_f: int = Field(alias='avgtempF')
date instance-attribute
date: str
hourly instance-attribute
hourly: tuple[_THourlyItem, ...]
maxtemp_c class-attribute instance-attribute
maxtemp_c: int = Field(alias='maxtempC')
maxtemp_f class-attribute instance-attribute
maxtemp_f: int = Field(alias='maxtempF')
mintemp_c class-attribute instance-attribute
mintemp_c: int = Field(alias='mintempC')
mintemp_f class-attribute instance-attribute
mintemp_f: int = Field(alias='mintempF')
sun_hour class-attribute instance-attribute
sun_hour: float = Field(alias='sunHour')
total_snow_cm class-attribute instance-attribute
total_snow_cm: float = Field(alias='totalSnow_cm')
uv_index class-attribute instance-attribute
uv_index: int = Field(alias='uvIndex')
Model

Bases: FrozenModel, Generic[_TCurrentConditionItem, _THourlyItem]

current_condition instance-attribute
current_condition: tuple[_TCurrentConditionItem, ...]
nearest_area instance-attribute
nearest_area: tuple[NearestAreaItem, ...]
request instance-attribute
request: tuple[RequestItem, ...]
weather instance-attribute
weather: tuple[WeatherItem[_THourlyItem], ...]

be

Model module-attribute
CurrentConditionItem

Bases: CurrentConditionItem

lang_be instance-attribute
lang_be: tuple[WeatherDescItem, ...]
HourlyItem

Bases: HourlyItem

lang_be instance-attribute
lang_be: tuple[WeatherDescItem, ...]

bn

Model module-attribute
CurrentConditionItem

Bases: CurrentConditionItem

lang_bn instance-attribute
lang_bn: tuple[WeatherDescItem, ...]
HourlyItem

Bases: HourlyItem

lang_bn instance-attribute
lang_bn: tuple[WeatherDescItem, ...]

ca

Model module-attribute
CurrentConditionItem

Bases: CurrentConditionItem

lang_ca instance-attribute
lang_ca: tuple[WeatherDescItem, ...]
HourlyItem

Bases: HourlyItem

lang_ca instance-attribute
lang_ca: tuple[WeatherDescItem, ...]

da

Model module-attribute
CurrentConditionItem

Bases: CurrentConditionItem

lang_da instance-attribute
lang_da: tuple[WeatherDescItem, ...]
HourlyItem

Bases: HourlyItem

lang_da instance-attribute
lang_da: tuple[WeatherDescItem, ...]

de

Model module-attribute
CurrentConditionItem

Bases: CurrentConditionItem

lang_de instance-attribute
lang_de: tuple[WeatherDescItem, ...]
HourlyItem

Bases: HourlyItem

lang_de instance-attribute
lang_de: tuple[WeatherDescItem, ...]

el

Model module-attribute
CurrentConditionItem

Bases: CurrentConditionItem

lang_el instance-attribute
lang_el: tuple[WeatherDescItem, ...]
HourlyItem

Bases: HourlyItem

lang_el instance-attribute
lang_el: tuple[WeatherDescItem, ...]

en

Model module-attribute
CurrentConditionItem

Bases: CurrentConditionItem

lang_xx property
lang_xx: tuple[WeatherDescItem, ...]
lang_en property
lang_en: tuple[WeatherDescItem, ...]
HourlyItem

Bases: HourlyItem

lang_xx property
lang_xx: tuple[WeatherDescItem, ...]
lang_en property
lang_en: tuple[WeatherDescItem, ...]

et

Model module-attribute
CurrentConditionItem

Bases: CurrentConditionItem

lang_et instance-attribute
lang_et: tuple[WeatherDescItem, ...]
HourlyItem

Bases: HourlyItem

lang_et instance-attribute
lang_et: tuple[WeatherDescItem, ...]

fa

Model module-attribute
CurrentConditionItem

Bases: CurrentConditionItem

lang_fa instance-attribute
lang_fa: tuple[WeatherDescItem, ...]
HourlyItem

Bases: HourlyItem

lang_fa instance-attribute
lang_fa: tuple[WeatherDescItem, ...]

fr

Model module-attribute
CurrentConditionItem

Bases: CurrentConditionItem

lang_fr instance-attribute
lang_fr: tuple[WeatherDescItem, ...]
HourlyItem

Bases: HourlyItem

lang_fr instance-attribute
lang_fr: tuple[WeatherDescItem, ...]

gl

Model module-attribute
CurrentConditionItem

Bases: CurrentConditionItem

lang_gl instance-attribute
lang_gl: tuple[WeatherDescItem, ...]
HourlyItem

Bases: HourlyItem

lang_gl instance-attribute
lang_gl: tuple[WeatherDescItem, ...]

hi

Model module-attribute
CurrentConditionItem

Bases: CurrentConditionItem

lang_hi instance-attribute
lang_hi: tuple[WeatherDescItem, ...]
HourlyItem

Bases: HourlyItem

lang_hi instance-attribute
lang_hi: tuple[WeatherDescItem, ...]

hu

Model module-attribute
CurrentConditionItem

Bases: CurrentConditionItem

lang_hu instance-attribute
lang_hu: tuple[WeatherDescItem, ...]
HourlyItem

Bases: HourlyItem

lang_hu instance-attribute
lang_hu: tuple[WeatherDescItem, ...]

ia

Model module-attribute
CurrentConditionItem

Bases: CurrentConditionItem

lang_ia instance-attribute
lang_ia: tuple[WeatherDescItem, ...]
HourlyItem

Bases: HourlyItem

lang_ia instance-attribute
lang_ia: tuple[WeatherDescItem, ...]

id

Model module-attribute
CurrentConditionItem

Bases: CurrentConditionItem

lang_id instance-attribute
lang_id: tuple[WeatherDescItem, ...]
HourlyItem

Bases: HourlyItem

lang_id instance-attribute
lang_id: tuple[WeatherDescItem, ...]

it

Model module-attribute
CurrentConditionItem

Bases: CurrentConditionItem

lang_it instance-attribute
lang_it: tuple[WeatherDescItem, ...]
HourlyItem

Bases: HourlyItem

lang_it instance-attribute
lang_it: tuple[WeatherDescItem, ...]

lt

Model module-attribute
CurrentConditionItem

Bases: CurrentConditionItem

lang_lt instance-attribute
lang_lt: tuple[WeatherDescItem, ...]
HourlyItem

Bases: HourlyItem

lang_lt instance-attribute
lang_lt: tuple[WeatherDescItem, ...]

mg

Model module-attribute
CurrentConditionItem

Bases: CurrentConditionItem

lang_mg instance-attribute
lang_mg: tuple[WeatherDescItem, ...]
HourlyItem

Bases: HourlyItem

lang_mg instance-attribute
lang_mg: tuple[WeatherDescItem, ...]

nb

Model module-attribute
CurrentConditionItem

Bases: CurrentConditionItem

lang_nb instance-attribute
lang_nb: tuple[WeatherDescItem, ...]
HourlyItem

Bases: HourlyItem

lang_nb instance-attribute
lang_nb: tuple[WeatherDescItem, ...]

nl

Model module-attribute
CurrentConditionItem

Bases: CurrentConditionItem

lang_nl instance-attribute
lang_nl: tuple[WeatherDescItem, ...]
HourlyItem

Bases: HourlyItem

lang_nl instance-attribute
lang_nl: tuple[WeatherDescItem, ...]

oc

Model module-attribute
CurrentConditionItem

Bases: CurrentConditionItem

lang_oc instance-attribute
lang_oc: tuple[WeatherDescItem, ...]
HourlyItem

Bases: HourlyItem

lang_oc instance-attribute
lang_oc: tuple[WeatherDescItem, ...]

pl

Model module-attribute
CurrentConditionItem

Bases: CurrentConditionItem

lang_pl instance-attribute
lang_pl: tuple[WeatherDescItem, ...]
HourlyItem

Bases: HourlyItem

lang_pl instance-attribute
lang_pl: tuple[WeatherDescItem, ...]

pt_br

Model module-attribute
CurrentConditionItem

Bases: CurrentConditionItem

lang_pt_br class-attribute instance-attribute
lang_pt_br: tuple[WeatherDescItem, ...] = Field(
    alias="lang_pt-br"
)
HourlyItem

Bases: HourlyItem

lang_pt_br class-attribute instance-attribute
lang_pt_br: tuple[WeatherDescItem, ...] = Field(
    alias="lang_pt-br"
)

ro

Model module-attribute
CurrentConditionItem

Bases: CurrentConditionItem

lang_ro instance-attribute
lang_ro: tuple[WeatherDescItem, ...]
HourlyItem

Bases: HourlyItem

lang_ro instance-attribute
lang_ro: tuple[WeatherDescItem, ...]

ru

Model module-attribute
CurrentConditionItem

Bases: CurrentConditionItem

lang_ru instance-attribute
lang_ru: tuple[WeatherDescItem, ...]
HourlyItem

Bases: HourlyItem

lang_ru instance-attribute
lang_ru: tuple[WeatherDescItem, ...]

ta

Model module-attribute
CurrentConditionItem

Bases: CurrentConditionItem

lang_ta instance-attribute
lang_ta: tuple[WeatherDescItem, ...]
HourlyItem

Bases: HourlyItem

lang_ta instance-attribute
lang_ta: tuple[WeatherDescItem, ...]

th

Model module-attribute
CurrentConditionItem

Bases: CurrentConditionItem

lang_th instance-attribute
lang_th: tuple[WeatherDescItem, ...]
HourlyItem

Bases: HourlyItem

lang_th instance-attribute
lang_th: tuple[WeatherDescItem, ...]

tr

Model module-attribute
CurrentConditionItem

Bases: CurrentConditionItem

lang_tr instance-attribute
lang_tr: tuple[WeatherDescItem, ...]
HourlyItem

Bases: HourlyItem

lang_tr instance-attribute
lang_tr: tuple[WeatherDescItem, ...]

uk

Model module-attribute
CurrentConditionItem

Bases: CurrentConditionItem

lang_uk instance-attribute
lang_uk: tuple[WeatherDescItem, ...]
HourlyItem

Bases: HourlyItem

lang_uk instance-attribute
lang_uk: tuple[WeatherDescItem, ...]

vi

Model module-attribute
CurrentConditionItem

Bases: CurrentConditionItem

lang_vi instance-attribute
lang_vi: tuple[WeatherDescItem, ...]
HourlyItem

Bases: HourlyItem

lang_vi instance-attribute
lang_vi: tuple[WeatherDescItem, ...]

zh_cn

Model module-attribute
CurrentConditionItem

Bases: CurrentConditionItem

lang_zh_cn class-attribute instance-attribute
lang_zh_cn: tuple[WeatherDescItem, ...] = Field(
    alias="lang_zh-cn"
)
HourlyItem

Bases: HourlyItem

lang_zh_cn class-attribute instance-attribute
lang_zh_cn: tuple[WeatherDescItem, ...] = Field(
    alias="lang_zh-cn"
)

zh_tw

Model module-attribute
CurrentConditionItem

Bases: CurrentConditionItem

lang_zh_tw class-attribute instance-attribute
lang_zh_tw: tuple[WeatherDescItem, ...] = Field(
    alias="lang_zh-tw"
)
HourlyItem

Bases: HourlyItem

lang_zh_tw class-attribute instance-attribute
lang_zh_tw: tuple[WeatherDescItem, ...] = Field(
    alias="lang_zh-tw"
)