Escolar Documentos
Profissional Documentos
Cultura Documentos
arbitools
Table of Contents
1
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
2.1
2.2
Usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
3.1
3.2
.veg files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
.txt files (FIDE Krause) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
.csv files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
3
3
3
3
3
Graphical Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Command Line. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.2.1 arbitools-update.py . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.2.2 arbitools-add.py . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.2.3 arbitools-standings.py . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
File Formats. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
4.1
4.2
4.3
Installing Python . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Other files you may need . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Chapter 1: Introduction
1 Introduction
Chess Arbiter Tools were born as a solution to a situation where chess arbiters are forced to
use privative software because of the lack of free tournament management tools. It consists
of a group of programs that allows the arbiter to do some important tasks in tournaments,
such as maintaining the players database up to date or produce reports.
The philosophy is to provide the arbiter with more freedom over the tournament files.
The most common programs (usually privative software) dont usually allow direct operations on the files, so the arbiter has to stick to the possibilities the program offers. The
alternative is to allow the arbiter with complete control over the files during the tournament.
Apart from that, as it happens with any other free software program, if the user is not
happy with the way the program does stuff, he or she can just change the code to make it
works the way he likes.
Chapter 2: Installation
2 Installation
This program is written in python 3, which is an interpreted language, so you dont really need to install it. Just download the latest version from http://www.github.com/
mrrookes/arbitools.
Chapter 3: Usage
3 Usage
Chess Arbiter Tools has been designed to be used in command line. Some of the newest
features are only possible through this means. Anyway, sooner or later, all the features will
be available in the graphical interface also.
3.2.2 arbitools-add.py
Adds extra players to an existing file.
-i This argument takes the name of the input file. This is the file with the information
we want to update.
You can use .veg files, .txt (FIDE Krause) or .csv. For details see the section See
Chapter 4 [File Formats], page 5.
-a This argument takes the name of the file with the extra players you want to add.
It should be a .csv file with the structure described in the File Formats section.
You can use .veg files, .txt (FIDE Krause) or .csv. For details see the section See
Chapter 4 [File Formats], page 5.
3.2.3 arbitools-standings.py
Produces the standings for a tournament. A file with the standings suffix is created. You
get also a .tex file, ready to use with pdflatex to get a pdf.
Chapter 3: Usage
-i This argument takes the name of the input file. It will only work witn .txt (FIDE
Krause) or .veg. Other formats dont contain the tournaments information needed
to produce the standings.
4 File Formats
4.1 .veg files
This is the format of the Vega software, written by Luigi Forlano. Although it is not free
software, the file format is free. This program is widely used in Spain and Italy.
mytournament =
6.2 Properties
info This dictionary encapsulates important information about the tournament:
1. TOURNAMENT NAME
2. CITY
3. FED
4. BEGIN DATE
5. END DATE
6. ARBITER
7. DEPUTY
8. NUMBER OF ROUNDS
9. CURRENT ROUND
10. NUMBER OR PLAYERS
players data List of dictionaries with the data of the players.
1. NAME : Surname, Name
2. G: Sex: m or f
3. IDFIDE
4. ELOFIDE
5. COUNTRY
6. TITLE
7. ELONAT
8. KFIDE
9. CLUB
10. BIRTHDAY
11. KNAT
12. IDNAT
6.3 Methods
output to file(inputfile) It takes one argument, the name of the file to output the
information.
Chapter 7: Troubleshooting
7 Troubleshooting
Known bugs
1. Standings wont work with tournament files where a player didnt play any rounds.