A Python Package for scraping National Hockey League information and stats from Natural Stat Trick.
Project description
NST_Scrape
NST_Scrape is a simple Python package for scraping National Hockey League information and stats from Natural Stat Trick.
Installation
Use the package manager pip to install NST_Scrape.
pip install NST_scrape
Usage
Currently, three functions are available in the package:
# The "season" argument refers to a given NHL season as far back as 2007-2008. Format season as "20212022" if you want to scrape NHL data from the 2021-2022 season, for example.
SkaterScrape(season)
BioScrape(season)
TeamScrape(season)
Note that these are not particularly comprehensive, as they were developed exclusively to generate public data visualizations for WeakSide Breakout Analysis, which can be viewed at https://docs.google.com/spreadsheets/d/1kYaFsDgVlWbzOO2T67jW9Tu1Gu9Lw974flU1dkQBMO4/.
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 nst_scrape-1.0.1.tar.gz.
File metadata
- Download URL: nst_scrape-1.0.1.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f81152d024d0c32589bf535085d664a938cb9b3341c19eff4c88fd5e1dd4446e
|
|
| MD5 |
0735979e74904813a9be7103393eccf1
|
|
| BLAKE2b-256 |
d68adf4f833d64e627a3c6211662bf898ea2000ecd97b328872b176a20b7d896
|
File details
Details for the file NST_Scrape-1.0.1-py3-none-any.whl.
File metadata
- Download URL: NST_Scrape-1.0.1-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7a535acf4e3d99dc1db761344d4907ba85d4cc5426685f28fd7b803b6c7de2f9
|
|
| MD5 |
8bcac693bfbe03bab99c96f5de7b52c4
|
|
| BLAKE2b-256 |
cc794644888b3e1ec33a1fc3581089b1e092822e5a60498a251625afaa6c46e1
|