python-chess
latest
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)
(chess.variant.CrazyhousePocket 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.Protocol method)
analysis() (chess.engine.Protocol method)
AnalysisComplete (class in chess.engine)
AnalysisResult (class in chess.engine)
Arrow (class in chess.svg)
arrows() (chess.pgn.GameNode method)
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)
BestMove (class in chess.engine)
between() (chess.SquareSet class method)
black() (chess.engine.PovScore method)
(chess.engine.PovWdl method)
black_clock (chess.engine.Limit attribute)
black_inc (chess.engine.Limit attribute)
Board (class in chess)
board() (chess.pgn.GameNode method)
(in module chess.svg)
board_fen() (chess.BaseBoard method)
BoardBuilder (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)
checkers() (chess.Board method)
CHECKMATE (chess.Termination 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)
ChildNode (class in chess.pgn)
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)
clock() (chess.pgn.GameNode 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)
color_at() (chess.BaseBoard method)
comment (chess.pgn.GameNode attribute)
configure() (chess.engine.Protocol method)
copy() (chess.BaseBoard method)
(chess.Board method)
(chess.variant.CrazyhousePocket method)
count() (chess.variant.CrazyhousePocket method)
CrazyhouseBoard (class in chess.variant)
CrazyhousePocket (class in chess.variant)
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)
drawing_chance() (chess.engine.Wdl method)
draws (chess.engine.Wdl attribute)
drop (chess.Move attribute)
E
empty() (chess.BaseBoard class method)
(chess.Board class method)
(chess.engine.AnalysisResult method)
emt() (chess.pgn.GameNode method)
end() (chess.pgn.ChildNode method)
(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)
EngineTerminatedError (class in chess.engine)
Entry (class in chess.polyglot)
ep_square (chess.Board attribute)
epd() (chess.Board method)
errors (chess.pgn.Game attribute)
eval() (chess.pgn.GameNode method)
eval_depth() (chess.pgn.GameNode method)
EventLoopPolicy() (in module chess.engine)
expectation() (chess.engine.Wdl method)
F
fen() (chess.Board method)
FIFTY_MOVES (chess.Termination attribute)
FileExporter (class in chess.pgn)
find() (chess.polyglot.MemoryMappedReader method)
find_all() (chess.polyglot.MemoryMappedReader method)
find_move() (chess.Board method)
find_variant() (in module chess.variant)
FIVEFOLD_REPETITION (chess.Termination attribute)
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_pgn() (chess.svg.Arrow 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)
game() (chess.pgn.GameNode method)
GameBuilder (class in chess.pgn)
GameNode (class in chess.pgn)
get() (chess.engine.AnalysisResult method)
gives_check() (chess.Board method)
H
halfmove_clock (chess.Board attribute)
handle_error() (chess.pgn.BaseVisitor method)
(chess.pgn.GameBuilder 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)
headers (chess.pgn.Game attribute)
HeadersBuilder (class in chess.pgn)
I
id (chess.engine.Protocol attribute)
info (chess.engine.AnalysisResult property)
(chess.engine.PlayResult attribute)
InfoDict (class in chess.engine)
initialize() (chess.engine.Protocol method)
INSUFFICIENT_MATERIAL (chess.Termination attribute)
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_fifty_moves() (chess.Board method)
is_fivefold_repetition() (chess.Board method)
is_insufficient_material() (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_drop_squares() (chess.variant.CrazyhouseBoard method)
legal_moves (chess.Board property)
Limit (class in chess.engine)
losing_chance() (chess.engine.Wdl method)
losses (chess.engine.Wdl attribute)
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.BestMove attribute)
(chess.engine.PlayResult attribute)
(chess.pgn.ChildNode attribute)
(chess.pgn.GameNode attribute)
(chess.polyglot.Entry attribute)
Move (class in chess)
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.ChildNode attribute)
name (chess.engine.Option attribute)
NativeTablebase (class in chess.gaviota)
next() (chess.pgn.GameNode 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.Protocol attribute)
Outcome (class in chess)
outcome() (chess.Board method)
P
parent (chess.pgn.ChildNode attribute)
(chess.pgn.GameNode attribute)
parse_san() (chess.Board method)
(chess.pgn.BaseVisitor method)
parse_square() (in module chess)
parse_uci() (chess.Board method)
peek() (chess.Board method)
pgn() (chess.svg.Arrow method)
Piece (class in chess)
piece() (in module chess.svg)
piece_at() (chess.BaseBoard method)
piece_map() (chess.BaseBoard method)
piece_name() (in module chess)
piece_symbol() (in module chess)
piece_type (chess.Piece attribute)
piece_type_at() (chess.BaseBoard method)
pieces() (chess.BaseBoard method)
pin() (chess.BaseBoard method)
ping() (chess.engine.Protocol method)
play() (chess.engine.Protocol method)
PlayResult (class in chess.engine)
ply() (chess.Board method)
(chess.pgn.GameNode method)
pockets (chess.variant.CrazyhouseBoard attribute)
ponder (chess.engine.BestMove attribute)
(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)
(chess.engine.PovWdl method)
PovScore (class in chess.engine)
PovWdl (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)
Protocol (class in chess.engine)
,
[1]
,
[2]
,
[3]
,
[4]
pseudo_legal_moves (chess.Board property)
push() (chess.Board method)
push_san() (chess.Board method)
push_uci() (chess.Board method)
push_xboard() (chess.Board method)
PythonTablebase (class in chess.gaviota)
Q
quit() (chess.engine.Protocol method)
R
raw_move (chess.polyglot.Entry attribute)
ray() (chess.SquareSet class method)
read_game() (in module chess.pgn)
read_headers() (in module chess.pgn)
relative (chess.engine.PovScore attribute)
(chess.engine.PovWdl attribute)
remaining_checks (chess.variant.ThreeCheckBoard attribute)
remaining_moves (chess.engine.Limit attribute)
remove() (chess.SquareSet method)
(chess.variant.CrazyhousePocket method)
remove_piece_at() (chess.BaseBoard method)
remove_variation() (chess.pgn.GameNode method)
reset() (chess.Board method)
(chess.variant.CrazyhousePocket method)
reset_board() (chess.BaseBoard method)
resigned (chess.engine.PlayResult attribute)
result() (chess.Outcome method)
(chess.pgn.BaseVisitor method)
(chess.pgn.GameBuilder method)
returncode (chess.engine.Protocol attribute)
root() (chess.Board method)
S
san() (chess.Board method)
(chess.pgn.ChildNode method)
Score (class in chess.engine)
score() (chess.engine.Score method)
set_arrows() (chess.pgn.GameNode method)
set_board_fen() (chess.BaseBoard method)
set_castling_fen() (chess.Board method)
set_chess960_pos() (chess.BaseBoard method)
set_clock() (chess.pgn.GameNode method)
set_emt() (chess.pgn.GameNode method)
set_epd() (chess.Board method)
set_eval() (chess.pgn.GameNode method)
set_fen() (chess.Board method)
set_piece_at() (chess.BaseBoard method)
set_piece_map() (chess.BaseBoard method)
setup() (chess.pgn.Game method)
SEVENTYFIVE_MOVES (chess.Termination attribute)
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_name() (in module chess)
square_rank() (in module chess)
SquareSet (class in chess)
STALEMATE (chess.Termination attribute)
STARTING_BOARD_FEN (in module chess)
starting_comment (chess.pgn.ChildNode 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)
termination (chess.Outcome attribute)
Termination (class in chess)
ThreeCheckBoard (class in chess.variant)
THREEFOLD_REPETITION (chess.Termination attribute)
time (chess.engine.Limit attribute)
to_square (chess.Move attribute)
tolist() (chess.SquareSet method)
total() (chess.engine.Wdl method)
transform() (chess.BaseBoard method)
(chess.Board method)
turn (chess.Board attribute)
(chess.engine.PovScore attribute)
(chess.engine.PovWdl attribute)
turn() (chess.pgn.GameNode method)
type (chess.engine.Option attribute)
U
uci() (chess.Board method)
(chess.Move method)
(chess.pgn.ChildNode method)
UciProtocol (class in chess.engine)
unicode() (chess.BaseBoard method)
unicode_symbol() (chess.Piece method)
V
var (chess.engine.Option attribute)
VARIANT_DRAW (chess.Termination attribute)
VARIANT_LOSS (chess.Termination attribute)
VARIANT_WIN (chess.Termination 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)
Wdl (class in chess.engine)
wdl() (chess.engine.PovScore method)
(chess.engine.Score method)
weight (chess.polyglot.Entry attribute)
weighted_choice() (chess.polyglot.MemoryMappedReader method)
white() (chess.engine.PovScore method)
(chess.engine.PovWdl method)
white_clock (chess.engine.Limit attribute)
white_inc (chess.engine.Limit attribute)
winner (chess.Outcome attribute)
winning_chance() (chess.engine.Wdl method)
wins (chess.engine.Wdl attribute)
without_tag_roster() (chess.pgn.Game class method)
would_block() (chess.engine.AnalysisResult method)
X
XBoardProtocol (class in chess.engine)
Z
zobrist_hash() (in module chess.polyglot)
Read the Docs
v: latest
Versions
latest
stable
v1.9.4
v1.9.3
v1.9.2
v1.9.1
v1.9.0
v1.8.0
v1.7.0
v1.6.1
v1.6.0
v1.5.0
v1.4.0
v1.3.3
v1.3.2
v1.3.1
v1.3.0
v1.2.2
v1.2.1
v1.2.0
v1.1.0
v1.0.1
v1.0.0
v0.31.4
v0.31.3
v0.31.2
v0.31.1
v0.31.0
v0.30.1
v0.30.0
v0.29.0
v0.28.3
v0.28.2
v0.28.1
v0.28.0
v0.27.3
v0.27.2
v0.27.1
v0.27.0
v0.26.0
v0.25.1
v0.25.0
v0.24.2
v0.24.1
v0.24.0
v0.23.10
v0.23.9
v0.23.8
v0.23.7
v0.23.6
v0.23.5
v0.23.4
v0.23.3
v0.23.2
v0.23.1
v0.23.0
v0.22.2
v0.22.1
v0.22.0
v0.21.2
v0.21.1
v0.21.0
v0.20.1
v0.20.0
v0.19.0
v0.18.4
v0.17.0
v0.16.2
v0.15.4
v0.14.1
v0.13.3
v0.12.5
v0.11.1
v0.10.1
v0.9.1
v0.8.3
v0.7.0
v0.6.0
v0.5.0
v0.4.2
v0.3.1
v0.2.0
Downloads
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.