Convert chess FEN strings to PIL Image
Project description
fen2image
Transform a FEN string to a PIL Image.
A short package for chess players :)
When provided a FEN position as a string, this module will verify the FEN integrity. The verification is quite extensive but I have might have forget some cases.
If the FEN is not correct, an error will be raised.
Usage:
from fen2image import fen2image
img = fen2image('your_fen')
img.show() # as for every PIL Image
Enjoy.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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 fen2image-1.0.0.tar.gz.
File metadata
- Download URL: fen2image-1.0.0.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
670ca18f230b2e4e25321ee8de7e2f874bca79df7b82e7c4407fb40ef09c3601
|
|
| MD5 |
e86f79a427ca6e825e6e5de42b4418d0
|
|
| BLAKE2b-256 |
0ad1a55f6d407022274b6cff221d3d3516e6e5ac13ec3b03347533b5ccb93e9a
|
File details
Details for the file fen2image-1.0.0-py3-none-any.whl.
File metadata
- Download URL: fen2image-1.0.0-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7c14b7d3ac5b3c47e4ccec859d23152000adfb31b1ecfcd11e31be0e301a3871
|
|
| MD5 |
24fef6109ea295235af77a6531c651d9
|
|
| BLAKE2b-256 |
12b15fd36e60ff176e7b834f27eac95e390c062dcddc0e4429ff85444a156645
|