帮助自动化项目。

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运行openssl命令?   不使用线程安全类(如AtomicInteger和SynchronizedList)的java ProducerConsumer问题   匹配字符串的java模式   在java中使用泛型接口作为返回类型   java将可能具有序列化JSON值的hashmap作为节点添加到JSON字符串中   Eclipse无法从Java8流推断正确的类型   java无法了解标准JButton的大小   java我能用一个循环优化这个函数吗(在第一种方法中)?   Apache CXF中基于WebSocket的java SOAP?   java想要运行奇偶和求和三步   矩阵上随机元素的java集值   java布尔相等:0==a,操作数顺序重要吗?   java Eclipse不会退出我的插件   java如何在spring的SOAP拦截器中获取HttpServletRequest和HttpServletResponse