每公里搜索最便宜飞机航班的包裹。
flight-optimizer的Python项目详细描述
飞行优化器
命令行界面(CLI)搜索每公里最便宜的飞机航班。在
安装:
pip install flight-optimizer
需要python>;=3.6
用法:
^{pr2}$输出:
From Paris, Paris Orly: To New York, John F. Kennedy International $381 / 5834km=$0.07 per km To London, Heathrow $340 / 367km=$0.93 per km To Moscow, Domodedovo International currently there is no any flights. Explanation and suggestions: City "londo" was misspelled. It was assumed as "London" in United Kingdom. Maybe you meant next options: "East London" in South Africa, "Londolozi Private Game Reserve" in South Africa, "London" in Canada, "New London" in United States
选项:
-f, --from TEXT Departure City [required] -t, --to TEXT Destination City (can be multiple)[required] -a, --all-destinations Shows flights for every destination. (default - shows only the best destination) -e, --explain-result If entered cities were misspelled, then it explains what cities were searched and suggests correct city name options
学分
由埃里克·杜伊舍夫开发
灵感来自B12
- 项目
标签: