{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/4"},{"label":"Board Games","url":"https://skillfed.io/packages/category/games-entertainment-board-games"}],"enrichment":{"capability":"Wraps the Stockfish chess engine to let Python code query best moves, evaluate positions, and validate chess notation without reimplementing engine logic.","skillfed_tags":["chess-engine","game-ai"],"use_cases":["Build a chess puzzle solver or analysis tool that evaluates positions and suggests best moves.","Create a chess game with computer opponent by querying Stockfish for move recommendations at configurable strength levels.","Validate chess moves and positions in a game engine or notation parser without manual rule implementation.","Analyze chess games in bulk by setting positions via FEN and extracting evaluation scores and top-move rankings.","Develop a chess training application that shows engine evaluation and mate-in-N calculations for learning."],"what_it_does":"Stockfish is a Python wrapper around the open-source Stockfish chess engine, letting you query move analysis, position evaluation, and legality checking from Python without building your own UCI protocol handler. It manages the engine process, translates Python method calls into UCI commands, and parses engine output back into Python objects\u2014dictionaries for move info, strings for moves, booleans for validation.\n\nYou initialize it with a path to the Stockfish binary, then call methods like `get_best_move()`, `get_top_moves()`, `set_fen_position()`, and `is_move_legal()` to interact with the engine. The wrapper handles engine configuration (threads, hash size, skill level, search depth) through a parameters dictionary, letting you tune strength and speed. It requires Python 3.10 or later and has no Python runtime dependencies\u2014only the external Stockfish binary.","worth_installing":"Yes. The package is actively maintained, has no Python dependencies, carries a permissive MIT license, and solves a clear problem\u2014wrapping Stockfish without forcing you to parse UCI protocol yourself. The only real prerequisite is installing the Stockfish binary separately, which is documented. Use it if you need chess engine integration in Python."},"id":"stockfish","links":{"html":"https://skillfed.io/packages/stockfish","md":"https://skillfed.io/packages/stockfish.md","pypi":"https://pypi.org/project/stockfish/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-04-17","license_spdx":"MIT","license_treatment":"permissive","name":"stockfish","python_support":"supports_current","summary":"Wraps the open-source Stockfish chess engine for easy integration into python."},"popularity":{"monthly_downloads":4934269,"position":2197,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"5.2.0"}
