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.

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.tar.gz (108.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-cp313-cp313-win_amd64.whl (188.8 kB view details)

Uploaded CPython 3.13Windows x86-64

bulletchess-0.3-cp313-cp313-musllinux_1_2_x86_64.whl (454.6 kB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ x86-64

bulletchess-0.3-cp313-cp313-musllinux_1_2_aarch64.whl (461.6 kB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

bulletchess-0.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl (469.4 kB view details)

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

bulletchess-0.3-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl (476.1 kB view details)

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

bulletchess-0.3-cp313-cp313-macosx_11_0_arm64.whl (216.3 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

bulletchess-0.3-cp313-cp313-macosx_10_13_x86_64.whl (220.4 kB view details)

Uploaded CPython 3.13macOS 10.13+ x86-64

bulletchess-0.3-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl (215.3 kB view details)

Uploaded CPython 3.13iOS 13.0+ ARM64 Simulator

bulletchess-0.3-cp313-cp313-ios_13_0_arm64_iphoneos.whl (212.8 kB view details)

Uploaded CPython 3.13iOS 13.0+ ARM64 Device

File details

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

File metadata

  • Download URL: bulletchess-0.3.tar.gz
  • Upload date:
  • Size: 108.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.tar.gz
Algorithm Hash digest
SHA256 d384d652563920201bcabe4b597579826a5a20669fba4dfe6b49f95369e2e7b6
MD5 d8b9fe05c780c49388ea6063ccca4e13
BLAKE2b-256 5e96db6c4ffdebbbf10025a44cb29bca80414a1a9d86aef2b63dd5c9f1e2baf6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bulletchess-0.3-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 188.8 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for bulletchess-0.3-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 5d9ea57558c19d7d00a9b12158e1606d1447ca5729ef7bf715330eec32ad0c03
MD5 fa98bedb693113f18eea6c4166ba787a
BLAKE2b-256 e6da041cca59c0f9f33ed79eb63cfc64145d0bb14466d29ad1a15b6d111c27db

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bulletchess-0.3-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 548789c6fa4d78cc3b7ea47abe06c112573cb178aad0e2f50a2a89e50bd4effa
MD5 1497968e17e341b592865360fdacbf24
BLAKE2b-256 f826ca1a0069a4bb26eb87de65b82892050be831ee812fdaf1f09ec3693db2a6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bulletchess-0.3-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 c4b526bc333b63647a9055fe5930dcd20d78526fc35a2e9d3899ddd4b4f5a3cd
MD5 85ed943ab43449891bab489dda82d6bc
BLAKE2b-256 1338d8af820b053d1e3cf50335743f75566ad69426cf0fa3d7830c8e2c35c3bf

See more details on using hashes here.

File details

Details for the file bulletchess-0.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-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5ca759444611f883cb5111adccb3e33a1a9d853da0799bcbd9fa085c8f29aa5b
MD5 844ac09a4891e91ced47d26a1fbc7472
BLAKE2b-256 cfea3b763efcb359754e7d51892088aa427baf4f6eb20c0a3a51decb88f188fa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bulletchess-0.3-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 7f7c71c9ae8696c7f0adee1d265ea46ee51aa067d2efd0641d7b61782108f6a9
MD5 9a774ec74f4480a67b0c13675ef4c0f1
BLAKE2b-256 f79556f31fc64e82103685b47c494caff1513bb60127cddebdbc280b268076b4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bulletchess-0.3-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5ef8027253fca5a5ad3a89ea496ae768e2e3af659aec7883a66bc05cdbe1ed94
MD5 372a5e7504ac6a3f4f2af77381e1dffd
BLAKE2b-256 e4fba72631dc9f476ab640ce175894ce9d43dcd665b6d06acdaae83799de40d2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bulletchess-0.3-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 809a13d44ced394926123f379bf7539f64a80898fb00a838cbf64b1e4995de73
MD5 4cba3c5e51b32fa40f7ec86367393893
BLAKE2b-256 1a1c18b51662ebb6663d45029025714637f6bbbe174ee90af838bc85320e3dc0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bulletchess-0.3-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl
Algorithm Hash digest
SHA256 91231184b757d65bca54d5870436d57334a128529d2053b9e6c55acf4526abc4
MD5 e251cf783b9ece096f3eb32a9f49c73f
BLAKE2b-256 acc0f2e6b6e223c2bb81bc8eb346cb8b1b491d1aaf856d8d54ec7de2dd4ef646

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bulletchess-0.3-cp313-cp313-ios_13_0_arm64_iphoneos.whl
Algorithm Hash digest
SHA256 57692ae59f48bb72d00b807dd3d690f7d30e0128e29e980f3673c1c83cebe0ae
MD5 915d0d149961856d3e4ef3f1e0fd3911
BLAKE2b-256 9177f7171bc2442232eb492238d719bd034775e5655af014a4728f1e8d5a6298

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