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

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 ArrayList对象转换为实际值   web服务如何在JAVA类uisng JAXBElement中解组SOAP UI值   包含无值参数的java HttpClient表单URL   运行简单Camel Restlet演示项目的java问题?   带有自定义图标的java简单SWT警报消息?   java Netbeans 6.8:LibImport可以工作,但编译时“包不存在”   java如何获得绘画完成的通知?   java Hazelcast客户端模式群集故障后如何恢复?   Neo4J中Shapefile的java批插入   为什么ThreadPoolExecutor在Eclipse和从命令行运行Java程序时表现不同?   java在Android中计算两个坐标之间的距离时得到了荒谬的值   java在CardLayout中显示卡本身的下一张卡