Skip to main content

Python tools for working with the USATT website.

Project description

USATT

Python tools for working with the USA Table Tennis (USATT) website. As far as I am aware, there is no official API for the USATT site. So this works purely via grabbing the HTML pages from the site and parsing

Simple CLI examples

To get the USATT ratings for a few USATT ids, using a few of the top ranked USATT ids as an example:

usatt ratings -i 1165420 220283 31126

gives

USATT# Name Tournament Rating Highest Tournament Rating Tournaments Played League Rating Highest League Rating Leagues Played
1165420 Lei Kou 2790 2864 33 2816 2843 3
220283 Jinbao Ma 2760 2809 32 2723 2723 5
31126 Lily Zhang 2600 2641 95 2446 2483 41

To get a summary of all USATT ratings,

usatt summary --outfile usatt.csv

This will dump all USATT ratings to a CSV file.

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

usatt-0.0.3.tar.gz (28.4 kB view details)

Uploaded Source

Built Distribution

usatt-0.0.3-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file usatt-0.0.3.tar.gz.

File metadata

  • Download URL: usatt-0.0.3.tar.gz
  • Upload date:
  • Size: 28.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for usatt-0.0.3.tar.gz
Algorithm Hash digest
SHA256 251ddfd6b9ef4fb1b74d828facca03754ff385f84d90a3d7bb24625a9f2f8b5a
MD5 45ac1ae66294623a910f853cccb9fedc
BLAKE2b-256 f7f04694be9b699ddba0496a070ee4c99fc81d7b5c0dca87490f17978370dfa4

See more details on using hashes here.

File details

Details for the file usatt-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: usatt-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for usatt-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f2c6b83ae5e17be522487152c4cff58bf42978ba12998532f7430cf29a4bf558
MD5 36a4a8ecdd68d75364fafc1d97c16ef6
BLAKE2b-256 8b3bef0bba1d6b8b3c0ef07b08a8093e2d9a384f3c00fc61175a54c2f362fb44

See more details on using hashes here.

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