python-chess
v0.27.1
Core
PGN parsing and writing
Polyglot opening book reading
Gaviota endgame tablebase probing
Syzygy endgame tablebase probing
UCI/XBoard engine communication
SVG rendering
Variants
Changelog for python-chess
python-chess
Docs
»
Index
Edit on GitHub
Index
A
|
B
|
C
|
D
|
E
|
F
|
G
|
H
|
I
|
K
|
L
|
M
|
N
|
O
|
P
|
Q
|
R
|
S
|
T
|
U
|
V
|
W
|
X
|
Z
A
accept() (chess.pgn.Game method)
(chess.pgn.GameNode method)
accept_subgame() (chess.pgn.GameNode method)
add() (chess.SquareSet method)
add_directory() (chess.gaviota.PythonTablebase method)
(chess.syzygy.Tablebase method)
add_line() (chess.pgn.GameNode method)
add_main_variation() (chess.pgn.GameNode method)
add_variation() (chess.pgn.GameNode method)
analyse() (chess.engine.EngineProtocol method)
analysis() (chess.engine.EngineProtocol method)
AnalysisResult (class in chess.engine)
Arrow (class in chess.svg)
attackers() (chess.BaseBoard method)
attacks() (chess.BaseBoard method)
B
BaseBoard (class in chess)
BaseVisitor (class in chess.pgn)
begin_game() (chess.pgn.BaseVisitor method)
begin_headers() (chess.pgn.BaseVisitor method)
begin_variation() (chess.pgn.BaseVisitor method)
black() (chess.engine.PovScore method)
black_clock (chess.engine.Limit attribute)
black_inc (chess.engine.Limit attribute)
Board (class in chess)
board() (chess.pgn.Game method)
(chess.pgn.GameNode method)
(in module chess.svg)
board_fen() (chess.BaseBoard method)
BoardCreator (class in chess.pgn)
C
can_claim_draw() (chess.Board method)
can_claim_fifty_moves() (chess.Board method)
can_claim_threefold_repetition() (chess.Board method)
carry_rippler() (chess.SquareSet method)
castling_rights (chess.Board attribute)
chess.A1 (built-in variable)
chess.B1 (built-in variable)
chess.BB_ALL (built-in variable)
chess.BB_BACKRANKS (built-in variable)
chess.BB_CENTER (built-in variable)
chess.BB_CORNERS (built-in variable)
chess.BB_DARK_SQUARES (built-in variable)
chess.BB_EMPTY (built-in variable)
chess.BB_FILES (built-in variable)
chess.BB_LIGHT_SQUARES (built-in variable)
chess.BB_RANKS (built-in variable)
chess.BB_SQUARES (built-in variable)
chess.BISHOP (built-in variable)
chess.BLACK (built-in variable)
chess.FILE_NAMES (built-in variable)
chess.G8 (built-in variable)
chess.H8 (built-in variable)
chess.KING (built-in variable)
chess.KNIGHT (built-in variable)
chess.PAWN (built-in variable)
chess.polyglot.POLYGLOT_RANDOM_ARRAY (built-in variable)
chess.QUEEN (built-in variable)
chess.RANK_NAMES (built-in variable)
chess.ROOK (built-in variable)
chess.SQUARE_NAMES (built-in variable)
chess.SQUARES (built-in variable)
chess.WHITE (built-in variable)
chess960 (chess.Board attribute)
chess960_pos() (chess.BaseBoard method)
(chess.Board method)
choice() (chess.polyglot.MemoryMappedReader method)
clean_castling_rights() (chess.Board method)
clear() (chess.Board method)
(chess.SquareSet method)
clear_board() (chess.BaseBoard method)
(chess.Board method)
clear_stack() (chess.Board method)
close() (chess.engine.SimpleEngine method)
(chess.gaviota.PythonTablebase method)
(chess.polyglot.MemoryMappedReader method)
(chess.syzygy.Tablebase method)
color (chess.Piece attribute)
(chess.svg.Arrow attribute)
comment (chess.pgn.GameNode attribute)
configure() (chess.engine.EngineProtocol method)
copy() (chess.BaseBoard method)
(chess.Board method)
D
default (chess.engine.Option attribute)
demote() (chess.pgn.GameNode method)
depth (chess.engine.Limit attribute)
discard() (chess.SquareSet method)
draw_offered (chess.engine.PlayResult attribute)
drop (chess.Move attribute)
E
empty() (chess.BaseBoard class method)
(chess.Board class method)
end() (chess.pgn.GameNode method)
end_game() (chess.pgn.BaseVisitor method)
end_headers() (chess.pgn.BaseVisitor method)
end_variation() (chess.pgn.BaseVisitor method)
EngineError (class in chess.engine)
EngineProtocol (class in chess.engine)
,
[1]
,
[2]
,
[3]
,
[4]
EngineTerminatedError (class in chess.engine)
Entry (class in chess.polyglot)
ep_square (chess.Board attribute)
epd() (chess.Board method)
errors (chess.pgn.Game attribute)
EventLoopPolicy() (in module chess.engine)
F
fen() (chess.Board method)
FileExporter (class in chess.pgn)
find() (chess.polyglot.MemoryMappedReader method)
find_all() (chess.polyglot.MemoryMappedReader method)
find_variant() (in module chess.variant)
from_board() (chess.pgn.Game class method)
from_chess960_pos() (chess.BaseBoard class method)
(chess.Board class method)
from_epd() (chess.Board class method)
from_square (chess.Move attribute)
from_square() (chess.SquareSet class method)
from_symbol() (chess.Piece class method)
from_uci() (chess.Move class method)
fullmove_number (chess.Board attribute)
G
Game (class in chess.pgn)
GameCreator (class in chess.pgn)
GameNode (class in chess.pgn)
H
halfmove_clock (chess.Board attribute)
handle_error() (chess.pgn.BaseVisitor method)
(chess.pgn.GameCreator method)
has_castling_rights() (chess.Board method)
has_chess960_castling_rights() (chess.Board method)
has_insufficient_material() (chess.Board method)
has_kingside_castling_rights() (chess.Board method)
has_legal_en_passant() (chess.Board method)
has_pseudo_legal_en_passant() (chess.Board method)
has_queenside_castling_rights() (chess.Board method)
has_variation() (chess.pgn.GameNode method)
head (chess.svg.Arrow attribute)
HeaderCreator (class in chess.pgn)
headers (chess.pgn.Game attribute)
I
id (chess.engine.EngineProtocol attribute)
info (chess.engine.AnalysisResult attribute)
(chess.engine.PlayResult attribute)
initialize() (chess.engine.EngineProtocol method)
is_attacked_by() (chess.BaseBoard method)
is_capture() (chess.Board method)
is_castling() (chess.Board method)
is_check() (chess.Board method)
is_checkmate() (chess.Board method)
is_en_passant() (chess.Board method)
is_end() (chess.pgn.GameNode method)
is_fivefold_repetition() (chess.Board method)
is_game_over() (chess.Board method)
is_insufficient_material() (chess.Board method)
is_into_check() (chess.Board method)
is_irreversible() (chess.Board method)
is_kingside_castling() (chess.Board method)
is_main_variation() (chess.pgn.GameNode method)
is_mainline() (chess.pgn.GameNode method)
is_managed() (chess.engine.Option method)
is_mate() (chess.engine.PovScore method)
(chess.engine.Score method)
is_pinned() (chess.BaseBoard method)
is_queenside_castling() (chess.Board method)
is_repetition() (chess.Board method)
is_seventyfive_moves() (chess.Board method)
is_stalemate() (chess.Board method)
is_valid() (chess.Board method)
is_variant_draw() (chess.Board method)
is_variant_end() (chess.Board method)
is_variant_loss() (chess.Board method)
is_variant_win() (chess.Board method)
is_zeroing() (chess.Board method)
isdisjoint() (chess.SquareSet method)
issubset() (chess.SquareSet method)
issuperset() (chess.SquareSet method)
K
key (chess.polyglot.Entry attribute)
king() (chess.BaseBoard method)
L
lan() (chess.Board method)
learn (chess.polyglot.Entry attribute)
legal_moves (chess.Board attribute)
Limit (class in chess.engine)
M
mainline() (chess.pgn.GameNode method)
mainline_moves() (chess.pgn.GameNode method)
mate (chess.engine.Limit attribute)
mate() (chess.engine.Score method)
max (chess.engine.Option attribute)
MemoryMappedReader (class in chess.polyglot)
min (chess.engine.Option attribute)
mirror() (chess.BaseBoard method)
(chess.Board method)
(chess.SquareSet method)
move (chess.engine.PlayResult attribute)
(chess.pgn.GameNode attribute)
Move (class in chess)
move() (chess.polyglot.Entry method)
move_stack (chess.Board attribute)
multipv (chess.engine.AnalysisResult attribute)
N
NAG_BLUNDER (in module chess.pgn)
NAG_BRILLIANT_MOVE (in module chess.pgn)
NAG_DUBIOUS_MOVE (in module chess.pgn)
NAG_GOOD_MOVE (in module chess.pgn)
NAG_MISTAKE (in module chess.pgn)
NAG_SPECULATIVE_MOVE (in module chess.pgn)
nags (chess.pgn.GameNode attribute)
name (chess.engine.Option attribute)
NativeTablebase (class in chess.gaviota)
next() (chess.engine.AnalysisResult method)
nodes (chess.engine.Limit attribute)
null() (chess.Move class method)
O
open_reader() (in module chess.polyglot)
open_tablebase() (in module chess.gaviota)
(in module chess.syzygy)
open_tablebase_native() (in module chess.gaviota)
Option (class in chess.engine)
options (chess.engine.EngineProtocol attribute)
P
parent (chess.pgn.GameNode attribute)
parse_san() (chess.Board method)
(chess.pgn.BaseVisitor method)
parse_uci() (chess.Board method)
peek() (chess.Board method)
Piece (class in chess)
piece() (in module chess.svg)
piece_at() (chess.BaseBoard method)
piece_map() (chess.BaseBoard method)
piece_type (chess.Piece attribute)
piece_type_at() (chess.BaseBoard method)
pieces() (chess.BaseBoard method)
pin() (chess.BaseBoard method)
ping() (chess.engine.EngineProtocol method)
play() (chess.engine.EngineProtocol method)
PlayResult (class in chess.engine)
ponder (chess.engine.PlayResult attribute)
pop() (chess.Board method)
(chess.SquareSet method)
popen_uci() (chess.engine.SimpleEngine class method)
(in module chess.engine)
popen_xboard() (chess.engine.SimpleEngine class method)
(in module chess.engine)
pov() (chess.engine.PovScore method)
PovScore (class in chess.engine)
probe_dtm() (chess.gaviota.PythonTablebase method)
probe_dtz() (chess.syzygy.Tablebase method)
probe_wdl() (chess.gaviota.PythonTablebase method)
(chess.syzygy.Tablebase method)
promote() (chess.pgn.GameNode method)
promote_to_main() (chess.pgn.GameNode method)
promoted (chess.Board attribute)
promotion (chess.Move attribute)
pseudo_legal_moves (chess.Board attribute)
push() (chess.Board method)
push_san() (chess.Board method)
push_uci() (chess.Board method)
PythonTablebase (class in chess.gaviota)
Q
quit() (chess.engine.EngineProtocol method)
R
raw_move (chess.polyglot.Entry attribute)
read_game() (in module chess.pgn)
read_headers() (in module chess.pgn)
relative (chess.engine.PovScore attribute)
remaining_moves (chess.engine.Limit attribute)
remove() (chess.SquareSet method)
remove_piece_at() (chess.BaseBoard method)
(chess.Board method)
remove_variation() (chess.pgn.GameNode method)
reset() (chess.Board method)
result() (chess.Board method)
(chess.pgn.BaseVisitor method)
(chess.pgn.GameCreator method)
returncode (chess.engine.EngineProtocol attribute)
root() (chess.Board method)
(chess.pgn.GameNode method)
S
san() (chess.Board method)
(chess.pgn.GameNode method)
Score (class in chess.engine)
score() (chess.engine.Score method)
set_board_fen() (chess.BaseBoard method)
(chess.Board method)
set_castling_fen() (chess.Board method)
set_chess960_pos() (chess.BaseBoard method)
(chess.Board method)
set_epd() (chess.Board method)
set_fen() (chess.Board method)
set_piece_at() (chess.BaseBoard method)
(chess.Board method)
set_piece_map() (chess.BaseBoard method)
(chess.Board method)
setup() (chess.pgn.Game method)
SimpleAnalysisResult (class in chess.engine)
SimpleEngine (class in chess.engine)
skip_game() (in module chess.pgn)
SkipVisitor (class in chess.pgn)
square() (in module chess)
square_distance() (in module chess)
square_file() (in module chess)
square_mirror() (in module chess)
square_rank() (in module chess)
SquareSet (class in chess)
STARTING_BOARD_FEN (in module chess)
starting_comment (chess.pgn.GameNode attribute)
STARTING_FEN (in module chess)
starts_variation() (chess.pgn.GameNode method)
status() (chess.Board method)
stop() (chess.engine.AnalysisResult method)
StringExporter (class in chess.pgn)
symbol() (chess.Piece method)
T
Tablebase (class in chess.syzygy)
tail (chess.svg.Arrow attribute)
time (chess.engine.Limit attribute)
to_square (chess.Move attribute)
tolist() (chess.SquareSet method)
turn (chess.Board attribute)
(chess.engine.PovScore attribute)
type (chess.engine.Option attribute)
U
uci() (chess.Board method)
(chess.Move method)
(chess.pgn.GameNode method)
UciProtocol (class in chess.engine)
unicode() (chess.BaseBoard method)
unicode_symbol() (chess.Piece method)
V
var (chess.engine.Option attribute)
variation() (chess.pgn.GameNode method)
variation_san() (chess.Board method)
variations (chess.pgn.GameNode attribute)
visit_board() (chess.pgn.BaseVisitor method)
visit_comment() (chess.pgn.BaseVisitor method)
visit_header() (chess.pgn.BaseVisitor method)
visit_move() (chess.pgn.BaseVisitor method)
visit_nag() (chess.pgn.BaseVisitor method)
visit_result() (chess.pgn.BaseVisitor method)
W
wait() (chess.engine.AnalysisResult method)
was_into_check() (chess.Board method)
weight (chess.polyglot.Entry attribute)
weighted_choice() (chess.polyglot.MemoryMappedReader method)
white() (chess.engine.PovScore method)
white_clock (chess.engine.Limit attribute)
white_inc (chess.engine.Limit attribute)
without_tag_roster() (chess.pgn.Game class method)
X
XBoardProtocol (class in chess.engine)
Z
zobrist_hash() (in module chess.polyglot)