Python implementation of Macaroons