Skip to main content

Get ATP and WTA tennis live scores quickly in your terminal.

Project description

Get Tennis Scores

Get ATP and WTA tennis live scores quickly in your terminal.

Written in Python, utilizes Textual.

Why a Tennis Scores Terminal App?

Sometimes when I'm working in my terminal (or in Emacs, really), I want a quick way to check on ATP and WTA scores, but I don't want to switch to my browser to do it. So why not have a way to check the scores in my terminal?

Features

  • Real-time ATP & WTA match & score tracking
  • Responsive grid layout that adapts to terminal resizing
  • JSON schema validation via Pydantic
  • Adjustable API polling interval

Limitations

Currently the app only tracks ATP and WTA singles events.

Additionally, the tennis score tracking data provided by ESPN's unofficial API is structurally limited.

  • Score Resolution: Point-by-point tracking (e.g., 15-0, 30-40, Ad-In) is not supported. The data feed exclusively provides aggregated game and set scores.
  • Tournament Availability: The API solely tracks tournaments that are currently in progress. It does not provide historical data for past tournaments or schedules for inactive, future events.

Installation and Uninstallation

To install:

# Install via pipx (recommended)
pipx install get-tennis-scores

# Install with standard pip
# Recommend using a virtual environment
pip install get-tennis-scores

To uninstall:

# If you installed using pipx
pipx uninstall get-tennis-scores

# If you installed using pip
pip uninstall get-tennis-scores

Usage

Launch the app in the terminal:

get-tennis-scores

Configuration

The live score tracking refresh interval is adjustable at the top of the UI. The default is set to 30 seconds. A 10 second minimum is enforced to reduce the risk of API rate limiting.

There is little reason to having a low refresh interval anyway since the score tracks only games and sets, not points.

To-do

  • Incorporate doubles events
  • Add a player search feature
  • Add an indicator that a match is live
  • Add estimated time and dates for scheduled matches

Disclaimer

Not Affiliated with the Data Provider: This project is an independent, open-source educational tool. It is not affiliated with, endorsed by, sponsored by, or associated with ESPN, The Walt Disney Company, the ATP Tour, or the WTA Tour. "ESPN" and related trademarks are the property of their respective owners.

Unofficial API Usage: This application retrieves data utilizing an undocumented, unofficial API. By executing this software, you acknowledge the following risks:

  • Terms of Service: Automated extraction of data via this endpoint may violate the data provider's Terms of Service.
  • Assumption of Risk: You run this software entirely at your own risk. The author assumes no liability for any consequences arising from its use, including but not limited to IP address bans, network rate-limiting, or legal action initiated by the data provider against the end-user.
  • Application Stability: The upstream API schema, endpoints, and data structures are subject to modification at any time without public notice. Such changes will result in application crashes or data parsing failures until the repository's internal data models are manually updated to reflect the new API contract.

MIT License

This project is licensed under the MIT License - see the LICENSE file for details.

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

get_tennis_scores-0.1.1.tar.gz (12.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

get_tennis_scores-0.1.1-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

Details for the file get_tennis_scores-0.1.1.tar.gz.

File metadata

  • Download URL: get_tennis_scores-0.1.1.tar.gz
  • Upload date:
  • Size: 12.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for get_tennis_scores-0.1.1.tar.gz
Algorithm Hash digest
SHA256 556853c2e32f02e0b656f913b3410b2a9e6f3bae80f269ee41a41c2684ae1b7f
MD5 e1dda1112294e8fff23fa1f137def2a3
BLAKE2b-256 612efc835ca705c784075ef0f5db19c195398170d35757c2226fd7896d8d472e

See more details on using hashes here.

Provenance

The following attestation bundles were made for get_tennis_scores-0.1.1.tar.gz:

Publisher: publish.yaml on joshjyu/get-tennis-scores

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file get_tennis_scores-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for get_tennis_scores-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fbea461c84dd0823586e4faf89cfeedde92dab64390d060aa26c008107aa5146
MD5 0963d88668d53bded46b71621a234d51
BLAKE2b-256 6211728646a0344fff80bc2c58ca3a6dfc90c4e173417be5a376525dc5485238

See more details on using hashes here.

Provenance

The following attestation bundles were made for get_tennis_scores-0.1.1-py3-none-any.whl:

Publisher: publish.yaml on joshjyu/get-tennis-scores

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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