ahab

Docker event handling with Python

Showing:

Popularity

Downloads/wk

0

GitHub Stars

136

Maintenance

Last Commit

3yrs ago

Contributors

3

Package

Dependencies

0

License

UNKNOWN

Categories

Readme

====

Ahab

.. image:: ahab.png

It's easy to install Ahab:

.. code:: bash

pip install ahab

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

.. code:: bash

ahab --console debug

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

.. code:: python

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


ahab = Ahab(handlers=[f])
ahab.listen()

Or subclass Ahab:

.. code:: python

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

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100