Skip to content

Airport

airport ¤

Classes:

Name Description
Airport

Airport ¤

Classes:

Name Description
ParseResult
SearchResult
SearchType

Members:

Suggestion

Methods:

Name Description
search
suggest
to_dict

Attributes:

Name Type Description
continent str
country str
fullname str
hub_cost int
iata str
icao str
id int
lat float
lng float
market int
name str
rwy int
rwy_codes str
valid bool

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)

Attributes:

Name Type Description
search_str str
search_type SearchType
search_str property ¤
search_str: str
search_type property ¤
search_type: SearchType
_pybind11_conduit_v1_ staticmethod ¤
_pybind11_conduit_v1_(*args, **kwargs)

SearchResult ¤

SearchResult(arg0: Airport, arg1: ParseResult)

Attributes:

Name Type Description
ap Airport
parse_result ParseResult
ap property ¤
ap: Airport
parse_result property ¤
parse_result: ParseResult
_pybind11_conduit_v1_ staticmethod ¤
_pybind11_conduit_v1_(*args, **kwargs)

SearchType ¤

SearchType(value: int)

Members:

ALL

IATA

ICAO

NAME

FULLNAME

ID

Attributes:

Name Type Description
ALL SearchType
FULLNAME SearchType
IATA SearchType
ICAO SearchType
ID SearchType
NAME SearchType
name str
value int
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
_pybind11_conduit_v1_ staticmethod ¤
_pybind11_conduit_v1_(*args, **kwargs)

Suggestion ¤

Suggestion(arg0: Airport, arg1: float)

Attributes:

Name Type Description
ap Airport
score float
ap property ¤
ap: Airport
score property ¤
score: float
_pybind11_conduit_v1_ staticmethod ¤
_pybind11_conduit_v1_(*args, **kwargs)

_pybind11_conduit_v1_ staticmethod ¤

_pybind11_conduit_v1_(*args, **kwargs)

search staticmethod ¤

search(s: str) -> SearchResult

suggest staticmethod ¤

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

to_dict ¤

to_dict() -> dict