$npx skillfedfor your agent

python-chess

A chess library with move generation, move validation, and support for common formats.

With conditionsPyPI Software DevelopmentReleased Oct 20206.0M downloads / moGPL-3.0+Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — python_chess-1.999-py3-none-any.whl
v1.999 · released 2020-10-26 · 1 runtime deps: chess

Yes, with conditions. The library is feature-complete for standard chess programming tasks and has no known vulnerabilities. However, the GPL-3.0+ copyleft license is a hard blocker for proprietary projects, and the gap between the latest release (2020-10-26) and current date raises questions about maintenance responsiveness. Install only if you need GPL-compatible licensing and can tolerate potential delays in bug fixes or updates.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.8+ according to the documentation excerpt.
  • Low install friction with a pure-Python wheel distribution.
  • However, the package is marked as inactive (Development Status 7) despite an active repository; the latest release is from 2020-10-26, over five years old, which may indicate maintenance has stalled even though the repository shows recent commits.

License · maintenance · safety

GPL-3.0+ (copyleft) — Licensed under GPL-3.0+, a copyleft license requiring any derivative work or distribution to also be open-source under compatible terms. This is a significant constraint for proprietary or closed-source projects.

last release 2020-10-26 (2118 days) · last repo commit 2026-07-12 · 2,860 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 5,969,961 downloads/mo, #1,999 on PyPI

Verify before relying

pip install chess

import chess

board = chess.Board()
board.push_san("e4")
print(board)
  • Whether the package is actively maintained despite the 2020 release date and 'Inactive' classifier conflicting with recent repository commits.
  • Current Python version support beyond the 3.8+ minimum mentioned in the excerpt.
  • Whether all documented features (Polyglot, Syzygy, Gaviota, UCI engines) are fully functional in version 1.999.
Same gist for agents: .md · .json

What it is and what it does

python-chess is a pure-Python library for representing, validating, and manipulating chess games. It handles standard chess and multiple variants (Chess960, Atomic, Crazyhouse, etc.), generates legal moves, detects game-ending conditions (checkmate, stalemate, draws), and parses/generates common chess formats like FEN, PGN, EPD, and SAN notation. The library also integrates with opening books (Polyglot), endgame tablebases (Syzygy and Gaviota), and external UCI/XBoard chess engines for analysis and play.

The package is primarily used for chess analysis tools, game replay systems, engine interfaces, and educational chess applications. It has low install friction as a pure-Python wheel but carries a GPL-3.0+ copyleft license that restricts use in proprietary software. The codebase shows recent repository activity, but the latest PyPI release dates to 2020, and the package is marked as inactive in its classifiers, creating uncertainty about ongoing maintenance and support.

Use it for

  • Analyze chess games by parsing PGN files and replaying moves with full move validation and game-state detection.
  • Build a chess engine interface to communicate with UCI engines like Stockfish for position evaluation and move suggestions.
  • Generate legal moves and validate user input in a chess application or game UI.
  • Probe endgame tablebases (Syzygy or Gaviota) to determine optimal play in simplified positions.
  • Read opening books in Polyglot format to suggest common opening moves from a database.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, with conditions.

The library is feature-complete for standard chess programming tasks and has no known vulnerabilities. However, the GPL-3.0+ copyleft license is a hard blocker for proprietary projects, and the gap between the latest release (2020-10-26) and current date raises questions about maintenance responsiveness. Install only if you need GPL-compatible licensing and can tolerate potential delays in bug fixes or updates.

Install

python-chess on PyPI

Before you install

Low install friction with a pure-Python wheel distribution. However, the package is marked as inactive (Development Status 7) despite an active repository; the latest release is from 2020-10-26, over five years old, which may indicate maintenance has stalled even though the repository shows recent commits.

Requires Python 3.8+ according to the documentation excerpt.

License in practice

Licensed under GPL-3.0+, a copyleft license requiring any derivative work or distribution to also be open-source under compatible terms. This is a significant constraint for proprietary or closed-source projects.

Quickstart

pip install chess

import chess

board = chess.Board()
board.push_san("e4")
print(board)

Verify before relying

  • Whether the package is actively maintained despite the 2020 release date and 'Inactive' classifier conflicting with recent repository commits.
  • Current Python version support beyond the 3.8+ minimum mentioned in the excerpt.
  • Whether all documented features (Polyglot, Syzygy, Gaviota, UCI engines) are fully functional in version 1.999.

Package facts

LicenseGPL-3.0+ copyleft
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
chess
MaintenanceActively maintained 2,118 days since the last release
Last repo commit
First released
Downloads5,969,961 / month, #1,999 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 7 - Inactive

Evidence: python_chess-1.999-py3-none-any.whl

Tags

Capabilities
chess board representationmove generation validationpgn parserchess engine communicationchess game analysisfen notationchess variants
Topics
chess-game-logicgame-developmentcopyleft-licensed
PyPI keywords
chessfenepdpgnpolyglotsyzygygaviotaucixboard

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “move generation validation”

  • python-chesspython-chess provides move generation, move validation, and board…
  • chessA pure-Python chess library providing move generation, validation,…
  • stockfishWraps the Stockfish chess engine to let Python code query best moves,…

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also chess · stockfish · geojson · pydbml · Panda3D · clip-benchmark · django-syzygy · memcache-hybrid · nashpy