Skip to main content

simple system process manager

Project description

Simple process management

Gaffer is a set of Python modules and tools to easily maintain and interact with your processes.

Features

  • Framework to manage and interact your processes

  • Fully evented. Use the libuv event loop using the pyuv library

  • Server and command line tools to manage your processes

  • Procfile applications support (see gaffer)

  • HTTP Api (multiple binding, unix sockets & HTTPS supported)

  • Flapping: handle cases where your processes crash too much

  • Possibility to interact with STDIO:
    • websocket stream to write to stdin and receive from stdout (muliple clients can read and write at the same time)

    • subscribe on stdout/stderr feed via longpolling, continuous stream, eventsource or websockets

    • write your own client/server using the framework

  • Subscribe to process statistics per process or process templates and get them in quasi RT.

  • Easily extensible: add your own endpoint, create your client, embed gaffer in your application, …

  • Compatible with python 2.6x, 2.7x, 3.x

Documentation

http://gaffer.readthedocs.org

Getting Started

http://gaffer.readthedocs.org/en/latest/getting-started.html

Installation

Gaffer requires Python superior to 2.6 (yes Python 3 is supported)

To install gaffer using pip you must make sure you have a recent version of distribute installed:

$ curl -O http://python-distribute.org/distribute_setup.py
$ sudo python distribute_setup.py
$ easy_install pip

To install from source, run the following command:

$ git clone https://github.com/benoitc/gaffer.git
$ cd gaffer && pip install -r requirements.txt

From pypi:

$ pip install gaffer

License

gaffer is available in the public domain (see UNLICENSE). gaffer is also optionally available under the MIT License (see LICENSE), meant especially for jurisdictions that do not recognize public domain works.

Project details


Download files

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

Source Distribution

gaffer-0.4.2.tar.gz (292.5 kB view details)

Uploaded Source

File details

Details for the file gaffer-0.4.2.tar.gz.

File metadata

  • Download URL: gaffer-0.4.2.tar.gz
  • Upload date:
  • Size: 292.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gaffer-0.4.2.tar.gz
Algorithm Hash digest
SHA256 63ddf3d6464568e44c1fa27a4a63fd9f10c40d8fd921a0e73a47025a6306a9e4
MD5 a54925b246e58eb62c1bce2ac59b365b
BLAKE2b-256 9250e18a119294156d44186c1e5278d6010469a71198fd2ea2bf2a1ddba84d5c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page