diff --git a/.tox/log/GLOB-0.log b/.tox/log/GLOB-0.log index 0abed46..c61aff4 100644 --- a/.tox/log/GLOB-0.log +++ b/.tox/log/GLOB-0.log @@ -1,6 +1,6 @@ action: GLOB, msg: packaging cwd: C:\Users\JCoop\Documents\GitHub\nflfastPy -cmd: 'c:\users\jcoop\anaconda3\envs\myenv\python.exe' setup.py sdist --formats=zip --dist-dir '.tox\dist' +cmd: 'c:\users\jcoop\anaconda3\python.exe' setup.py sdist --formats=zip --dist-dir '.tox\dist' running sdist running egg_info writing nfl_data_py.egg-info\PKG-INFO @@ -10,31 +10,31 @@ writing top-level names to nfl_data_py.egg-info\top_level.txt reading manifest file 'nfl_data_py.egg-info\SOURCES.txt' writing manifest file 'nfl_data_py.egg-info\SOURCES.txt' running check -creating nfl_data_py-0.2.4 -creating nfl_data_py-0.2.4\nfl_data_py -creating nfl_data_py-0.2.4\nfl_data_py.egg-info -copying files to nfl_data_py-0.2.4... -copying README.md -> nfl_data_py-0.2.4 -copying setup.py -> nfl_data_py-0.2.4 -copying nfl_data_py\__init__.py -> nfl_data_py-0.2.4\nfl_data_py -copying nfl_data_py.egg-info\PKG-INFO -> nfl_data_py-0.2.4\nfl_data_py.egg-info -copying nfl_data_py.egg-info\SOURCES.txt -> nfl_data_py-0.2.4\nfl_data_py.egg-info -copying nfl_data_py.egg-info\dependency_links.txt -> nfl_data_py-0.2.4\nfl_data_py.egg-info -copying nfl_data_py.egg-info\requires.txt -> nfl_data_py-0.2.4\nfl_data_py.egg-info -copying nfl_data_py.egg-info\top_level.txt -> nfl_data_py-0.2.4\nfl_data_py.egg-info -Writing nfl_data_py-0.2.4\setup.cfg -creating '.tox\dist\nfl_data_py-0.2.4.zip' and adding 'nfl_data_py-0.2.4' to it -adding 'nfl_data_py-0.2.4' -adding 'nfl_data_py-0.2.4\nfl_data_py' -adding 'nfl_data_py-0.2.4\nfl_data_py.egg-info' -adding 'nfl_data_py-0.2.4\PKG-INFO' -adding 'nfl_data_py-0.2.4\README.md' -adding 'nfl_data_py-0.2.4\setup.cfg' -adding 'nfl_data_py-0.2.4\setup.py' -adding 'nfl_data_py-0.2.4\nfl_data_py\__init__.py' -adding 'nfl_data_py-0.2.4\nfl_data_py.egg-info\dependency_links.txt' -adding 'nfl_data_py-0.2.4\nfl_data_py.egg-info\PKG-INFO' -adding 'nfl_data_py-0.2.4\nfl_data_py.egg-info\requires.txt' -adding 'nfl_data_py-0.2.4\nfl_data_py.egg-info\SOURCES.txt' -adding 'nfl_data_py-0.2.4\nfl_data_py.egg-info\top_level.txt' -removing 'nfl_data_py-0.2.4' (and everything under it) +creating nfl_data_py-0.2.6 +creating nfl_data_py-0.2.6\nfl_data_py +creating nfl_data_py-0.2.6\nfl_data_py.egg-info +copying files to nfl_data_py-0.2.6... +copying README.md -> nfl_data_py-0.2.6 +copying setup.py -> nfl_data_py-0.2.6 +copying nfl_data_py\__init__.py -> nfl_data_py-0.2.6\nfl_data_py +copying nfl_data_py.egg-info\PKG-INFO -> nfl_data_py-0.2.6\nfl_data_py.egg-info +copying nfl_data_py.egg-info\SOURCES.txt -> nfl_data_py-0.2.6\nfl_data_py.egg-info +copying nfl_data_py.egg-info\dependency_links.txt -> nfl_data_py-0.2.6\nfl_data_py.egg-info +copying nfl_data_py.egg-info\requires.txt -> nfl_data_py-0.2.6\nfl_data_py.egg-info +copying nfl_data_py.egg-info\top_level.txt -> nfl_data_py-0.2.6\nfl_data_py.egg-info +Writing nfl_data_py-0.2.6\setup.cfg +creating '.tox\dist\nfl_data_py-0.2.6.zip' and adding 'nfl_data_py-0.2.6' to it +adding 'nfl_data_py-0.2.6' +adding 'nfl_data_py-0.2.6\nfl_data_py' +adding 'nfl_data_py-0.2.6\nfl_data_py.egg-info' +adding 'nfl_data_py-0.2.6\PKG-INFO' +adding 'nfl_data_py-0.2.6\README.md' +adding 'nfl_data_py-0.2.6\setup.cfg' +adding 'nfl_data_py-0.2.6\setup.py' +adding 'nfl_data_py-0.2.6\nfl_data_py\__init__.py' +adding 'nfl_data_py-0.2.6\nfl_data_py.egg-info\dependency_links.txt' +adding 'nfl_data_py-0.2.6\nfl_data_py.egg-info\PKG-INFO' +adding 'nfl_data_py-0.2.6\nfl_data_py.egg-info\requires.txt' +adding 'nfl_data_py-0.2.6\nfl_data_py.egg-info\SOURCES.txt' +adding 'nfl_data_py-0.2.6\nfl_data_py.egg-info\top_level.txt' +removing 'nfl_data_py-0.2.6' (and everything under it) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9962289..da56933 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,7 +24,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Updated load_pbp_data() to work with locally cached files - Updates README -## [0.2.4] - 2021-09-22 +## [0.2.5] - 2021-09-22 ### Changed - Fixed bug in cache process that was effecting pbp load too + +## [0.2.6] - 2022-03-15 + +### Changed +- Updated cache feature to be OS agnostic + diff --git a/nfl_data_py/__init__.py b/nfl_data_py/__init__.py index 3a4958c..ead59e8 100644 --- a/nfl_data_py/__init__.py +++ b/nfl_data_py/__init__.py @@ -798,7 +798,7 @@ def import_pfr_passing(years=None): raise ValueError('Data not available before 2019.') # import data - url = r'https://raw.githubusercontent.com/nflverse/pfr_scrapR/master/data/pfr_advanced_passing.csv' + url = r'https://github.com/nflverse/nflverse-data/releases/download/pfr_advstats/advstats_season_pass.csv' df = pandas.read_csv(url) @@ -834,7 +834,7 @@ def import_snap_counts(years): # import data for yr in years: - url = r'https://raw.githubusercontent.com/nflverse/pfr_scrapR/master/data/snap_counts_{}.csv'.format(yr) + url = r'https://github.com/nflverse/nflverse-data/releases/download/snap_counts/snap_counts_{}.csv'.format(yr) temp = pandas.read_csv(url) diff --git a/setup.py b/setup.py index 648fc2d..1f860e6 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ EMAIL = 'cooper.dff11@gmail.com' AUTHOR = 'cooperdff' REQUIRES_PYTHON = '>=3.5.0' -VERSION = '0.2.5' +VERSION = '0.2.6' # What packages are required for this module to be executed?