Skip to content
forked from sklangen/TRF

A parser and dumper for the fide approved tournament report format: trf

License

Notifications You must be signed in to change notification settings

papi-web-org/TRF

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TRF

A parser and dumper for the fide approved tournament report format: trf The trf file format is used by the Fide to report tournament results and calculate elo ratings based on them.

This project is a working reimplementation of https://github.com/erral/fidetournament for python3.8 and aims to be the goto trf parser on pypi.

Simple usage exmaple

import trf

with open('example1.trf') as f:
    tour = trf.load(f)

print(tour.name)
for player in tour.players:
    print(player.name, '-', player.points)

About

A parser and dumper for the fide approved tournament report format: trf

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%