python implementation of vaast