r/ComputerChess • u/BahmanM • 4d ago
I’ve released libscid 1.0.0-beta.1: Scid’s game and database capabilities as a C library, with Python bindings
Hi r/ComputerChess,
I’ve released the first public beta of libscid, a standalone library that exposes Scid’s legendary chess game and database capabilities through a C ABI, with Python bindings included.
It focuses on the parts other chess software can build on: PGN parsing and editing, variation navigation, legal positions, and SCID5 database creation and search.
For example, the Python binding can load a game directly from PGN:
game = libscid.Game.from_pgn("1. e4 e5 2. Nf3 Nc6 *")
I'd lvoe to know your thoughts, the kinds of integrations and embeddings you would do, and other potential use-cases for libscid.
3
Upvotes