fen-to-image
Generate a chess board image given a FEN, à la Lichess style.
Installation
fentoimage is available on PyPI.
pip install fentoimage
Example Usage
import chess
from fentoimage.board import BoardImage
fen = "rnbqk1nr/pppp1ppp/8/4p3/1bP5/2N5/PP1PPPPP/R1BQKBNR w KQkq - 2 3"
renderer = BoardImage(fen)
image = renderer.render(highlighted_squares=(chess.F8, chess.B4))
image.show()
Example Output
Metadata
Release files for fentoimage 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fentoimage-0.1.0.tar.gz | 6.9 MB | Without provenance | Details for fentoimage-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fentoimage-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for fentoimage-0.1.0-py3-none-any.whl |
Total release size: 14.5 MB
Release files / fentoimage-0.1.0.tar.gz
| Download URL | fentoimage-0.1.0.tar.gz |
|---|---|
| Size | 6.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ad609bc1ccea624ee9c5eccde7991e9ecb27549be9fac0f7632838cc14d08720
|
|
BLAKE2b-256 checksum How to use checksums |
460fc23c710431b3597ad0bc2e0fbb8fe2c428709ce7fa46a28430d0776dbe45
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.23.0
|
Release files / fentoimage-0.1.0-py3-none-any.whl
| Download URL | fentoimage-0.1.0-py3-none-any.whl |
|---|---|
| Size | 7.6 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e34be59c163451872f3d18abf1f8b1da0f7afa49f6c4e671fdd3b5439b71200a
|
|
BLAKE2b-256 checksum How to use checksums |
c68f0877fe4a8641b00e811aece95a2a6bee8fecad82a03332cdaefa97efcc0c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.23.0
|
Security for fentoimage 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.