An implementation of Nock in Python