Python Modifier for FCurves - possible to do code based ease in and out?

Looking into the Ease with Wizz stuff from AE I am curious
if this could be done via using the Python modifier inside
the Graph Editor?

The main thing Ease with Wizz in AE is doing it changing
the way how between two key frames the ease in and out
is interpolated.

There is a patch for 2.5 to bring Ease with Wizz to Blender
but I cannot compile and thise are limited with this approach.