每公里搜索最便宜飞机航班的包裹。

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

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
生成的代码为什么在无人机中使用Java是不安全的?   java实体继承和鉴别器列   java使用Struts 2中sj:datepicker的beforeShow事件   JavaMaven没有安装pom文件中的所有内容,导致“缺少必需的库”x124   java将自定义GIF从assets文件夹加载到recyclerview 安卓中   java实现稀疏数组   java在获得所需结果集后关闭连接对象   java在活动中将数组值添加到MClickListener()   java如何删除单元格工厂引用   java字符串。分号分隔   Java抽象和接口   java Intellij IDEA SLF4J:未能加载类“org.SLF4J.impl.StaticLoggerBinder”   java改造JsonArray recyclerview异常   JavaJUnit@Theory:有没有方法抛出有意义的异常?   如何在Java中将XML内容写入字符串?