python-chess

toc
 * Home * Software * Utilities * python-chess**

a chess library by Niklas Fiekas, written in Python and released under the GPL v3. python-chess is not intended to implement high performance chess engines in Python. The goal is rather to create a simple and relatively highlevel library. It supports Python 2.7 and Python 3.
 * python-chess**,

=Features=

Board and Moves

 * Legal Move Generation
 * Make Move
 * Unmake Move

Detection

 * Attacks
 * Check
 * Checkmate
 * Stalemate
 * Draw by Insufficient Material
 * Repetitions

Creating and Parsing

 * SAN
 * FEN
 * EPD
 * PGN

Probing

 * Polyglot Opening Book
 * Gaviota Tablebases
 * Syzygy Bases

Protocols

 * UCI

=See also=
 * aiBloodshed
 * If Deep Blue could talk
 * Jerry
 * PicoChess
 * Shatranj (toolkit)

=Forum Posts=
 * [|Re: PGN to FEN (with Evaluation)?] by Matthew Lai, CCC, December 29, 2014
 * [|Re: how to probe egtb from console?] by Ronald de Man, CCC, May 15, 2015 » Endgame Tablebases, CLI
 * [|Python Chess - A Short Introduction] by Steve Maughan, CCC, May 16, 2015
 * [|Probing tablebases in python-chess] by Robert Pope, CCC, March 20, 2017 » Gaviota Tablebases

=External Links= > [|python-chess/syzygy.py at master · niklasf/python-chess · GitHub] by Niklas Fiekas, Python implementation of Syzygy probing code
 * [|python-chess 0.20.1 : Python Package Index]
 * [|niklasf/python-chess · GitHub]
 * [|niklasf/syzygy-tables.info · GitHub] by Niklas Fiekas, GUI and public API for Syzygy probing
 * [|Syzygy endgame tablebases Web Interface] - Syzygy online lookup
 * [|An implementation of the Bratko-Kopec Test using python-chess] » Bratko-Kopec Test
 * [|Chess Programming | Python Chess] by Niklas Fiekas, hosted by Steve Maughan, May 16, 2015

=References= =What links here?= include component="backlinks" page="python-chess" limit="40"
 * Up one Level**