More docs:
Python Bindings
For easy interaction with the ichabod server, there are convenient python bindings available. Assuming ichabod is already running on port 9191, rasterization requests can be made directly:
from ichabod import IchabodClient
client = IchabodClient(port=9191, timeout=1)
result = client.rasterize(html='<h1>Hello, world!</h1>', width=105)
Or for quick one-off requests:
from ichabod import rasterize
result = rasterize(html='<h1>Hello, world!</h1>', port=9191, width=105)
See the ichabod-python github repo for details. Also, check out the iPython notebook walkthrough.