Skip to main content

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.

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

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ranking_table_tennis-2021.2.28.tar.gz (22.0 kB view details)

Uploaded Source

Built Distribution

ranking_table_tennis-2021.2.28-py3-none-any.whl (30.7 kB view details)

Uploaded Python 3

File details

Details for the file ranking_table_tennis-2021.2.28.tar.gz.

File metadata

  • Download URL: ranking_table_tennis-2021.2.28.tar.gz
  • Upload date:
  • Size: 22.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.9

File hashes

Hashes for ranking_table_tennis-2021.2.28.tar.gz
Algorithm Hash digest
SHA256 a4ab1029f74578791153b5d1c0a11a321970f6c3e1de671489dea379cc6cccad
MD5 d1849c2e14dd7741f367d55eeea4ac46
BLAKE2b-256 7365bbf36fa8c4f502a02b0dfbe2493ba686c654ec193b6b6aff33f70c4a1eb7

See more details on using hashes here.

Provenance

File details

Details for the file ranking_table_tennis-2021.2.28-py3-none-any.whl.

File metadata

  • Download URL: ranking_table_tennis-2021.2.28-py3-none-any.whl
  • Upload date:
  • Size: 30.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.9

File hashes

Hashes for ranking_table_tennis-2021.2.28-py3-none-any.whl
Algorithm Hash digest
SHA256 5fb4c7df1f4b993cee5c4374e7fa7d7dfd7cbbcb0cae50b8768815e58741322b
MD5 89ad430e3171c37255a6b6e871b34dc7
BLAKE2b-256 1da1f9ea130a48f29758053fd2cc0c2aaeefbabe80db82a1662725c69caaad9b

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page