SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 Python Chess Projects
-
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
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
Play-online-chess-with-real-chess-board
Program that enables you to play online chess using real chess boards.
-
neural_network_chess
Free Book about Deep-Learning approaches for Chess (like AlphaZero, Leela Chess Zero and Stockfish NNUE)
-
cli-chess
A highly customizable way to play chess in your terminal / command line. Play online (via Lichess.org) and offline against the Fairy-Stockfish engine. All Lichess variants are supported. (by trevorbayless)
-
chess-artist
A python script that can annotate chess games in pgn file with static evaluation or search score of an engine, can annotate an epd file with acd, acs, bm, and ce opcodes, can test engine with epd test suite and can generate chess puzzles.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
The NNUE version does but the non-NNUE version doesn't use numpy. That numpy import is for a neural network based evaluation functions. The base engine still plays at a strong human level and doesn't use numpy to do any of the heavy lifting. It does rely on itertools and collections though.
This was studied with the Maia series of bots. See:
https://github.com/CSSLab/maia-chess
Clone https://github.com/lichess-bot-devs/lichess-bot.git into your new project! Make sure you have github installed!
For Lichess, you can get some sort of idea from reading the code. If I remember correctly, there's some threshold for the site suspecting you of cheating based on a variety of simple metrics (accuracy, blurring, etc) and then it gets sent to machine learning tools to analyze (here is one of them, and here's another).
Project mention: Is there a chess library in Python (or any other programming language but Python preferred) that will allow me to identify the opening of a game by passing the PGN of the game as input? | /r/chess | 2023-06-02Not a library, but at least a collection of openings in a machine readable format. Also a script to manipulate it in the bin/ folder. https://github.com/lichess-org/chess-openings
There are some mindboggling game implementations in JAX here (has a chess implementation) and here so it might just be possible...
Project mention: Chessli – chess improvement app that combines the power of Lichess and Anki | news.ycombinator.com | 2024-04-10
Python Chess related posts
-
Chessli – chess improvement app that combines the power of Lichess and Anki
-
Manipulating the Internal World Model of a Chess Playing Language Model
-
Grandmaster-Level Chess Without Search
-
Chess-GPT's Internal World Model
-
A chess terminal user interface implementation
-
Permissive chess lib
-
How common is false banning in chess?
-
A note from our sponsor - SaaSHub
www.saashub.com | 24 May 2024
Index
What are some of the best open-source Chess projects in Python? This list will help you:
Project | Stars | |
---|---|---|
1 | sunfish | 2,891 |
2 | python-chess | 2,309 |
3 | maia-chess | 900 |
4 | lichess-bot | 699 |
5 | pychess | 667 |
6 | command-line-chess | 492 |
7 | irwin | 486 |
8 | chess-openings | 341 |
9 | Play-online-chess-with-real-chess-board | 330 |
10 | pgx | 328 |
11 | neural-chessboard | 272 |
12 | neural_network_chess | 268 |
13 | stockfish | 259 |
14 | cli-chess | 154 |
15 | berserk | 142 |
16 | lichs | 110 |
17 | chessli | 106 |
18 | pgn-tactics-generator | 104 |
19 | chessboard-recognizer | 97 |
20 | chesscog | 88 |
21 | fastchess | 83 |
22 | external-engine | 70 |
23 | chess-artist | 66 |
Sponsored