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.
Using uv (recommended)
uv venv [-p 3.12]
uv sync
Install the package globally (not recommended):
uv pip install ranking-table-tennis
Using pip (single user)
pip install --user ranking-table-tennis
Uninstallation
pip uninstall ranking-table-tennis
Authentication for gspread
To start using the upload spreadsheets capabilities, gspread requires authentication. Please, follow the recommended steps to get your system ready to upload.
Update
Using uv (recommended):
uv sync
Using pip (single user):
pip install --user --upgrade ranking-table-tennis
Usage
The commands must be run in a bash terminal. Use uv run ... if you have installed with uv.
-
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 (editable mode):
uv sync --group test
uv run pytest
Install with pip (editable mode):
pip install --editable ".[test]"
pytest
Update version at pyproject.toml and push it to github. We follow date versions like vYYYY.MM.DD
Once it is merged on master you must tag the commit so a github actions will be triggered to do the rest:
uv build
uv publish
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ranking_table_tennis-2026.3.11.tar.gz.
File metadata
- Download URL: ranking_table_tennis-2026.3.11.tar.gz
- Upload date:
- Size: 52.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
37d53cdbac5f6084b2c2268eda5d7669c3e66be24a3774bf15c3a6b1a9fb68c5
|
|
| MD5 |
ad8a974c1660f86ad2fa9a76a170a96c
|
|
| BLAKE2b-256 |
0d7f9b6bde23fbb960b36f9194073887a559b5fa891f07855e4f2954f873a9b6
|
File details
Details for the file ranking_table_tennis-2026.3.11-py3-none-any.whl.
File metadata
- Download URL: ranking_table_tennis-2026.3.11-py3-none-any.whl
- Upload date:
- Size: 65.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dc3ea63997f510fb6ba40681659e20d3a120f94e6fdb519539702a533350281e
|
|
| MD5 |
9d3990d1ac35ad2983f6790b69ce4e8a
|
|
| BLAKE2b-256 |
95a241ff488e3f7df1c4d009f3e30fea2bf3268b401bfaa3a4c94903133be563
|