Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bballRefWebScraper-0.1.0.tar.gz (8.4 kB view hashes)

Uploaded Source

Built Distribution

bballRefWebScraper-0.1.0-py3-none-any.whl (11.5 kB view hashes)

Uploaded Python 3

Supported by

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