Skip to main content

A high performance C Extension for chess

Project description

bulletchess

bulletchess is a Python module for playing, analyzing, and building engines for chess. Unlike other chess libraries in Python, the core of bulletchess is written in C, allowing it to be much faster than alternatives.

Overview

At a high level, bulletchess includes:

  • A complete game model with intuitive representations for pieces, moves, and positions.
  • Extensively tested legal move generation, application, and undoing.
  • Parsing and writing of positions specified in Forsyth-Edwards Notation (FEN), and moves specified in both Long Algebraic Notation and Standard Algebraic Notation.
  • Methods to determine if a position is check, checkmate, stalemate, and each specific type of draw.
  • Efficient hashing of positions using Zobrist Keys.
  • A Portable Game Notation (PGN) file reader
  • Utility functions for writing engines.
pip install bulletchess

Read the docs

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bulletchess-0.3.1.tar.gz (113.7 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

bulletchess-0.3.1-cp313-cp313-win_amd64.whl (99.5 kB view details)

Uploaded CPython 3.13Windows x86-64

bulletchess-0.3.1-cp313-cp313-musllinux_1_2_x86_64.whl (365.7 kB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ x86-64

bulletchess-0.3.1-cp313-cp313-musllinux_1_2_aarch64.whl (372.8 kB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

bulletchess-0.3.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl (380.5 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

bulletchess-0.3.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl (387.2 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

bulletchess-0.3.1-cp313-cp313-macosx_11_0_arm64.whl (127.3 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

bulletchess-0.3.1-cp313-cp313-macosx_10_13_x86_64.whl (131.4 kB view details)

Uploaded CPython 3.13macOS 10.13+ x86-64

bulletchess-0.3.1-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl (126.8 kB view details)

Uploaded CPython 3.13iOS 13.0+ ARM64 Simulator

bulletchess-0.3.1-cp313-cp313-ios_13_0_arm64_iphoneos.whl (124.4 kB view details)

Uploaded CPython 3.13iOS 13.0+ ARM64 Device

File details

Details for the file bulletchess-0.3.1.tar.gz.

File metadata

  • Download URL: bulletchess-0.3.1.tar.gz
  • Upload date:
  • Size: 113.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for bulletchess-0.3.1.tar.gz
Algorithm Hash digest
SHA256 e1b31a171777ba3736bff8d5f516f89e479697272c4807633dbd99ae6c741305
MD5 b8d72db49c92bcd889690c95c1242752
BLAKE2b-256 84812f3bea048fad94e77cf2e91d2309b71604d9d6518af9c96cf15ed45e5843

See more details on using hashes here.

File details

Details for the file bulletchess-0.3.1-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for bulletchess-0.3.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 f087c3239c87446ea32d905f02db11ebe64a299fe1505972eaa72a10105995f4
MD5 bb04320558bfe073435d46b733d01982
BLAKE2b-256 fd6d5f1230cade338c60f83f035b6bd68e980df887451a354a25fb1f4d74ab80

See more details on using hashes here.

File details

Details for the file bulletchess-0.3.1-cp313-cp313-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for bulletchess-0.3.1-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 b5d803f5d4950cb1336f2ee81bf1f2da75f23e675ef434bf2903b4ff60d9c0f4
MD5 654a77d3f2fe5a178983d2652a5daaf2
BLAKE2b-256 d6de9b3d8c72bce3bacc6f602898576a66910788e95d93b6f57ee78a6a8e2340

See more details on using hashes here.

File details

Details for the file bulletchess-0.3.1-cp313-cp313-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for bulletchess-0.3.1-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 b7e6432f9b31b54e3be27e3aeae5611e849d03179a9d2ed8ce20d42e94ac483b
MD5 cf98b6f734acd3b1d143d794d8e39a67
BLAKE2b-256 658a02a60477d0f753b5ecfe4992aa54b18023edeb6d671b43dce1d2f3a17d9e

See more details on using hashes here.

File details

Details for the file bulletchess-0.3.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for bulletchess-0.3.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 bc212bacb4e27c183f4c8b98d0831e328bc506a259d43781b97a92a5641d7bfe
MD5 d9e3c45d68fff9ff7a143cb09c9022e1
BLAKE2b-256 f56b12a88ee2f406352fd5c6182567143b9fdf841441d7a213d1fb04ead097cc

See more details on using hashes here.

File details

Details for the file bulletchess-0.3.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for bulletchess-0.3.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 05ae2780d6f4b32f579e0afe1a322ba16280ba11e0af39b8754444d853fda316
MD5 7e5f7561a2a9240467bc015892000d03
BLAKE2b-256 7044898f156ba8f9c112ddf4de12a1b1c52bf97040c0f3ad6a263159933ebb0d

See more details on using hashes here.

File details

Details for the file bulletchess-0.3.1-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for bulletchess-0.3.1-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5d3f7407299c18086f03a84fc67d37a086ff328ebfdfc48f7d521c104c19d84c
MD5 627b567b9a7d1b5f03776733f1462abb
BLAKE2b-256 87c091acbc0a7a29684d4011b86932eddf130ff74cfb67f5450782f74c081f92

See more details on using hashes here.

File details

Details for the file bulletchess-0.3.1-cp313-cp313-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for bulletchess-0.3.1-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 56a4aae5e372b4b52bfe81c1cd891baeda0ed98ad1a22d0341e33e2988da7ba2
MD5 bdda6511332a4f7154cb059b0262cc49
BLAKE2b-256 17902c522dc0dd8a5f4e6bae1be14cc34c9aef92953d9c8075afeab42db551a5

See more details on using hashes here.

File details

Details for the file bulletchess-0.3.1-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl.

File metadata

File hashes

Hashes for bulletchess-0.3.1-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl
Algorithm Hash digest
SHA256 63b1a7ff4daa7dac0ead9e65cdbc23bf63c76373230c43eec85b3966db57f6e7
MD5 fe44dad8032d9faedcd89681cf47d5d7
BLAKE2b-256 5e881a260fd19d5c11709bac04042c76cbe8d01b721daf1d6d39efa59ecab1d5

See more details on using hashes here.

File details

Details for the file bulletchess-0.3.1-cp313-cp313-ios_13_0_arm64_iphoneos.whl.

File metadata

File hashes

Hashes for bulletchess-0.3.1-cp313-cp313-ios_13_0_arm64_iphoneos.whl
Algorithm Hash digest
SHA256 1f062cf3d0c46c451bd3da00642178d9de0ee0792c4262fcb207a476f4cb41c2
MD5 cd3827c5fa061ff8cf711bffae3b203f
BLAKE2b-256 901ca79516651d58737eabe47d97c3f7141b339588ba115969c5e11647af5477

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page