Skip to content

Airport

airport ¤

Airport ¤

continent property ¤

continent: str

country property ¤

country: str

fullname property ¤

fullname: str

hub_cost property ¤

hub_cost: int

iata property ¤

iata: str

icao property ¤

icao: str

id property ¤

id: int

lat property ¤

lat: float

lng property ¤

lng: float

market property ¤

market: int

name property ¤

name: str

rwy property ¤

rwy: int

rwy_codes property ¤

rwy_codes: str

valid property ¤

valid: bool

ParseResult ¤

ParseResult(arg0: SearchType, arg1: str)
search_str property ¤
search_str: str
search_type property ¤
search_type: SearchType

SearchResult ¤

SearchResult(arg0: Airport, arg1: ParseResult)
ap property ¤
ap: Airport
parse_result property ¤
parse_result: ParseResult

SearchType ¤

SearchType(value: int)

Members:

ALL

IATA

ICAO

NAME

FULLNAME

ID

ALL class-attribute ¤
FULLNAME class-attribute ¤
FULLNAME: SearchType
IATA class-attribute ¤
IATA: SearchType
ICAO class-attribute ¤
ICAO: SearchType
ID class-attribute ¤
NAME class-attribute ¤
NAME: SearchType
name property ¤
name: str
value property ¤
value: int

Suggestion ¤

Suggestion(arg0: Airport, arg1: float)
ap property ¤
ap: Airport
score property ¤
score: float

search staticmethod ¤

search(s: str) -> SearchResult

suggest staticmethod ¤

suggest(s: ParseResult) -> list[Suggestion]

to_dict ¤

to_dict() -> dict