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 chess.pgn.Game.set_time_control()
- read_game() loses track of variations after an illegal move
- Fix read_game() variation handling after illegal moves
- fix(atomic): validate en passant with variant rules
- AtomicBoard: has_legal_en_passant(), generate_legal_ep() and fen() do not use Atomic legality
- Fix `GameNode.set_eval()` dropping mate 0 scores
- examples: add clocked_perft.py (timed perft, canonical node tables)
- Feature request: support for Scid mask files
- Feature request: CTG Book Support
- Slice of a game between two moves
- Docs
- Python not yet supported