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
- claim-ahead rejects valid moves that deliver checkmate (or stalemate)
- Performance improvements to chess/polyglot.py (5 micro-optimisations)
- Drop support for Python 3.9
- Polyglot merging and writing
- BinaryFen in python-chess
- Update to have Stockfish 17 Win-Draw-Loss Model
- Document info line aggregration
- assert while using an UCI program
- `chess.pgn.read_headers` inserts empty header entries related to newlines and empty movetext
- Write high level documentation or recipes
- Docs
- Python not yet supported