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.2.tar.gz
(3.1 kB
view hashes)
Built Distribution
Close
Hashes for moveread_labels-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 325f27daa41d104c92f51d74398b502f807ca134db1b70334b018d4b96348291 |
|
MD5 | 1806d83b45120ae4445e7f8a82345686 |
|
BLAKE2b-256 | 692919c7a116273adc6854626d1c189a4d61ed3ab466bd103fc79c7624f65e37 |