basketball_reference_web_scraper
nba-sql
basketball_reference_web_scraper | nba-sql | |
---|---|---|
2 | 14 | |
407 | 164 | |
- | - | |
7.2 | 4.5 | |
7 days ago | 30 days ago | |
Python | Python | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
basketball_reference_web_scraper
-
How often has a playoff team done what Dallas did yesterday?
Writing a web scraper is one of the most common beginner projects, and many already exist for Basketball Reference, ex: https://github.com/jaebradley/basketball_reference_web_scraper
nba-sql
- Shitpost(?) From Nov to Dec, Braun was trusted with 50% more minutes per game, (when he checked in at all), and it resulted in a 50% bump in fg pct.
-
nba-sql - A SQL Database for the NBA
I've searched for a good database to analyze NBA players and teams, and couldn't find one. So, I've been working on an app that builds a SQLite / Postgres / MySQL database for the NBA. You can get the Windows alpha here: https://github.com/mpope9/nba-sql/releases/tag/v0.0.6 For OSX / Linux, you need to run it from the commandline. This is very much in the alpha phase, but development is happening at a steady pace in my free time. I've been able to learn some interesting things already, there are examples in the wiki here. I have more advanced example queries that I'm still working on, and have yet to add them to the wiki if any are interested. I'd love some feedback, if anyone has experience with SQL or databases. nba-sql will build a SQLite database by default, but it also supports Postgres and MySQL. You run the application to build the database, then use something like DBeaver to query it.
- Jalen Green Shot Attempts 2021-2022 Season [OC]
-
How often has a playoff team done what Dallas did yesterday?
This is what I've found - https://github.com/mpope9/nba-sql
-
Steph Curry's Shot Distance Relative To Seconds Left In Game / Period
I used the nba-sql database for this. That database has a table called shot_chart_detail. The table has alot of interesting data, but there are a few columns that are especially helpful: minutes_remaining, seconds_remaining, and shot_distance. Using those columns, the following graph can be made:
-
nba-sql: v0.0.4 - Alpha Windows Client Release!
Thanks! I used Postgres and Apache Superset. I wrote a small wiki on how to use it https://github.com/mpope9/nba-sql/wiki/Data-Visualization-with-Superset. Superset doesn't work with SQLite sadly.
- nba-sql: A NBA database from the 1996-97 season until now
- nba-sql: A Postgres Database for NBA Data.
-
nba-sql: v0.0.2 Release
The latest Postgres dump can be found here: https://github.com/mpope9/nba-sql/releases/tag/v0.0.2. It is a compressed file, using xz. After decompressing it, you can run it using psql -U -P nba < nba.sql.
- nba-sql: A Relational NBA Database
What are some alternatives?
extractnet - A fork of Dragnet that also extract author, headline, date, keywords from context, as well as built in metadata extraction all in one package
sports-analytics - Data collection, processing, visualization, modeling, and ideation in the space of sports analytics
py_webScraper - A simple web scraper using beautifulsoup and requests
espn-api - ESPN Fantasy API! (Football, Basketball)
facebook_page_scraper - Scrapes facebook's pages front end with no limitations & provides a feature to turn data into structured JSON or CSV
nba_api - An API Client package to access the APIs for NBA.com
zineb - An advanced web scrapping framework for Python
pydfs-lineup-optimizer - Daily Fantasy Sports lineup optimzer for all popular daily fantasy sports sites
letterbox-stats - A web scraping application that retrieves the most viewed directors and actors of a Letterboxd user based on their watched movies. It also can compare the ratings of movies you and other Letterboxd user have seen.
superset - Apache Superset is a Data Visualization and Data Exploration Platform
hoopR - An R package to quickly obtain clean and tidy men's basketball play by play data.
fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production