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.3.tar.gz (113.8 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.3-cp313-cp313-win_amd64.whl (99.6 kB view details)

Uploaded CPython 3.13Windows x86-64

bulletchess-0.3.3-cp313-cp313-musllinux_1_2_x86_64.whl (365.8 kB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ x86-64

bulletchess-0.3.3-cp313-cp313-musllinux_1_2_aarch64.whl (372.9 kB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

bulletchess-0.3.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl (380.6 kB view details)

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

bulletchess-0.3.3-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl (387.3 kB view details)

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

bulletchess-0.3.3-cp313-cp313-macosx_11_0_arm64.whl (127.4 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

bulletchess-0.3.3-cp313-cp313-macosx_10_13_x86_64.whl (131.5 kB view details)

Uploaded CPython 3.13macOS 10.13+ x86-64

bulletchess-0.3.3-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl (126.9 kB view details)

Uploaded CPython 3.13iOS 13.0+ ARM64 Simulator

bulletchess-0.3.3-cp313-cp313-ios_13_0_arm64_iphoneos.whl (124.5 kB view details)

Uploaded CPython 3.13iOS 13.0+ ARM64 Device

File details

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

File metadata

  • Download URL: bulletchess-0.3.3.tar.gz
  • Upload date:
  • Size: 113.8 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.3.tar.gz
Algorithm Hash digest
SHA256 886afcfc475a80a507518e347ce31eaae3ee832daccc50d778375c9853099cce
MD5 5089c0780b4b4fc0d5256a1d82373040
BLAKE2b-256 c9f154e0cc55d7d7825b35a60bc9021edb4bddccfaa8d35c630a5c8a64504b17

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bulletchess-0.3.3-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 b5fa91e8c9e9bf17b0f8c6b481c62ae50898c1cf868f0d80bbcf503e21dfb123
MD5 83c14849e3b2242ef3e8d5e504a4fdbd
BLAKE2b-256 c4f44d41f691ccd028ab29d176089b1f8891c417391f629b4df84a5027b3a981

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bulletchess-0.3.3-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 198fe8685ddcac780e9f17f008a2910a05df338cee39e5aa1e7f9fb4267db7ac
MD5 c3cd3e5b6fce44834de2f06d79f68d16
BLAKE2b-256 8834344fcbb543844b028640f34ea94725ec967fddd3ca35c5bb62a7715f7b8e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bulletchess-0.3.3-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 69d5e2b4aa1a4387e7988647324df54bb738f50a23b3503da0b0425a4cbdad52
MD5 6a33cd525f65961043eaf059f03a1164
BLAKE2b-256 36d6bbc71d19e76302a65b24a78a9a7620da8fa17619e19c3e304486fba790fd

See more details on using hashes here.

File details

Details for the file bulletchess-0.3.3-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.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c180606360fad82537a5d48eefbaab16ad4720d0055d50862227df734fc2965c
MD5 4875919c143a1403f6deb9ca34f53683
BLAKE2b-256 355c10176d13a92c1ed8c8571fc06296786684519a0cbe5c16e0fcf95b4709ef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bulletchess-0.3.3-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a76f4a8a945d61b478ce40d1770be7e7e59d87ee19d66cbd7b8a979d46f9c557
MD5 dfe0750658f46c3f1e22005e805baacd
BLAKE2b-256 7d2eaa464045c83abef97254b4c7b9e33c51a1a48e7e33fe64f7e618b0d202bf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bulletchess-0.3.3-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5fcdebba63c0633fb3d746452e17a0ba79dc176288058f93186e544e037dc22e
MD5 a3ae8b172959c99e9d29cd4b171b84d8
BLAKE2b-256 ca19d8f3594100573ff9a1d28684fd5298969ca88de5e3d3009c161fab211fcc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bulletchess-0.3.3-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 5a297b66c14c2d78ff0bf3fcd65399b958a6687650439f5226127b532304b771
MD5 732ded1da3e73d5bd48a49beef42bca6
BLAKE2b-256 ff4092fe46060b68c71e37525e728040866a90ec52d1ed450c11d41ae5d2453d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bulletchess-0.3.3-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl
Algorithm Hash digest
SHA256 e5069d7d83c95ce826285203b40bea30b2a77862ce666fe2cecff02aecaf9fdb
MD5 36e14f65a2d851e86dbef20c9679eb23
BLAKE2b-256 d6275885fc8ae5cf751a3860d7ca10c1a83f2c84f24015c664ea90e0864b7c90

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bulletchess-0.3.3-cp313-cp313-ios_13_0_arm64_iphoneos.whl
Algorithm Hash digest
SHA256 b42c482fc37f797d528cefc89e8ef9a8613457bba4b947b8f97480b55051f47f
MD5 bd48706a4b4e9beaf0f989c1590ab641
BLAKE2b-256 5ddd936165717e260bf96822f287c395a7901e69c19c43fbf1ca4b58f6d2838b

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