Basketball-Reference Web Scraping Application
Overview
- Grabs basketball data from Basketball-Reference.
- Extracts player stats, game scores, team information, and more via BeautifulSoup.
- Ideal for basketball analytics, data science, and machine learning.
Usage
Installation
- Clone down the repository to your local machine using git clone
- Cd into the cloned repository
- Install the requirements with pip install -r requirements.txt
git clone https://github.com/michaelc143/BballRefWebScraper.git
cd BballRefWebScraper/
pip install -r requirements.txt
- There is also a Dockerfile built into this repository that can be used via:
docker build . -t BballRefScraper
docker run BballRefScraper
Running the Application
- Example functionality can be found in the examples.py file
cd BballRefWebScraper/
python3 bball_ref_web_scraper/examples.py
Packages Required
- Pandas
- BeautifulSoup
- Unidecode
- Requests
- Pytest
- Pylint
- Coverage
License
This project is licensed under the MIT License - see the LICENSE file for details.
Metadata
Release files for bballRefWebScraper 0.1.0
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 |
|---|---|---|---|---|
| bballRefWebScraper-0.1.0.tar.gz | 8.4 kB | Without provenance | Details for bballRefWebScraper-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bballRefWebScraper-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for bballRefWebScraper-0.1.0-py3-none-any.whl |
Total release size: 19.9 kB
Release files / bballRefWebScraper-0.1.0.tar.gz
| Download URL | bballRefWebScraper-0.1.0.tar.gz |
|---|---|
| Size | 8.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e31f7eb74453930ec61997a5316e7b7b8ad7d5d922fc32b5daca9535a3b3176d
|
|
BLAKE2b-256 checksum How to use checksums |
5c3f5a9bf640486eca39da1b3335792c74dca165aef0263b1d9e771f0a8485a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / bballRefWebScraper-0.1.0-py3-none-any.whl
| Download URL | bballRefWebScraper-0.1.0-py3-none-any.whl |
|---|---|
| Size | 11.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
41c6d3f785b1a22b28c4b49c1245a57e2ea849e7444d6e7b2c4a69dab9d5efa4
|
|
BLAKE2b-256 checksum How to use checksums |
3df9c5b7ce5085f6b320edcf850f5f4ca4adfb382bedd7a5b9ef2df20aa1457e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Security for bballRefWebScraper 0.1.0
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.