A ranking table tennis system
Project description
ranking-table-tennis
Ranking system for table tennis players.
The system keeps a record of championship points and rating points.
Championship points aim at tracking the tournament achievements of players. Their computation is based on the best rounds reached by players in each tournament.
Rating points aim at tracking the relative skill level of players. Their computation is based on the outcomes of one-versus-one matches.
Installation
This system has been developed for a Linux environment.
System-wide installation
sudo pip3 install ranking-table-tennis
Single-user installation (recommended)
pip3 install --user ranking-table-tennis
Uninstallation
[sudo] pip3 uninstall ranking-table-tennis
Update
System-wide update
sudo pip3 install -U ranking-table-tennis
Single-user update (recommended)
pip3 install --user -U ranking-table-tennis
Usage
The commands must be run in a bash terminal.
-
Fill a sheet with the tournament matches. It must be saved in the Tournaments spreadsheet (xlsx).
Players and Initial Ranking sheets must be in the same spreadsheet (it is used as a database).
-
Run
rtt preprocess
.The scripts will read the Tournament spreadsheet and will ask for missing information of new players (city, affiliation, initial rating points, and category). This information will be saved in the Players and Initial Ranking sheets.
-
Run
rtt compute
.It will ask for the tournament that you want to process. 0 will compute all from the beggining. The outcome will be saved in the Ranking spreadsheet.
-
Run
rtt publish
.It will ask for the index of the tournament that you want to publish. The outcome will be saved in a new spreadsheet.
Development
Install locally from source (source directory will immediately affect the installed package without needing to re-install):
pip3 install --user --editable .
Update version at setup.py
and then create a source distribution
python3 setup.py sdist bdist_wheel
Upload to PyPI
twine upload dist/*
Upload to TestPyPI
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for ranking_table_tennis-2020.4.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c8a4ea9f26a2750947708608edb07babc7724e6d898963805601726760673a1 |
|
MD5 | ca4d29970e3a84c7236219ae53a44c33 |
|
BLAKE2b-256 | 30ae5ae5d83805e3223007d46b26fe1ac60becde55b7191ff6f0fd9ac3cbf01b |
Hashes for ranking_table_tennis-2020.4.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6cfcaf02808139b986f3c50cc8958c874d8c5ca487f6dc9377dbf37fc1fbc661 |
|
MD5 | 8fcfe8339f3582cc3e74ac1d083bca1b |
|
BLAKE2b-256 | 8bb0073d0efba37facfbcad794e5aacfc82ba2e754700f0d07eb9fcc5cb361e2 |