Python-chess is a pure Python chess library with move generation and validation,
Polyglot opening book probing, PGN reading and writing, Gaviota tablebase
probing, Syzygy tablebase probing and XBoard/UCI engine communication.
Major port tweaks by kmos@