Simple process management
Gaffer is a set of Python modules and tools to easily maintain and interract with your processes.
Features
Framework to manage and interract your processes
Fully evented. Use the libuv event loop using the pyuv library
Server and console tool to manage your process via HTTP on TCP and UNIX sockets.
HTTPS supported
- Possibility to interract with STDIO:
websocket stream to write to stdin and receive from stdout (muliple clients can 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.
Flapping: handle cases where your processes crash too much
Easily extensible: add your own endpoint, create your client, embed gaffer in your application, …
Compatible with python 2.6x, 2.7x, 3.x
Documentation
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
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.
Metadata
Release files for gaffer 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gaffer-0.1.1.tar.gz | 54.5 kB | Details |
Release files / gaffer-0.1.1.tar.gz
| Download URL | gaffer-0.1.1.tar.gz |
|---|---|
| Size | 54.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a1a160c6a036441efa98cc07b084d4630669cf2e8c24874337e2fddd2736dcbc
|
|
BLAKE2b-256 checksum How to use checksums |
2c31f0d000ab7ab18d494f865d8ea49b9b6a7c744c26ecc321b71d4cd0468c59
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |