A package that Grabs basketball data from basketball-reference
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bballRefWebScraper-0.1.0.tar.gz.
File metadata
- Download URL: bballRefWebScraper-0.1.0.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e31f7eb74453930ec61997a5316e7b7b8ad7d5d922fc32b5daca9535a3b3176d
|
|
| MD5 |
c61bbcc249a6f7c9ce37ad62ef7e8b3d
|
|
| BLAKE2b-256 |
5c3f5a9bf640486eca39da1b3335792c74dca165aef0263b1d9e771f0a8485a7
|
File details
Details for the file bballRefWebScraper-0.1.0-py3-none-any.whl.
File metadata
- Download URL: bballRefWebScraper-0.1.0-py3-none-any.whl
- Upload date:
- Size: 11.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
41c6d3f785b1a22b28c4b49c1245a57e2ea849e7444d6e7b2c4a69dab9d5efa4
|
|
| MD5 |
1cd6faaefee85e2ea1c898e88ebe8c31
|
|
| BLAKE2b-256 |
3df9c5b7ce5085f6b320edcf850f5f4ca4adfb382bedd7a5b9ef2df20aa1457e
|