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第三方库


热门话题
在java中将字符串转换为音频输入   java如何使用Spring Boot RestTemplate解组json列表   计算机上C++ OpenCV项目转换为OpenCV Android的java步骤   Java Spring Telegraf数据表不工作   openurlconnection与connect之间的java差异?   java Solr字段搜索、通配符和转义字符   java如何使用DLFolderLocalServiceUtil类的getFolders()方法?   尝试用Java编写文件   java连续双缓冲解决方案不起作用   两个数组的Java乘积   java Jackson,如何正确编写自定义反序列化程序   java将布尔标志按一定顺序排列以获得更好的性能是否有意义   java Vaadin无缓冲网格无法关闭   java在MySQL中以同一用户身份同时从不同客户端登录安全吗?   java如何使用安卓asynchttp库   java无法在Android中使用AlarmManager停止服务   java在Hibernate的XML配置文件中指定默认值   Spring启动应用程序中的java内存SQLITE不工作   Java代码无法写入文本文件,