Name | usatt JSON |
Version |
0.0.3
JSON |
| download |
home_page | |
Summary | Python tools for working with the USATT website. |
upload_time | 2023-11-02 17:37:14 |
maintainer | |
docs_url | None |
author | |
requires_python | >=3.10 |
license | |
keywords |
usatt
table tennis
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# 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:
```shell
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,
```shell
usatt summary --outfile usatt.csv
```
This will dump all USATT ratings to a CSV file.
Raw data
{
"_id": null,
"home_page": "",
"name": "usatt",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": "",
"keywords": "usatt,table tennis",
"author": "",
"author_email": "Shyue Ping Ong <shyuep@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/f7/f0/4694be9b699ddba0496a070ee4c99fc81d7b5c0dca87490f17978370dfa4/usatt-0.0.3.tar.gz",
"platform": null,
"description": "# USATT\n\nPython tools for working with the USA Table Tennis (USATT) website. As far as I am aware, there is no official API\nfor the USATT site. So this works purely via grabbing the HTML pages from the site and parsing\n\n# Simple CLI examples\n\nTo get the USATT ratings for a few USATT ids, using a few of the top ranked USATT ids as an example:\n\n```shell\nusatt ratings -i 1165420 220283 31126\n```\n\ngives\n\n| USATT# | Name | Tournament Rating | Highest Tournament Rating | Tournaments Played | League Rating | Highest League Rating | Leagues Played |\n|---------:|:-----------|--------------------:|----------------------------:|---------------------:|----------------:|------------------------:|-----------------:|\n| 1165420 | Lei Kou | 2790 | 2864 | 33 | 2816 | 2843 | 3 |\n| 220283 | Jinbao Ma | 2760 | 2809 | 32 | 2723 | 2723 | 5 |\n| 31126 | Lily Zhang | 2600 | 2641 | 95 | 2446 | 2483 | 41 |\n\nTo get a summary of all USATT ratings,\n\n```shell\nusatt summary --outfile usatt.csv\n```\n\nThis will dump all USATT ratings to a CSV file.\n",
"bugtrack_url": null,
"license": "",
"summary": "Python tools for working with the USATT website.",
"version": "0.0.3",
"project_urls": null,
"split_keywords": [
"usatt",
"table tennis"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "8b3bef0bba1d6b8b3c0ef07b08a8093e2d9a384f3c00fc61175a54c2f362fb44",
"md5": "36a4a8ecdd68d75364fafc1d97c16ef6",
"sha256": "f2c6b83ae5e17be522487152c4cff58bf42978ba12998532f7430cf29a4bf558"
},
"downloads": -1,
"filename": "usatt-0.0.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "36a4a8ecdd68d75364fafc1d97c16ef6",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 5739,
"upload_time": "2023-11-02T17:37:13",
"upload_time_iso_8601": "2023-11-02T17:37:13.194378Z",
"url": "https://files.pythonhosted.org/packages/8b/3b/ef0bba1d6b8b3c0ef07b08a8093e2d9a384f3c00fc61175a54c2f362fb44/usatt-0.0.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "f7f04694be9b699ddba0496a070ee4c99fc81d7b5c0dca87490f17978370dfa4",
"md5": "45ac1ae66294623a910f853cccb9fedc",
"sha256": "251ddfd6b9ef4fb1b74d828facca03754ff385f84d90a3d7bb24625a9f2f8b5a"
},
"downloads": -1,
"filename": "usatt-0.0.3.tar.gz",
"has_sig": false,
"md5_digest": "45ac1ae66294623a910f853cccb9fedc",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 28358,
"upload_time": "2023-11-02T17:37:14",
"upload_time_iso_8601": "2023-11-02T17:37:14.727505Z",
"url": "https://files.pythonhosted.org/packages/f7/f0/4694be9b699ddba0496a070ee4c99fc81d7b5c0dca87490f17978370dfa4/usatt-0.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-11-02 17:37:14",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "usatt"
}