🎾 ATP Tennis Scraper
ATP Tennis Scraper is a Python package that fetches and displays the top ATP-ranked players from the official ATP Tour website. The scraper extracts player rankings, names, points, age, and nationality.
📦 Installation
To install the package, simply run:
pip install atp-tennis-scraper
Usage
To get all urls use:
from atp_tennis_scraper import display_top_10
display_top_10()
Running Tests
To run the tests locally:
- Clone the repository:
git clone https://github.com/Semne77/atp_tennis_scraper.git
cd atp-tennis-scraper
- (Optional but recommended) Create and activate a virtual environment:
python3 -m venv venv
source venv/bin/activate
- Install dependencies:
pip install -r requirements.txt
- Run the tests from the project root directory (the folder containing
tests/andatp_tennis_scraper/):
pytest -q
On the first run, HTTP responses will be recorded using VCR.
Subsequent runs will replay recorded responses (no internet connection required).
Metadata
Release files for atp-tennis-scraper 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| atp_tennis_scraper-0.1.2.tar.gz | 3.6 kB | Without provenance | Details for atp_tennis_scraper-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| atp_tennis_scraper-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for atp_tennis_scraper-0.1.2-py3-none-any.whl |
Total release size: 7.6 kB
Release files / atp_tennis_scraper-0.1.2.tar.gz
| Download URL | atp_tennis_scraper-0.1.2.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c50f3d208b89f9f9960f982260b3f20d29342353ec939ddb76280ad63896ce5a
|
|
BLAKE2b-256 checksum How to use checksums |
c23485acec9e63b0305c563e71943155b521d0db74ee72c3d5479b304f83c6e8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.8
|
Release files / atp_tennis_scraper-0.1.2-py3-none-any.whl
| Download URL | atp_tennis_scraper-0.1.2-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9743a31a8ab799d193a8040ab3ac9ec2c01f7c930802350daef426b07f9edee9
|
|
BLAKE2b-256 checksum How to use checksums |
6d62b9a4e7aedf9e7b5dbfcf7cf8967d83235fe720822d949fca77625caf5c4a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.8
|
Security for atp-tennis-scraper 0.1.2
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.