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.

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.

  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 (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

Metadata

Release files for ranking_table_tennis 2026.3.10

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 2026.3.10
File Size Uploaded Provenance Actions
ranking_table_tennis-2026.3.10.tar.gz 34.2 kB Without provenance Details for ranking_table_tennis-2026.3.10.tar.gz

Built distribution (wheel)

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

Total release size: 74.9 kB

Release files / ranking_table_tennis-2026.3.10.tar.gz

Download URL ranking_table_tennis-2026.3.10.tar.gz
Size 34.2 kB
Tags Source
SHA-256 checksum
How to use checksums
7772d68b1e66df56e6288360350ba86623603067fddf6486c76e03357e7d3f6f
BLAKE2b-256 checksum
How to use checksums
072909878f4a3a7c634acc257e30a1d1c8b81bebc7ed9e60a01ed5fff65cbca9
Upload date
Uploaded using Trusted Publishing?
What is 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}

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

Download URL ranking_table_tennis-2026.3.10-py3-none-any.whl
Size 40.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d41316e721584058cf1f41aac92e67eb16f4d89dcd9e172f2b7c9995b478da1e
BLAKE2b-256 checksum
How to use checksums
299a65214ecf92722d9f2ca8a1d376df4e36b40548f9e97977fe85e3df7dc2bb
Upload date
Uploaded using Trusted Publishing?
What is 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}

Security for ranking_table_tennis 2026.3.10

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

2026.3.10 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