Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fen2image-1.0.1.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fen2image-1.0.1-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file fen2image-1.0.1.tar.gz.

File metadata

  • Download URL: fen2image-1.0.1.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for fen2image-1.0.1.tar.gz
Algorithm Hash digest
SHA256 65a5cf8404a1907afa51885e33e580bd76196e053fa1a8acb574cfc02a67d02f
MD5 742bb0d97eacb774b7a4d139ca70cbf4
BLAKE2b-256 56dbc50b0dd67e9146ae36685b7d043771f52cfcd652cd2484098f6d7f486327

See more details on using hashes here.

Provenance

The following attestation bundles were made for fen2image-1.0.1.tar.gz:

Publisher: publish.yml on to-grt/fen2image

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fen2image-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: fen2image-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 8.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for fen2image-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4a05ab4d0b4a990b40e2ed32ecee2285d132e0185b353523509e18cb6f32cd84
MD5 e46cbb6a7fdc883cc1214a33aeba527d
BLAKE2b-256 2fe36b8797a8a7b13af81848fc0c3b7bc97364a1fb8b8201455db0481a59f8ad

See more details on using hashes here.

Provenance

The following attestation bundles were made for fen2image-1.0.1-py3-none-any.whl:

Publisher: publish.yml on to-grt/fen2image

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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