Skip to main content

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.

Poetry installation (recommended)

poetry install

System-wide installation

sudo pip install ranking-table-tennis

Single-user installation

pip install --user ranking-table-tennis

Uninstallation

[sudo] 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

System-wide update

sudo pip install -U ranking-table-tennis

Single-user update (recommended)

pip install --user -U ranking-table-tennis

Usage

The commands must be run in a bash terminal.

  1. 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).

  2. 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.

  3. 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.

  4. 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):

pip install --user --editable .

sudo apt install graphviz (still required?)

Update version at pyproject.toml and then create a source distribution

poetry build

Upload to PyPI

poetry publish [--dry-run] [--build]

Upload to TestPyPI

poetry publish -r testpypi [--dry-run] [--build]

Metadata

Release files for ranking_table_tennis 2025.3.17

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ranking_table_tennis 2025.3.17
File Size Uploaded Provenance Actions
ranking_table_tennis-2025.3.17.tar.gz 39.0 kB Without provenance Details for ranking_table_tennis-2025.3.17.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ranking_table_tennis 2025.3.17
File Interpreter ABI Platform Actions
ranking_table_tennis-2025.3.17-py3-none-any.whl Python 3 none any Details for ranking_table_tennis-2025.3.17-py3-none-any.whl

Total release size: 96.6 kB

Release files / ranking_table_tennis-2025.3.17.tar.gz

Download URL ranking_table_tennis-2025.3.17.tar.gz
Size 39.0 kB
Tags Source
SHA-256 checksum
How to use checksums
7c6fbfe1e05a8356025acaa8f5b63dde0bf4d461e509c000820ca38577d41dd3
BLAKE2b-256 checksum
How to use checksums
5879ca883da330879ade96ca51e8e412ea27cbec34fadbb1c7afb81df0c31676
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.0.1 CPython/3.13.1 Darwin/23.6.0

Release files / ranking_table_tennis-2025.3.17-py3-none-any.whl

Download URL ranking_table_tennis-2025.3.17-py3-none-any.whl
Size 57.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
de9d0fdbae9298c877c683aca5d6415a22ba48e45c73d662e9aa47eaf3c33fdf
BLAKE2b-256 checksum
How to use checksums
dcef7b6176f1f6774aea370fbb887d73114af1a4fd91c269d139a51e842904a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.0.1 CPython/3.13.1 Darwin/23.6.0

Security for ranking_table_tennis 2025.3.17

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2025.3.17 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page