Skip to content
PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Chess Python Packages

Python packages with the GitHub topic chess. Sorted by monthly downloads, with stars and forks.
niklasf
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

2.5M 3K 602
niklasf
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

1M 3K 602
py-stockfish
stockfish

Integrates the Stockfish chess engine with Python (Official fork)

549K 47 13
sotetsuk
pgx

♟️ Vectorized RL game environments in JAX

9K 661 57
GabeBecker2048
chesssnake

Play, render and persist chess games in Python: a pure-Python engine, board images, and a REST api-endpoint backed by SQLite or PostgreSQL

8K 2 0
kdeldycke
chessboard

:game_die: CLI to solve combinatoric chess puzzles.

6K 9 4
harshitpawar64
chessvision

Chess board recognition toolkit ♟️

5K 2 0
Bonifatius94
chesslib

C-lib Python3 extension for efficient chess draw-gen

4K 2 0
Loepker-James
enforce-rules

This project lets you enforce rules on values, expanding the type system of python. (Requires python 3.10+)

4K 1 0
CSSLab
maia2

Official implementation of Maia-2, a unified human-like chess model across skill levels. For new projects, see Maia-3.

4K 164 28
Kriegspiel
kriegspiel

Python hidden-information chess engine for Kriegspiel variants

3K 3 0
sarartur
chess-com

Python client for Chess.com Published-Data API

2K 70 16
ahira-justice
chess-board

A chess board library for presenting game positions

2K 21 11
jhd3197
torre

Learn chess step by step: lessons, puzzles, bots to play and an honest review of every game with Stockfish.

2K 2 0
luccabb
moonfish

~2000 Elo Python Chess Engine that implements: Negamax, PeSTO’s Evaluation, Null Move, Quiescence Search, Lazy SMP.

2K 25 4
fritzprix
chess-mcp-server

A Model Context Protocol (MCP) server for playing Chess with AI Agents.

2K 0 0
AnglerfishChess
esca

Rust/Python MIT chess library: rules, facts, explanations, PGN, opening books and names, UCI client, and an MCP server over it; one API, Chess960 throughout.

2K 0 0
mdicio
chessimg2pos

Chess image to FEN in Python: convert a chessboard screenshot, diagram or phone photo into a FEN position (lichess, chess.com, books). pip install chessimg2pos

2K 14 2
thomasahle
sunfish

Sunfish: a Python Chess Engine in 111 lines of code

2K 3K 582
kiudee
chess-tuning-tools

A collection of scripts aimed at efficiently tuning chess engine parameters.

1K 65 16
niklasf
fishnet

Distributed Stockfish analysis for lichess.org

1K 946 121
nemeott
rust-chess

A bridge between the Rust chess crate and Python.

1K 2 0
zedeckj
bulletchess

A high performance Python C extension for chess

1K 67 3
ElectronicSlams
eslams-core

The Grand Slams of AI, where agents play games.

980 4 4
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology