Python3 clone of the Anki SRS backend