python-chess
python-chess copied to clipboard
A chess library for Python, with move generation and validation, PGN parsing and writing, Polyglot opening book reading, Gaviota tablebase probing, Syzygy tablebase probing, and UCI/XBoard engine comm...
Hello, First of all, thank you for this great python library! My problem is simple: I would like to extract a subgame between the $i$-th move and the $j$-th move....
Duplicate of #46, vote that CTG Book support be worked on again
This would allow annotating board positions (rather than moves in a game) across games.
Many engines, such as Stockfish, support a non-standard UCI command `go perft `. This would be very useful to have in python-chess as a way to test engines. This could...
I'm trying to use python-chess to merge two pgn games, which is working fine. But it appears some PGN viewers really want the normal text comments and the %cal and...
I have the position "2k5/pp2n2Q/8/P2p4/8/P1p2q2/2P2P1P/5RK1 b - - 4 23" it is black to move. When i tell it ( board.push_san("Kh1") ), it errors (as expected), as black cannot move...
I would like a `show_FEN: bool = False` argument that will explicitly draw the FEN string either above or below the board in the resulting svg code. Thanks.
I'm getting a CancelledError when analyzing a sequence positions in a given game from a public dataset, and I'm really unsure how to debug it. Minimal code to reproduce: ```python...
I'm experiencing an `AssertionError` when trying to analyze a chess board using [Chessify](https://chessify.me/blog/how-to-install-use-chessify-cloud-engines-servers-on-chessbase) UCI chess engine. The error occurs **after** the analysis is completed and seems to be related to...
Add [rookognition](https://github.com/3d12/rookognition) to the "selected projects" area of the README. Thank you so much for maintaining this library! This was very easy to use, and very inspiring! I particularly love...