Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support the TRF (Tournament Report File) format #1040

Open
ZiyaoWei opened this issue Aug 21, 2023 · 1 comment
Open

Support the TRF (Tournament Report File) format #1040

ZiyaoWei opened this issue Aug 21, 2023 · 1 comment

Comments

@ZiyaoWei
Copy link

Would the TRF file format be something in scope for python-chess? There is a package for it (https://pypi.org/project/trf/) but it would be nice to have it packaged up in a popular library.

Reference: https://www.fide.com/FIDE/handbook/C04Annex2_TRF16.pdf

Format of TRF (Tournament Report File)
Agreed general Data-Exchange Format for tournament results to be submitted to FIDE.

In particular, it seems the lichess.org API only supports getting swiss tournament results using this format.

@ZiyaoWei ZiyaoWei changed the title Support TRF file format Support the TRF file format Aug 21, 2023
@ZiyaoWei ZiyaoWei changed the title Support the TRF file format Support the TRF (Tournament Report File) format Aug 21, 2023
@niklasf
Copy link
Owner

niklasf commented Aug 22, 2023

Hi, it's definitely something to consider.

The existing modules chess.pgn, chess.polyglot, chess.gaviota, chess.syzygy, chess.engine, chess.svg all benefit significantly from sharing types like chess.Move and chess.Board. TRF on the other hand can stand on its own perfectly fine, so I am not sure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants