帮助自动化项目。

hed-utils的Python项目详细描述


用于(主要是)自动化项目的Helper python实用程序

说明

要求:

  • python >= 3.6.5

依赖关系:

  • bs4
  • lxml
  • requests
  • selenium
  • psutil
  • tabulate
  • xlrd
  • xlwt
  • more_itertools
  • pyminizip
  • pytz
  • tzlocal
  • python-dotenv
  • gspread
  • oauth2client

安装/更新:

pip install -U –force hed_utils

安装cli绑定:

  • rkill - recursively kills target processes by first killing their children (useful for Windows)

    By default the command is executed in ‘dry mode’ (not actually killing the victims, but only print them)

    To actually perform the kills add -y or –yes as last argument.

  • 安装Docker-如果当前操作系统受支持(当前只有ubuntu),则执行Docker安装。

    Once called it will ask for console confirmation before proceeding.

cli示例:

  • Kill all processes with given name, ignoring casing (dry run)
    rkill -n process_name -i
  • Kill all processes by name pattern (dry run)
    rkill -p name_regex_pattern
  • Kill process and it’s children by pid (performs the kill, since -y passed )
    rkill -pid process_pid -y
  • Kill all chromedriver processes and the browser instances they started (performs the kill)
    rkill -p .*chromedriver.* -y

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

推荐PyPI第三方库


热门话题
服务器(java)无法从具有SSL连接的客户端(c#)接收XML   我有一个maven项目,它不断抛出异常java。lang.NoClassDefFoundError:   什么时候需要将java类X放入名为X.java的文件中?   java如何在spring Boot 2中为spring批处理配置数据源以进行测试   java无法在简单程序上解析符号“上下文”   java JList,内部有3个JLabel   java jacksondataformatcsv:映射不带POJO的数值   eclipse在Java7中允许从数字转换为双精度?(自动装箱)   java写入属性文件不起作用   java My PDF未打开,locgcat中未显示错误   在Java HashMap中使用对象作为键   Java中的长基元类型范围   使用Apache HttpClient的java Http 400 PUT请求   java如何插入日期和时间对象?Php mysql错误