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.0.0.tar.gz (3.7 kB view details)

Uploaded Source

File details

Details for the file trf-1.0.0.tar.gz.

File metadata

  • Download URL: trf-1.0.0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.3

File hashes

Hashes for trf-1.0.0.tar.gz
Algorithm Hash digest
SHA256 e064517ce61659aec5db69c9e342bf8cfe54f95b219992177f5367bc35d7c86c
MD5 c6e50a00d88d605ce58cb0beb808a0dd
BLAKE2b-256 e0234bc66ae217d14685f8b51bc00b74313b6f10e31d51051d448720dbca269e

See more details on using hashes here.

Supported by

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