Skip to main content

Ahab: on which to hang your Docker hooks

Project description


It’s easy to install Ahab:

pip install ahab

To get detailed information about Docker events from the command line:

ahab --console debug

To use Ahab as library, you can pass functions to the Ahab() constructor:

def f(event, data):
    pass        # Handle the Docker event (and extended info, as available)

ahab = Ahab(handlers=[f])

Or subclass Ahab:

class Queequeg(Ahab):
    def handle(self, event, data):
        pass                                               # Your code here

Project details

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
ahab-20160206.tar.gz (3.8 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page