Annotating and exporting labels
Project description
Moveread Labels
Annotating and exporting labels
Usage
import moveread.labels as lab
ann = lab.Annotations(language='DE', styles=lab.StylesNA(pawn_capture='de', piece_capture='NxN'))
lab.export(['e4', 'e5', 'Nf3', 'Nc6', 'd4', 'exd4', 'Nxd4', 'Nf6', 'Nxc6', 'bxc6'], ann)
# Right(value=['e4', 'e5', 'Sf3', 'Sc6', 'd4', 'ed', 'SxB', 'Sf6', 'SxS', 'bc'])
lab.export(['e4', 'e4'], ann)
# Left(value=IllegalMoveError("illegal san: 'e4' in rnbqkbnr/[...]"))
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
moveread_labels-0.1.4.tar.gz
(3.1 kB
view details)
Built Distribution
File details
Details for the file moveread_labels-0.1.4.tar.gz
.
File metadata
- Download URL: moveread_labels-0.1.4.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b89705f56297c053f7a17292018526f22b21c8e3818d07eb26a2b5bd8bbbfb0c |
|
MD5 | d2c80941645f8c32af6ce0823e06ebf6 |
|
BLAKE2b-256 | 51be0a7992507d3e58a41a74772df68d31ce6944e1e0c869e1065936c304023a |
File details
Details for the file moveread_labels-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: moveread_labels-0.1.4-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49dc891d8509e2ea4d970f6de831bf09c4efcc71f5e176beee4b446181da4523 |
|
MD5 | 453cfe0be840eedf0ad7a0b816d76672 |
|
BLAKE2b-256 | 8b36765ea5e1cca912b9aba877ef7b4c594da74caa3f9cd90a5e9b99ae0be9bb |