Skip to main content

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

Project description

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)

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

trf-1.1.1.tar.gz (34.9 kB view hashes)

Uploaded Source

Built Distribution

trf-1.1.1-py3-none-any.whl (17.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page