grimreaper进程杀手的python客户端。

GrimReapersPie的Python项目详细描述


https://img.shields.io/pypi/dm/GrimReapersPie.svghttps://img.shields.io/pypi/v/GrimReapersPie.svghttps://img.shields.io/github/tag/matee911/GrimReapersPie.svghttps://img.shields.io/github/release/matee911/GrimReapersPie.svghttps://img.shields.io/github/commits-since/matee911/GrimReapersPie/0.1.0a1.svghttps://img.shields.io/pypi/pyversions/GrimReapersPie.svghttps://img.shields.io/pypi/wheel/GrimReapersPie.svghttps://img.shields.io/pypi/status/GrimReapersPie.svghttps://img.shields.io/pypi/l/GrimReapersPie.svgCode Climatehttps://scrutinizer-ci.com/g/matee911/GrimReapersPie/badges/quality-score.png?b=masterhttps://img.shields.io/github/issues/matee911/GrimReapersPie.svghttps://img.shields.io/twitter/url/https/github.com/matee911/GrimReapersPie.svg?style=socialhttps://img.shields.io/twitter/url/https/pypi.python.org/pypi/GrimReapersPie.svg?style=social

简介

grimreaperspie是一个apache2许可的库,用python编写,到(un)register 使用GrimReaper的长时间运行的进程。 运行时间超过注册期间给定时间的进程将被终止 由GrimReaper守护进程执行。

先决条件

安装并运行GrimReaper

安装

要安装此库,只需:

$ pip install -U GrimReapersPie

用法

>>>fromgrimreaperimportGrimReaper>>>grim_reaper=GrimReaper(process_timeout=5)# set the global (default is 30s) timeout for 5 seconds>>>grim_reaper.register(timeout=10)# or override the global timeout here# long-running job>>>grim_reaper.unregister()# please, don't kill me, I had done my job before time has passed.

贡献

请参见contribution.rst

发布历史记录

0.1.0a2(2015-09-14)

  • 修复了pypi包

0.1.0a1(2015-09-12)

  • 出生在Python2.7和Python3.4下进行了简短的测试

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

推荐PyPI第三方库


热门话题
Android上已连接音频输入设备的java列表   java是创建类的新对象还是使用静态方法?   Java:Shift/Rotate对象数组   Java Casting ArrayIterator<Object>   在java中返回布尔值时出错   无法确定文本文件读入程序(java)中的各种元素   Java Swing JToolBar   JAVAlang.IllegalStateException执行Ghost4J(Linux 32对64位)   jvm如何增加ubuntu系统的java堆化?   java CORS策略“AccessControlAllowOrigin”(Anguar 8和Servlet)   使用dagger 2的java视图依赖项注入   单元测试中RxJava的java模拟活动生命周期   arraylist中的Java打印字符串   java返回值显示为0.0。为什么会这样?   java是clientserver应用程序所必需的MVC吗?   ByteToMessageDecoder类中的java内存泄漏   java将大量文档写入firestore   GWT项目中的java TomcatMaven插件。两者之间的区别是什么:org。科德豪斯。魔咒和组织。阿帕奇。公猫maven插件   java swing:向JTree项添加自定义图形按钮