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.
- Specification: https://www.fide.com/FIDE/handbook/C04Annex2_TRF16.pdf
- Example: http://ratings.fide.com/download/example1.txt
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)
Metadata
Release files for trf 1.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| trf-1.1.1.tar.gz | 34.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| trf-1.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 52.1 kB
Release files / trf-1.1.1.tar.gz
| Download URL | trf-1.1.1.tar.gz |
|---|---|
| Size | 34.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8819692f4ce9c243b1f82a787a0eb8c94ac36b8fff87d1144b3dce30f0fb90c8
|
|
BLAKE2b-256 checksum How to use checksums |
a473f0d60cc945a4b0afe51ab83e241ae77f269714a22a3126aa0c3dcfc9cf29
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6
|
Release files / trf-1.1.1-py3-none-any.whl
| Download URL | trf-1.1.1-py3-none-any.whl |
|---|---|
| Size | 17.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
191c48f8227ea2ae3c4d96a32dbf9b6bc97c3d9c3cd659e955d0d881589d777a
|
|
BLAKE2b-256 checksum How to use checksums |
2aa405d7d8776f09e9755f2aea24960de84c469c49f0e8db7ad59be5ec433e16
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6
|