python-chess VS Fairy-Stockfish

Compare python-chess vs Fairy-Stockfish and see what are their differences.

python-chess

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 (by niklasf)

Fairy-Stockfish

chess variant engine supporting Xiangqi, Shogi, Janggi, Makruk, S-Chess, Crazyhouse, Bughouse, and many more (by fairy-stockfish)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
python-chess Fairy-Stockfish
27 19
2,290 559
- 3.2%
8.0 7.9
6 days ago 7 days ago
Python C++
GNU General Public License v3.0 only GNU General Public License v3.0 only
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

python-chess

Posts with mentions or reviews of python-chess. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-02.

Fairy-Stockfish

Posts with mentions or reviews of Fairy-Stockfish. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-17.
  • Do Bughouse engines exist?
    1 project | /r/chess | 22 Apr 2023
    Fairy-Stockfish supports bughouse https://github.com/fairy-stockfish/Fairy-Stockfish/releases
  • Engine?-
    1 project | /r/xiangqi | 21 Feb 2023
  • Stockfish for analysing variants on
    2 projects | /r/chess | 17 Jan 2023
    Try Fairy Stockfish. Not as strong as regular stockfish but still should be more than enough.
  • The difficulty of computer duck chess.
    1 project | /r/chess | 12 Dec 2022
    I actually already implemented it in Fairy-Stockfish, although as a separate branch: https://github.com/ianfab/Fairy-Stockfish/tree/duck. As we currently still reuse the chess evaluation until we have a first NN(UE) it isn't on top human level yet, but move ordering already is decent, so once we have a proper evaluation it should do much better.
  • Introducing... CHESS.SEX
    1 project | /r/AnarchyChess | 7 Dec 2022
    implement your favorite Anarchy Chess rules with fairy-stockfish (https://github.com/ianfab/Fairy-Stockfish), which lichess already uses for the variants it hosts, so it should be easy™ to make your cloned lichess accept it
  • Did someone make a Chess Bot Analysis Check for Duck Chess?
    1 project | /r/chess | 29 Nov 2022
    Oh, apparently an experimental fork of fairy-stockfish with duck chess support was published yesterday! https://github.com/ianfab/Fairy-Stockfish/tree/duck
  • Somebody pls make an engine/AI of duckchess
    1 project | /r/duckchess | 26 Oct 2022
  • Is Minishogi solved?
    1 project | /r/shogi | 3 Aug 2022
    To my knowledge it isn't. Some of the small-sized shogi variants, like Dobutsu, Micro, or Kyoto shogi, can either be (practically) weakly solved using engine search or even strongly using tablebases in the case of dobutsu shogi. However, for minishogi neither of those have yielded a definitive result yet to my knowledge. Nevertheless, deep engine searches and games from high level engines strongly indicate that gote, i.e., the second player, wins with perfect play.
  • How does the Fairy Chess YouTube channel make custom chess games and make Stockfish fight? How can I do that?
    1 project | /r/chess | 20 May 2022
    You might want to take a look at - https://github.com/ianfab/Fairy-Stockfish
  • SwtichersVsClobberers
    1 project | /r/chessvariants | 29 Apr 2022
    But, if you have a variant which the free Fairy Stockfish or ChessV (Alt link) can not play, Zillions can probably implement it fairly easily. Just this year, I created a Chess variant using an unusual tiling of squares and triangles. The only engine which can play this variant is Zillions.

What are some alternatives?

When comparing python-chess and Fairy-Stockfish you can also consider the following projects:

pychess - PyChess - a chess client for Linux/Windows

wukong-xiangqi - Didactic Chinese chess Xiangqi engine by Code Monkey King

chess-image-generator - Accepts FEN, PGN or array data for chess board and generates PNG or buffer.

stockfish.wasm - WebAssembly port of the strong chess engine Stockfish

syzygy-tables.info - User interface and public API for probing Syzygy endgame tablebases

liground - A free, open-source and modern Chess Variant Analysis GUI for the 21st century

pgnToFen - Takes PGN as input and returns FEN

chess-pieces - Chess, Janggi, Xiangqi, Sittuyin pieces and boards

BEGAN-tensorflow - Tensorflow implementation of "BEGAN: Boundary Equilibrium Generative Adversarial Networks"

Realtime-OpenCV-Chess - ♔ Chess-playing with Open-CV [Human vs AI (Stockfish engine)]

python-chess-analysis - Full analysis of a chess game including metrics related to imbalances in the positions using Python-Chess library

chessx - Sources of the official ChessX version.