Ahab
Docker event handling with Python
Install / Use
/learn @instacart/AhabREADME
==== 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
Related Skills
node-connect
346.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
107.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
346.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
346.8kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
