Add python bindings to persistent queue