Skip to content
This repository has been archived by the owner on Mar 13, 2022. It is now read-only.

Commit

Permalink
Prepped for easy setup
Browse files Browse the repository at this point in the history
added requirements file and enviroment file
  • Loading branch information
karlroush committed Jul 18, 2020
1 parent 8cd5359 commit f1414a4
Show file tree
Hide file tree
Showing 3 changed files with 280 additions and 1 deletion.
158 changes: 158 additions & 0 deletions environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,158 @@
name: lol_player_stats
channels:
- conda-forge
- defaults
dependencies:
- alabaster=0.7.12=py37_0
- argh=0.26.2=py37_0
- astroid=2.3.3=py37_0
- atomicwrites=1.4.0=py_0
- attrs=19.3.0=py_0
- autopep8=1.5.3=py_0
- babel=2.8.0=py_0
- backcall=0.2.0=py_0
- bcrypt=3.1.7=py37he774522_1
- blas=1.0=mkl
- bleach=3.1.5=py_0
- brotlipy=0.7.0=py37he774522_1000
- ca-certificates=2020.6.24=0
- certifi=2020.6.20=py37_0
- cffi=1.14.0=py37h7a1dbc1_0
- chardet=3.0.4=py37_1003
- cloudpickle=1.5.0=py_0
- colorama=0.4.3=py_0
- console_shortcut=0.1.1=4
- cryptography=2.9.2=py37h7a1dbc1_0
- cycler=0.10.0=py37_0
- decorator=4.4.2=py_0
- defusedxml=0.6.0=py_0
- diff-match-patch=20200713=py_0
- docutils=0.16=py37_1
- entrypoints=0.3=py37_0
- flake8=3.8.3=py_0
- freetype=2.10.2=hd328e21_0
- future=0.18.2=py37_1
- icc_rt=2019.0.0=h0cc432a_1
- icu=58.2=ha925a31_3
- idna=2.10=py_0
- imagesize=1.2.0=py_0
- importlib-metadata=1.7.0=py37_0
- importlib_metadata=1.7.0=0
- intel-openmp=2020.1=216
- intervaltree=3.0.2=py_1
- ipykernel=5.3.2=py37h5ca1d4c_0
- ipython=7.16.1=py37h5ca1d4c_0
- ipython_genutils=0.2.0=py37_0
- isort=4.3.21=py37_0
- jedi=0.17.1=py37_0
- jinja2=2.11.2=py_0
- jpeg=9b=hb83a4c4_2
- jsonschema=3.2.0=py37_1
- jupyter_client=6.1.6=py_0
- jupyter_core=4.6.3=py37_0
- keyring=21.2.1=py37_0
- kiwisolver=1.2.0=py37h74a9793_0
- lazy-object-proxy=1.5.0=py37he774522_0
- libpng=1.6.37=h2a8f88b_0
- libsodium=1.0.18=h62dcd97_0
- libspatialindex=1.9.3=h33f27b4_0
- markupsafe=1.1.1=py37hfa6e2cd_1
- matplotlib=3.2.2=1
- matplotlib-base=3.2.2=py37h64f37c6_0
- mccabe=0.6.1=py37_1
- mistune=0.8.4=py37hfa6e2cd_1001
- mkl=2020.1=216
- mkl-service=2.3.0=py37hb782905_0
- mkl_fft=1.1.0=py37h45dec08_0
- mkl_random=1.1.1=py37h47e9c7a_0
- nbconvert=5.6.1=py37_1
- nbformat=5.0.7=py_0
- numpy=1.18.5=py37h6530119_0
- numpy-base=1.18.5=py37hc3f5095_0
- numpydoc=1.1.0=py_0
- openssl=1.1.1g=he774522_0
- packaging=20.4=py_0
- pandoc=2.10=0
- pandocfilters=1.4.2=py37_1
- paramiko=2.7.1=py_0
- parso=0.7.0=py_0
- pathtools=0.1.2=py_1
- pexpect=4.8.0=py37_1
- pickleshare=0.7.5=py37_1001
- pip=20.1.1=py37_1
- pluggy=0.13.1=py37_0
- prompt-toolkit=3.0.5=py_0
- psutil=5.7.0=py37he774522_0
- pycodestyle=2.6.0=py_0
- pycparser=2.20=py_2
- pydocstyle=5.0.2=py_0
- pyflakes=2.2.0=py_0
- pygments=2.6.1=py_0
- pylint=2.4.4=py37_0
- pynacl=1.4.0=py37h62dcd97_1
- pyopenssl=19.1.0=py_1
- pyparsing=2.4.7=py_0
- pyqt=5.9.2=py37h6538335_2
- pyrsistent=0.16.0=py37he774522_0
- pysocks=1.7.1=py37_1
- python=3.7.7=h81c818b_4
- python-dateutil=2.8.1=py_0
- python-jsonrpc-server=0.3.4=py_1
- python-language-server=0.34.1=py37_0
- pytz=2020.1=py_0
- pywin32=227=py37he774522_1
- pywin32-ctypes=0.2.0=py37_1001
- pyyaml=5.3.1=py37he774522_1
- pyzmq=19.0.1=py37ha925a31_1
- qdarkstyle=2.8.1=py_0
- qt=5.9.7=vc14h73c81de_0
- qtawesome=0.7.2=py_0
- qtconsole=4.7.5=py_0
- qtpy=1.9.0=py_0
- requests=2.24.0=py_0
- rope=0.17.0=py_0
- rtree=0.9.4=py37h21ff451_1
- setuptools=49.2.0=py37_0
- sip=4.19.8=py37h6538335_0
- six=1.15.0=py_0
- snowballstemmer=2.0.0=py_0
- sortedcontainers=2.2.2=py_0
- sphinx=3.1.2=py_0
- sphinxcontrib-applehelp=1.0.2=py_0
- sphinxcontrib-devhelp=1.0.2=py_0
- sphinxcontrib-htmlhelp=1.0.3=py_0
- sphinxcontrib-jsmath=1.0.1=py_0
- sphinxcontrib-qthelp=1.0.3=py_0
- sphinxcontrib-serializinghtml=1.1.4=py_0
- spyder=4.1.4=py37_0
- spyder-kernels=1.9.2=py37_0
- sqlite=3.32.3=h2a8f88b_0
- testpath=0.4.4=py_0
- toml=0.10.1=py_0
- tornado=6.0.4=py37he774522_1
- traitlets=4.3.3=py37_0
- ujson=1.35=py37hfa6e2cd_0
- urllib3=1.25.9=py_0
- vc=14.1=h0510ff6_4
- vs2015_runtime=14.16.27012=hf0eaf9b_3
- watchdog=0.10.3=py37_0
- wcwidth=0.2.5=py_0
- webencodings=0.5.1=py37_1
- wheel=0.34.2=py37_0
- win_inet_pton=1.1.0=py37_0
- wincertstore=0.2=py37_0
- wrapt=1.12.1=py37he774522_1
- yaml=0.2.5=he774522_0
- yapf=0.30.0=py_0
- zeromq=4.3.2=ha925a31_2
- zipp=3.1.0=py_0
- zlib=1.2.11=h62dcd97_4
- pip:
- arrow==0.15.7
- cassiopeia==4.0.13
- datapipelines==1.0.7
- merakicommons==1.0.9
- networkx==2.4
- pillow==7.2.0
prefix: [your enviroment path here]

3 changes: 2 additions & 1 deletion fetch_rawData.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,8 @@ def getPlayerData(summoner, player_name, player_region):
#%% INITIALIZATION
cass.set_riot_api_key(getAPI_key()) #or replace with your own api key
cass.set_default_region("NA") #or replace with another region


#cache is not actually used
with open('cache.json', 'r') as cache_file:
cache = json.load(cache_file)
cache_file.close()
Expand Down
120 changes: 120 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
alabaster==0.7.12
argh==0.26.2
arrow==0.15.7
astroid==2.3.3
atomicwrites==1.4.0
attrs==19.3.0
autopep8 @ file:///tmp/build/80754af9/autopep8_1592412889138/work
Babel==2.8.0
backcall==0.2.0
bcrypt==3.1.7
bleach==3.1.5
brotlipy==0.7.0
cassiopeia==4.0.13
certifi==2020.6.20
cffi==1.14.0
chardet==3.0.4
cloudpickle @ file:///tmp/build/80754af9/cloudpickle_1594141588948/work
colorama==0.4.3
cryptography==2.9.2
cycler==0.10.0
datapipelines==1.0.7
decorator==4.4.2
defusedxml==0.6.0
diff-match-patch @ file:///tmp/build/80754af9/diff-match-patch_1594828741838/work
docutils==0.16
entrypoints==0.3
flake8==3.8.3
future==0.18.2
idna @ file:///tmp/build/80754af9/idna_1593446292537/work
imagesize==1.2.0
importlib-metadata @ file:///C:/ci/importlib-metadata_1593446525189/work
intervaltree @ file:///tmp/build/80754af9/intervaltree_1594361675072/work
ipykernel @ file:///C:/ci/ipykernel_1594829155762/work/dist/ipykernel-5.3.2-py3-none-any.whl
ipython @ file:///C:/ci/ipython_1593433781269/work
ipython-genutils==0.2.0
isort==4.3.21
jedi @ file:///C:/ci/jedi_1592833832328/work
Jinja2==2.11.2
jsonschema @ file:///C:/ci/jsonschema_1594363671836/work
jupyter-client @ file:///tmp/build/80754af9/jupyter_client_1594826976318/work
jupyter-core==4.6.3
keyring @ file:///C:/ci/keyring_1593109817825/work
kiwisolver==1.2.0
lazy-object-proxy==1.5.0
MarkupSafe @ file:///C:/ci/markupsafe_1594405949945/work
matplotlib @ file:///C:/ci/matplotlib-base_1592846084747/work
mccabe==0.6.1
merakicommons==1.0.9
mistune @ file:///C:/ci/mistune_1594373272338/work
mkl-fft==1.1.0
mkl-random==1.1.1
mkl-service==2.3.0
nbconvert @ file:///C:/ci/nbconvert_1594372737468/work
nbformat==5.0.7
networkx==2.4
numpy==1.18.5
numpydoc @ file:///tmp/build/80754af9/numpydoc_1594166760263/work
packaging==20.4
pandocfilters==1.4.2
paramiko==2.7.1
parso==0.7.0
pathtools==0.1.2
pexpect @ file:///C:/ci/pexpect_1594383465186/work
pickleshare @ file:///C:/ci/pickleshare_1594374056827/work
Pillow==7.2.0
pluggy==0.13.1
prompt-toolkit==3.0.5
psutil==5.7.0
pycodestyle==2.6.0
pycparser @ file:///tmp/build/80754af9/pycparser_1594388511720/work
pydocstyle @ file:///tmp/build/80754af9/pydocstyle_1592848020240/work
pyflakes==2.2.0
Pygments==2.6.1
pylint==2.4.4
PyNaCl @ file:///C:/ci/pynacl_1595009241355/work
pyOpenSSL @ file:///tmp/build/80754af9/pyopenssl_1594392929924/work
pyparsing==2.4.7
pyrsistent==0.16.0
PySocks @ file:///C:/ci/pysocks_1594394709107/work
python-dateutil==2.8.1
python-jsonrpc-server @ file:///tmp/build/80754af9/python-jsonrpc-server_1594397536060/work
python-language-server @ file:///C:/ci/python-language-server_1594152769556/work
pytz==2020.1
pywin32==227
pywin32-ctypes @ file:///C:/ci/pywin32-ctypes_1594392691209/work
PyYAML==5.3.1
pyzmq==19.0.1
QDarkStyle==2.8.1
QtAwesome==0.7.2
qtconsole @ file:///tmp/build/80754af9/qtconsole_1592848611704/work
QtPy==1.9.0
requests @ file:///tmp/build/80754af9/requests_1592841827918/work
rope==0.17.0
Rtree==0.9.4
six==1.15.0
snowballstemmer==2.0.0
sortedcontainers==2.2.2
Sphinx @ file:///tmp/build/80754af9/sphinx_1594223420021/work
sphinxcontrib-applehelp==1.0.2
sphinxcontrib-devhelp==1.0.2
sphinxcontrib-htmlhelp==1.0.3
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==1.0.3
sphinxcontrib-serializinghtml==1.1.4
spyder @ file:///C:/ci/spyder_1594826266791/work
spyder-kernels @ file:///C:/ci/spyder-kernels_1594751701920/work
testpath==0.4.4
toml @ file:///tmp/build/80754af9/toml_1592853716807/work
tornado==6.0.4
traitlets==4.3.3
ujson==1.35
urllib3==1.25.9
watchdog @ file:///C:/ci/watchdog_1593446515400/work
wcwidth @ file:///tmp/build/80754af9/wcwidth_1593447189090/work
webencodings==0.5.1
win-inet-pton==1.1.0
wincertstore==0.2
wrapt==1.12.1
yapf @ file:///tmp/build/80754af9/yapf_1593528177422/work
zipp==3.1.0

0 comments on commit f1414a4

Please sign in to comment.