Python Chess

Open-source Python projects categorized as Chess Edit details

Top 23 Python Chess Projects

  • sunfish

    Sunfish: a Python Chess Engine in 111 lines of code

    Project mention: sunfish VS Synergy-Chess - a user suggested alternative | libhunt.com/r/sunfish | 2022-06-17
  • 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

    Project mention: A bash script that reads from a txt file and produces a PNG | reddit.com/r/bash | 2022-07-31

    Do you need to reinvent the wheel? There's python-chess, for example: https://python-chess.readthedocs.io/en/latest/

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • maia-chess

    Maia is a human-like neural network chess engine trained on millions of human games.

    Project mention: Is there "any" human-like computer? | reddit.com/r/chess | 2022-07-31

    The current most-humanlike engine that's all the rage is Maia.

  • pychess

    PyChess - a chess client for Linux/Windows

    Project mention: Chess GUI for Ubuntu | reddit.com/r/Ubuntu | 2021-11-02

    I am Using Ubuntu 20.04 and want a chess GUI, tried Pychess, but it sadly doesn't work with editing time control, so I created a issue https://github.com/pychess/pychess/issues/1910. Can someone please help me to find an alternative chess GUI instead of pychess for me?

  • command-line-chess

    A python program to play chess against an AI in the terminal.

  • irwin

    irwin - the protector of lichess from all chess players villainous

    Project mention: me irl | reddit.com/r/meirl | 2022-07-13
  • lichess-bot

    A bridge between Lichess API and chess engines

    Project mention: I have created a chess engine in python. How do I modify it for UCI protocol? | reddit.com/r/chess | 2022-08-01

    I would recommend downloading this bot, written in Python: https://github.com/ShailChoksi/lichess-bot

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • Play-online-chess-with-real-chess-board

    Program that enables you to play online chess using real chess boards.

    Project mention: Open source software that digitalizes real life chess boards. | reddit.com/r/computervision | 2022-06-18
  • chess-openings

    An aggregated data set of chess opening names

    Project mention: Let's make the Zelensky Defence a reality: https://github.com/lichess-org/chess-openings/issues/32 | reddit.com/r/AnarchyChess | 2022-03-02

    Make a comment to support this idea: https://github.com/lichess-org/chess-openings/issues/32

  • stockfish

    Integrates the Stockfish chess engine with Python (by zhelyabuzhsky)

    Project mention: Beginner projects in Python based on Lichess API / databse? | reddit.com/r/chess | 2022-01-11

    2.) Something with this, maybe game review/scoring

  • neural_network_chess

    Free Book about Deep-Learning approaches for Chess (like AlphaZero, Leela Chess Zero and Stockfish NNUE)

    Project mention: Resources for learning and implementing a NNUE for a chess engine? | reddit.com/r/chess | 2022-05-22

    My book https://github.com/asdfjkl/neural_network_chess covers some of these topics...

  • berserk

    Python client for the lichess API (by rhgrant10)

    Project mention: How i know i have the latest version of a pip package | reddit.com/r/learnpython | 2022-05-21
  • lichs

    ♟ Play chess against real players in your terminal using Lichess

    Project mention: Somebody can explain this little code? | reddit.com/r/learnpython | 2022-04-29
  • chessli

    A free and open source chess improvement app that combines the power of Lichess and Anki.

  • pgn-tactics-generator

    Generate chess puzzles / tactics from a pgn file

    Project mention: Is there a tool to generate puzzles from your games? | reddit.com/r/chess | 2021-09-14

    - A more advance https://github.com/vitogit/pgn-tactics-generator

  • fastchess

    Predicts the best chess move with 27.5% accuracy by a single matrix multiplication

    Project mention: fastchess VS Synergy-Chess - a user suggested alternative | libhunt.com/r/fastchess | 2022-06-18
  • 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.

  • syzygy-tables.info

    User interface and public API for probing Syzygy endgame tablebases

    Project mention: What is the longest possible forced mate sequence with K - K + Q on the board? I managed to find a #10 at most but I suspect that you can get more. Has this been investigated? | reddit.com/r/chess | 2022-06-20

    I'd assume that Stockfish just hasn't found the M9. Tablebases already know the quickest mates in a given position, you can check the tablebase here

  • relevant-post-bot

    Bot that determines if a post in a circlejerk or parody subreddit has a relevant post in its original subreddit, and links it in the comments.

    Project mention: Rodrygo : “I arrived home after a match. I had a copy of Pokemon FireRed in my house and my father came into the room with that game and another cartridge of Pokemon LeafGreen and he said ‘now, choose’. And I chose the FireRed one.” | reddit.com/r/soccercirclejerk | 2022-06-18

    fmhall | github

  • python-chess-annotator

    Reads chess games in PGN format and adds annotations using an engine

  • play-chess-with-a-webcam

    Play Chess With a Webcam

    Project mention: DIY smart chess board to play on Lichess! | reddit.com/r/chess | 2021-12-03
  • pgnToFen

    Takes PGN as input and returns FEN

    Project mention: Hi! I am a javascript newbie and i need help writing a script that repetitively does a task on a website and saves the output. | reddit.com/r/learnjavascript | 2021-11-23

    You can use this script: https://github.com/SindreSvendby/pgnToFen

  • chess-pipeline

    Pulling games from the Lichess API into a PostgreSQL database for data analysis.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2022-08-01.

Python Chess related posts

Index

What are some of the best open-source Chess projects in Python? This list will help you:

Project Stars
1 sunfish 2,353
2 python-chess 1,798
3 maia-chess 639
4 pychess 527
5 command-line-chess 420
6 irwin 401
7 lichess-bot 399
8 Play-online-chess-with-real-chess-board 302
9 chess-openings 176
10 stockfish 146
11 neural_network_chess 146
12 berserk 123
13 lichs 95
14 chessli 86
15 pgn-tactics-generator 77
16 fastchess 67
17 chess-artist 56
18 syzygy-tables.info 49
19 relevant-post-bot 43
20 python-chess-annotator 43
21 play-chess-with-a-webcam 21
22 pgnToFen 20
23 chess-pipeline 16
Find remote jobs at our new job board 99remotejobs.com. There is 1 new remote job listed recently.
Are you hiring? Post a new remote job listing for free.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com