安装

fasttest 已发布到PyPi平台,可通过pip直接安装。

opencv在3.4.2以上版本使用其算法需要授权确认,该版本最高支持Python3.7,如不需要图片对比能力,可安装最新版Python和opencv-contrib-python

  1. pip3 install fasttest

如果想保持最新版本,可通过github资源地址安装。

  1. pip3 install git+https://github.com/Jodeee/fasttest.git

检查

检查 fasttest 版本:

  1. $ fasttest -V
  2. 1.0.0

查看帮助:

$ fasttest -h

  usage: fasttest [-h|-v|] [arg] ...

  options:

    -h, --help      show help screen and exit.
    -V, --Version   show version.
    -i, --init      specify a project name and create the project.
    -r, --run       specify the project path and run the project.
    -w, --workers   specify number of threads.

参考

安装常见问题