Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
a4665a9
version 0.8.2 from quickfix (sportsref.utils date_game fix)
mdgoldberg Feb 28, 2017
7f3403c
version 0.8.3 (final fix for utils.parse_table bug)
mdgoldberg Feb 28, 2017
351a696
version 0.8.4
mdgoldberg Feb 28, 2017
cef748f
Merge branch 'develop' into master
mdgoldberg Oct 14, 2017
d561b6e
Merge branch 'develop' into master
mdgoldberg Oct 14, 2017
b0fba5e
inital 2to3 run
abeard1 Jan 10, 2018
da0b1ac
hashing encoding fix
abeard1 Jan 10, 2018
706c1ac
new cbb folder
abeard1 Jan 15, 2018
950c0db
base_url format update
abeard1 Jan 15, 2018
5487e46
fix
abeard1 Jan 15, 2018
f32f4c7
added euro
abeard1 Jan 18, 2018
c3553d0
added euro folder
abeard1 Jan 18, 2018
580198d
euro url fix
abeard1 Jan 18, 2018
6facc76
url fix #2
abeard1 Jan 18, 2018
b9fa0f6
commented out doc prints
abeard1 Jan 18, 2018
eb44523
fixed table_ids in player
abeard1 Jan 24, 2018
62cab9e
name fix
abeard1 Jan 24, 2018
c44a156
test gamelog euro
abeard1 Jan 25, 2018
c30ca4c
small fix
abeard1 Jan 25, 2018
bdedfbb
player gamelogs working - also have caching print statements in for d…
abeard1 Jan 31, 2018
822c989
added level variable for All/Euro/Club play (very different than NBA)
abeard1 Feb 1, 2018
42d8aef
take print statements out
abeard1 Feb 1, 2018
a25f478
fix
abeard1 Feb 1, 2018
11594cc
fix
abeard1 Feb 1, 2018
7a416d5
club table fix
abeard1 Feb 1, 2018
d4bc8c2
club table fix
abeard1 Feb 1, 2018
02f4d85
I'm dumb
abeard1 Feb 1, 2018
679e8db
still dumb
abeard1 Feb 1, 2018
5570f48
test notebook
abeard1 Feb 1, 2018
17071e3
initial teams changes
abeard1 Feb 1, 2018
04e29b0
name working
abeard1 Feb 1, 2018
928c3e7
table id's (no level yet)
abeard1 Feb 2, 2018
889a1ac
tables fixed
abeard1 Feb 2, 2018
8c92682
add test notebook
abeard1 Feb 2, 2018
7b52975
Update README.md
abeard1 Feb 2, 2018
724f07d
Update README.md
abeard1 Feb 2, 2018
37e95d5
team_and_opp edge case fix in parse_table
abeard1 Feb 3, 2018
90de375
Merge branch 'develop' of https://github.com/abeard1/sportsref into d…
abeard1 Feb 3, 2018
083dbb3
reran test notebook with fix
abeard1 Feb 3, 2018
8bc8abf
todo update
abeard1 Feb 3, 2018
42cfa27
preparing for 0.10.0
mdgoldberg Feb 4, 2018
09f11ac
Merge branch 'release/0.10.0'
mdgoldberg Feb 4, 2018
6825516
begin work on boxscores.py
abeard1 Feb 6, 2018
9abe5be
fix ids
abeard1 Feb 6, 2018
6ddbbed
table stats id changed
abeard1 Feb 6, 2018
dbd63a0
get scores
abeard1 Feb 6, 2018
7823f0c
fix
abeard1 Feb 6, 2018
320cf17
remove pbp (not available for euro)
abeard1 Feb 6, 2018
d7e3237
season nearly finished
abeard1 Feb 7, 2018
e7eca39
parse urls -> team_ids
abeard1 Feb 12, 2018
a5847ae
team ids -> names and vice versa now working
abeard1 Feb 12, 2018
f89c899
first pass at teams.schedule
abeard1 Feb 12, 2018
9891286
schedule fix
abeard1 Feb 13, 2018
17966a6
added position + euro -> nba_id
abeard1 Feb 13, 2018
21731c0
.html -> .htm
abeard1 Feb 13, 2018
6243a42
Merge branch 'master' into develop
abeard1 Feb 13, 2018
ca6e34e
Merge pull request #1 from abeard1/develop
abeard1 Feb 13, 2018
72d3032
commented euro season + restructured test notebooks
abeard1 Feb 13, 2018
bed3efe
commented euro player + added test notebook
abeard1 Feb 13, 2018
b6c2947
edit player comments and add test notebook - also a few small changes…
abeard1 Feb 13, 2018
afdd3e6
added boxscore test notebook and slight changes to comments
abeard1 Feb 13, 2018
179bc92
merge version 0.10 changes in
abeard1 Feb 13, 2018
ac962d1
Merge branch 'mdgoldberg-master' into develop
abeard1 Feb 13, 2018
8a44f70
Merge pull request #3 from abeard1/develop
abeard1 Feb 13, 2018
c6da441
removed cbb
abeard1 Feb 13, 2018
aaf6af8
removed cbb
abeard1 Feb 13, 2018
cc65ecf
tiny fixes
abeard1 Feb 13, 2018
e8dee0e
Merge pull request #4 from abeard1/develop
abeard1 Feb 13, 2018
2610f7c
Update README.md
abeard1 Feb 13, 2018
3952576
readme
abeard1 Feb 13, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,18 +48,18 @@
master_doc = 'index'

# General information about the project.
project = u'sportsref'
copyright = u'2016, Matt Goldberg'
author = u'Matt Goldberg'
project = 'sportsref'
copyright = '2016, Matt Goldberg'
author = 'Matt Goldberg'

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = u''
version = ''
# The full version, including alpha/beta/rc tags.
release = u''
release = ''

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down Expand Up @@ -129,8 +129,8 @@
# (source start file, target name, title,
# author, documentclass [howto, manual, or own class]).
latex_documents = [
(master_doc, 'sportsref.tex', u'sportsref Documentation',
u'Matt Goldberg', 'manual'),
(master_doc, 'sportsref.tex', 'sportsref Documentation',
'Matt Goldberg', 'manual'),
]


Expand All @@ -139,7 +139,7 @@
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [
(master_doc, 'sportsref', u'sportsref Documentation',
(master_doc, 'sportsref', 'sportsref Documentation',
[author], 1)
]

Expand All @@ -150,7 +150,7 @@
# (source start file, target name, title, author,
# dir menu entry, description, category)
texinfo_documents = [
(master_doc, 'sportsref', u'sportsref Documentation',
(master_doc, 'sportsref', 'sportsref Documentation',
author, 'sportsref', 'One line description of project.',
'Miscellaneous'),
]
Expand Down
152 changes: 54 additions & 98 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,105 +1,61 @@
appdirs==1.4.3
appnope==0.1.0
argh==0.26.2
backports-abc==0.5
backports.shutil-get-terminal-size==1.0.0
bleach==1.5.0
boltons==17.0.0
boto3==1.4.3
botocore==1.4.93
certifi==2016.9.26
click==6.7
cloudpickle==0.2.2
configparser==3.5.0
cssselect==1.0.0
cycler==0.10.0
dask==0.13.0
decorator==4.0.10
distributed==1.15.0
docutils==0.13.1
entrypoints==0.2.2
enum34==1.1.6
functools32==3.2.3.post2
bleach==2.1.2
boltons==17.2.0
certifi==2018.1.18
chardet==3.0.4
cssselect==1.0.3
decorator==4.2.1
entrypoints==0.2.3
future==0.16.0
futures==3.0.5
graphviz==0.5.2
HeapDict==1.0.0
html5lib==0.9999999
invoke==0.14.0
ipdb==0.10.1
ipykernel==4.5.2
ipython==5.1.0
ipython-genutils==0.1.0
ipywidgets==5.2.2
Jinja2==2.8.1
jmespath==0.9.0
jsonschema==2.5.1
html5lib==1.0.1
idna==2.6
ipdb==0.10.3
ipykernel==4.8.0
ipython==6.2.1
ipython-genutils==0.2.0
ipywidgets==7.1.1
jedi==0.11.1
Jinja2==2.10
jsonschema==2.6.0
jupyter==1.0.0
jupyter-client==4.4.0
jupyter-console==5.0.0
jupyter-core==4.2.1
livereload==2.5.0
locket==0.2.0
lxml==3.7.1
MarkupSafe==0.23
matplotlib==2.0.0
mementos==1.2.6
mistune==0.7.3
msgpack-python==0.4.8
nbconvert==5.0.0
nbformat==4.2.0
notebook==4.3.1
numexpr==2.6.2
numpy==1.12.0
packaging==16.8
pandas==0.19.2
pandocfilters==1.4.1
partd==0.3.7
pathlib2==2.1.0
pathtools==0.1.2
patsy==0.4.1
pexpect==4.2.1
jupyter-client==5.2.2
jupyter-console==5.2.0
jupyter-core==4.4.0
lxml==4.1.1
MarkupSafe==1.0
mementos==1.2.8
mistune==0.8.3
nbconvert==5.3.1
nbformat==4.4.0
notebook==5.4.0
numexpr==2.6.4
numpy==1.14.0
pandas==0.22.0
pandocfilters==1.4.2
parso==0.1.1
pexpect==4.3.1
pickleshare==0.7.4
pluggy==0.4.0
port-for==0.3.1
prompt-toolkit==1.0.9
psutil==5.0.1
ptyprocess==0.5.1
Pweave==0.25
py==1.4.32
Pygments==2.1.3
pyparsing==2.1.10
pyquery==1.2.17
pytest==3.0.5
python-dateutil==2.6.0
pytz==2016.10
PyYAML==3.12
pyzmq==16.0.2
qtconsole==4.2.1
requests==2.13.0
s3fs==0.0.8
s3transfer==0.1.10
scikit-learn==0.18.1
scipy==0.18.1
prompt-toolkit==1.0.15
ptyprocess==0.5.2
Pygments==2.2.0
pyquery==1.4.0
python-dateutil==2.6.1
pytz==2017.3
pyzmq==16.0.4
qtconsole==4.3.1
requests==2.18.4
scipy==1.0.0
Send2Trash==1.4.2
simplegeneric==0.8.1
singledispatch==3.4.0.3
six==1.10.0
sklearn==0.0
sortedcollections==0.4.2
sortedcontainers==1.5.7
sphinx-autobuild==0.6.0
-e git+git@github.com:mdgoldberg/sportsref.git@cfb9edb89da9eeb99ef54d149d32f4e99b7e2087#egg=sportsref
statsmodels==0.6.1
subprocess32==3.2.7
tblib==1.3.0
terminado==0.6
testpath==0.3
toolz==0.8.2
tornado==4.4.2
tox==2.5.0
traitlets==4.3.1
virtualenv==15.1.0
watchdog==0.8.3
six==1.11.0
sportsref==0.9.1
terminado==0.8.1
testpath==0.3.1
tornado==4.5.3
traitlets==4.3.2
urllib3==1.22
wcwidth==0.1.7
widgetsnbextension==1.2.6
zict==0.1.1
webencodings==0.5.1
widgetsnbextension==3.1.3
yapf==0.20.1
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from setuptools import setup, find_packages

setup(name='sportsref',
version='0.9.1',
version='0.10.0',
description='Scraping data from sports-reference.com and related sites',
url='https://github.com/mdgoldberg/sportsref',
author='Matt Goldberg',
Expand Down
22 changes: 22 additions & 0 deletions sportsref/euro/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
from . import boxscores
from . import pbp
from . import seasons
from . import teams

from .boxscores import BoxScore
from .seasons import Season
from .teams import Team
from .players import Player

BASE_URL = 'http://www.basketball-reference.com/euro'

LEAGUE_IDS = ['greek-basket-league','eurocup','spain-liga-acb','italy-basket-serie-a','france-lnb-pro-a','euroleague']

__all__ = [
'LEAGUE_IDS',
'BASE_URL',
'boxscores', 'BoxScore',
'seasons', 'Season',
'teams', 'Team',
'players', 'Player',
]
Loading