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
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
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bulletchess-0.3.2.tar.gz.
File metadata
- Download URL: bulletchess-0.3.2.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
32585f72a37bf86911d49d634e1e1e2d6aee4505d978a1e8c31089a847476147
|
|
| MD5 |
bcffbc92363f37ac63e38d21e153e1ea
|
|
| BLAKE2b-256 |
1decfe337790eab44511643d13cc81558d9fd42671f6b6581d1134308472657b
|
File details
Details for the file bulletchess-0.3.2-cp313-cp313-win_amd64.whl.
File metadata
- Download URL: bulletchess-0.3.2-cp313-cp313-win_amd64.whl
- Upload date:
- Size: 99.5 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f3223edeecb7745f8e2c70641c653c7870a50a19a17bf21b1fcce1dead516559
|
|
| MD5 |
1af7ec02adf16324eb7eeff6d05769fc
|
|
| BLAKE2b-256 |
88baa630fa77d917ed3d9d9288252d821b3298a73aa8ce84b5514954581306f2
|
File details
Details for the file bulletchess-0.3.2-cp313-cp313-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: bulletchess-0.3.2-cp313-cp313-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 365.7 kB
- Tags: CPython 3.13, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
79f515010d7a05c24e04b778f17acac49f399bf5c12427924fe1037c213e7b79
|
|
| MD5 |
cdd7a8f7af92f595ed94bd3f76f4de9a
|
|
| BLAKE2b-256 |
5cc5c8956af06cb60e83d47c879728c7dac7caaaad49886e8c66826e0c9f3a53
|
File details
Details for the file bulletchess-0.3.2-cp313-cp313-musllinux_1_2_aarch64.whl.
File metadata
- Download URL: bulletchess-0.3.2-cp313-cp313-musllinux_1_2_aarch64.whl
- Upload date:
- Size: 372.8 kB
- Tags: CPython 3.13, musllinux: musl 1.2+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e6a2439738e30ca126db5bce407b6a399426b1f8b7a9b47422575563ecd753fc
|
|
| MD5 |
0664ea0dbb6901b7f82028a1f9a5ab91
|
|
| BLAKE2b-256 |
42dac4faad03b829c834dc12886df5d60b682127819271adfea098f88fa824f6
|
File details
Details for the file bulletchess-0.3.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: bulletchess-0.3.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 380.5 kB
- Tags: CPython 3.13, manylinux: glibc 2.17+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5c56a60123d81ba364580ee4203eb5a2c1e222c8ea0a3329f62bf4dde4a55931
|
|
| MD5 |
a5aee59dbf79c827f36b013efbd6212d
|
|
| BLAKE2b-256 |
98b5aa836ee6f4b777beaba143e6596b6e6698c958078b117b86f0450d1dc277
|
File details
Details for the file bulletchess-0.3.2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl.
File metadata
- Download URL: bulletchess-0.3.2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl
- Upload date:
- Size: 387.2 kB
- Tags: CPython 3.13, manylinux: glibc 2.17+ ARM64, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ba1119e7e7e70fed1a1f601b27e854e61d6548d79b255e73668e9c373f33d0a
|
|
| MD5 |
dbaeb7d785aac4b9c1993e59a56cd287
|
|
| BLAKE2b-256 |
c97d79a6e65a10344b18323367f7c901a85cea021b2931dc25f57e94ec91b216
|
File details
Details for the file bulletchess-0.3.2-cp313-cp313-macosx_11_0_arm64.whl.
File metadata
- Download URL: bulletchess-0.3.2-cp313-cp313-macosx_11_0_arm64.whl
- Upload date:
- Size: 127.3 kB
- Tags: CPython 3.13, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fe2d302071e02dabaa7c608e9b8b9662863903c3667c1195c231cbcfcb4396bc
|
|
| MD5 |
5fd11369bc0cc156d6cc7cdcf4266581
|
|
| BLAKE2b-256 |
0304eea322f88569cb71af97411f4df72cd11f9249ce6d1c81b558226ea7a239
|
File details
Details for the file bulletchess-0.3.2-cp313-cp313-macosx_10_13_x86_64.whl.
File metadata
- Download URL: bulletchess-0.3.2-cp313-cp313-macosx_10_13_x86_64.whl
- Upload date:
- Size: 131.4 kB
- Tags: CPython 3.13, macOS 10.13+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
778fe8a455ee45205a9f825819f5cd13d2a59b97ef37f5f6a76309372414aff9
|
|
| MD5 |
414b8696f59bb2d68e61fa427fe7cee0
|
|
| BLAKE2b-256 |
e56c162944ae93ad17ed5868e028558c19a05f96c7be96325675f48162b10b6c
|
File details
Details for the file bulletchess-0.3.2-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl.
File metadata
- Download URL: bulletchess-0.3.2-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl
- Upload date:
- Size: 126.8 kB
- Tags: CPython 3.13, iOS 13.0+ ARM64 Simulator
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c5ff925fc1e13a03bada13e2be9943aa6fbda7bfc68f8a8086fe87521ca40de4
|
|
| MD5 |
8ff778248117d0303d3fd710991ebb6d
|
|
| BLAKE2b-256 |
36c1671f8ed237d3efb29a5cb84c41663903ed8334ce1ce53f1f80d051a05508
|
File details
Details for the file bulletchess-0.3.2-cp313-cp313-ios_13_0_arm64_iphoneos.whl.
File metadata
- Download URL: bulletchess-0.3.2-cp313-cp313-ios_13_0_arm64_iphoneos.whl
- Upload date:
- Size: 124.4 kB
- Tags: CPython 3.13, iOS 13.0+ ARM64 Device
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aafa07ccd63d4c6b17f72a8c84e640490044b1beeb6aeacd5ccb7143377fa720
|
|
| MD5 |
374f98ef926a87179970cca6a8483ec4
|
|
| BLAKE2b-256 |
6cc0a33f216181c1693d9f6dc5c30fd339a2657f104bb88c11ac9ec26bb24196
|