An attempt at implementing PocketCiv in Python.