python-chess
https://github.com/niklasf/python-chess
Python
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 communication
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
Python not yet supported1 Subscribers
Add a CodeTriage badge to python-chess
Help out
- Issues
- Add support for pre-move comments in GameNode and StringExporter
- Allow fifty-move claim ahead of a checkmating or stalemating move
- Add chess.chesstb: pure-Python prober for chesstb endgame tablebases
- Preserve castling rights for promoted kings on a `SuicideBoard`
- `SQUARES_180` is a misleading name
- Support the TRF (Tournament Report File) format
- Can you put my bot in the examples?
- AssertionError is thrown if async analysis is cancelled too soon
- Help with PGN to FEN strings with move list
- list(board.pieces(chess.KING, chess.BLACK))[0] IndexError: list index out of range
- Docs
- Python not yet supported