Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Python client to the GrimReaper process killer.

Project Description

Introduction

The GrimReapersPie is an Apache2 Licensed library, written in python, to (un)register long-running processes with the GrimReaper. Processes running longer than the time given during the registration, will be killed by the GrimReaper daemon.

Prerequisites

Install and run the GrimReaper.

Installation

To install this library, simply:

$ pip install -U GrimReapersPie

Usage

>>> from grimreaper import GrimReaper
>>> 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

Please see CONTRIBUTING.rst

Release History

0.1.0a2 (2015-09-14)

  • Fixed PyPI package

0.1.0a1 (2015-09-12)

  • Birth! Briefly tested under Python 2.7 and Python 3.4
Release History

Release History

This version
History Node

0.1

History Node

0.1.0a9

History Node

0.1.0a8

History Node

0.1.0a7

History Node

0.1.0a6

History Node

0.1.0a5

History Node

0.1.0a4

History Node

0.1.0a3

History Node

0.1.0a2

History Node

0.1.0a1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
GrimReapersPie-0.1.tar.gz (7.5 kB) Copy SHA256 Checksum SHA256 Source Jun 20, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting