Skip to content

Commit

Permalink
Updated environment YML files for conda installation
Browse files Browse the repository at this point in the history
  • Loading branch information
saeedamen committed May 6, 2020
1 parent 8cc40ff commit a87b71d
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 13 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,17 @@ For more information about my Python for finance workshops, please contact saeed

For instructions on how to install Anaconda and PyCharm see [Installing Anaconda and PyCharm](pythoncourse/installation/installing_anaconda_and_pycharm.ipynb)

If you can't view the Jupyter notebook in GitHub, you can try viewing that by copying and pasting the URL for the installation guide
https://github.com/cuemacro/teaching/blob/master/pythoncourse/installation/installing_anaconda_and_pycharm.ipynb
in https://nbviewer.jupyter.org/ ie. to go to the following link
https://nbviewer.jupyter.org/github/cuemacro/teaching/blob/master/pythoncourse/installation/installing_anaconda_and_pycharm.ipynb

# Coding log

* 06 May 2020
* Note on using nbviewer
* Updated Anaconda installation files
* Updated environment YML files for new versions of chartpy, findatapy and finmarketpy
* 12 Apr 2020
* Updated coronavirus Jupyter notebook, fixing bugs and adding new charts
* Updated Anaconda installation files for Windows and Linux with new libraries
Expand Down
Binary file modified pythoncourse/coursecode/xlwings/backtest_xl/backtest_xl.xlsm
Binary file not shown.
Binary file modified pythoncourse/coursecode/xlwings/plot_xl/plot_xl.xlsm
Binary file not shown.
4 changes: 2 additions & 2 deletions pythoncourse/installation/create_conda_env.bat
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ call conda install -c conda-forge ^
jupyterlab jupyter_contrib_nbextensions jupyter_nbextensions_configurator ipywidgets=7.5 ^
redis-py=3.3.7 python-blosc=1.8.1 pathos graphviz python-graphviz textblob wordcloud quandl pyspark py4j ^
spacy fastparquet python-snappy nodejs koalas textacy pystan fbprophet setuptools-git=1.2 vispy=0.6.4 bqplot=0.12.6 ^
datashader=0.10.0 pyproj=2.6.0 blpapi --yes
datashader=0.10.0 pyproj=2.6.0 blpapi xlwings=0.18.0 holoviews=1.13.2 --yes

call pip install arctic==1.79.2

Expand All @@ -32,7 +32,7 @@ call conda install -c conda-forge opencv --yes
call pip install cvlib

REM For findatapy (and NLP)
call pip install fxcmpy alpha_vantage yfinance twython newspaper3k seasonal pdfminer.six vaderSentiment gensim rise
call pip install fxcmpy alpha_vantage yfinance twython newspaper3k seasonal pdfminer.six vaderSentiment gensim rise requests_html

REM findatapy, chartpy and finmarketpy
REM needs git
Expand Down
4 changes: 2 additions & 2 deletions pythoncourse/installation/create_conda_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jupyterlab jupyter_contrib_nbextensions jupyter_nbextensions_configurator \
redis-py=3.3.7 python-blosc=1.8.1 pathos graphviz python-graphviz textblob wordcloud quandl \
vaex-core vaex-viz vaex-jupyter vaex-arrow vaex-server vaex-hdf5 vaex-astro vaex-distributed pyspark py4j \
spacy fastparquet python-snappy nodejs koalas textacy pystan fbprophet setuptools-git=1.2 vispy=0.6.4 bqplot=0.12.6 \
datashader=0.10.0 pyproj=2.6.0 --yes
datashader=0.10.0 pyproj=2.6.0 holoviews=1.13.2 --yes

# For database
pip install arctic==1.79.2
Expand All @@ -28,7 +28,7 @@ pip install arctic==1.79.2
pip install celery==4.4.0 celery[redis] celery[msgpack] msgpack-python

# For findatapy (and NLP)
pip install fxcmpy alpha_vantage yfinance twython newspaper3k seasonal pdfminer.six vaderSentiment gensim rise progressbar2==3.50.1
pip install fxcmpy alpha_vantage yfinance twython newspaper3k seasonal pdfminer.six vaderSentiment gensim rise progressbar2==3.50.1 requests_html

# install tensorflow and transformers/huggingface (on Mac OS can have issues installing TensorFlow, so if you have Mac
# comment it out)
Expand Down
7 changes: 4 additions & 3 deletions pythoncourse/installation/environment_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ dependencies:
- billiard==3.6.3.0
- celery==4.4.0
- chart-studio==1.1.0
- chartpy==0.1.5
- chartpy==0.1.6
- colorlover==0.3.0
- configparser==5.0.0
- cssselect==1.1.0
Expand All @@ -477,8 +477,8 @@ dependencies:
- feedfinder2==0.0.4
- feedparser==5.2.1
- filelock==3.0.12
- findatapy==0.1.10
- finmarketpy==0.11.3
- findatapy==0.1.12
- finmarketpy==0.11.4
- flask-compress==1.4.0
- flask-ngrok==0.0.25
- flatbuffers==1.12
Expand Down Expand Up @@ -507,6 +507,7 @@ dependencies:
- pymongo==3.10.1
- ray==0.7.1
- requests-file==1.4.3
- requests-html==0.10.0
- requests-oauthlib==1.3.0
- retrying==1.3.3
- rise==5.6.1
Expand Down
9 changes: 5 additions & 4 deletions pythoncourse/installation/environment_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ dependencies:
- xarray=0.14.1=py_1
- xlrd=1.2.0=py36_0
- xlsxwriter=1.2.8=py_0
- xlwings=0.18.0=py36_0
- xlwings=0.18.0=py36h9f0ad1d_1
- xlwt=1.3.0=py36h1a4751e_0
- xz=5.2.4=h2fa13f4_4
- yaml=0.1.7=hc54c509_2
Expand All @@ -420,7 +420,7 @@ dependencies:
- boto3==1.12.39
- botocore==1.15.39
- chart-studio==1.1.0
- chartpy==0.1.5
- chartpy==0.1.6
- cmdstanpy==0.4.0
- colorlover==0.3.0
- configparser==5.0.0
Expand All @@ -441,8 +441,8 @@ dependencies:
- feedfinder2==0.0.4
- feedparser==5.2.1
- filelock==3.0.12
- findatapy==0.1.10
- finmarketpy==0.11.3
- findatapy==0.1.12
- finmarketpy==0.11.4
- flask-compress==1.4.0
- flask-ngrok==0.0.25
- fxcmpy==1.2.6
Expand Down Expand Up @@ -481,6 +481,7 @@ dependencies:
- pytesseract==0.3.3
- regex==2020.4.4
- requests-file==1.4.3
- requests-html==0.10.0
- requests-oauthlib==1.3.0
- retrying==1.3.3
- rise==5.6.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13226,7 +13226,7 @@ <h3 id="Copy-the-below-to-create_conda_env.bat-for-Windows-(or-download-it)">Cop
jupyterlab jupyter_contrib_nbextensions jupyter_nbextensions_configurator ipywidgets=7.5 ^
redis-py=3.3.7 python-blosc=1.8.1 pathos graphviz python-graphviz textblob wordcloud quandl pyspark py4j ^
spacy fastparquet python-snappy nodejs koalas textacy pystan fbprophet setuptools-git=1.2 vispy=0.6.4 bqplot=0.12.6 ^
datashader=0.10.0 pyproj=2.6.0 blpapi --yes
datashader=0.10.0 pyproj=2.6.0 blpapi xlwings=0.18.0 --yes

call pip install arctic==1.79.2

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@
"jupyterlab jupyter_contrib_nbextensions jupyter_nbextensions_configurator ipywidgets=7.5 ^\n",
"redis-py=3.3.7 python-blosc=1.8.1 pathos graphviz python-graphviz textblob wordcloud quandl pyspark py4j ^\n",
"spacy fastparquet python-snappy nodejs koalas textacy pystan fbprophet setuptools-git=1.2 vispy=0.6.4 bqplot=0.12.6 ^\n",
"datashader=0.10.0 pyproj=2.6.0 blpapi --yes\n",
"datashader=0.10.0 pyproj=2.6.0 blpapi xlwings=0.18.0 --yes\n",
"\n",
"call pip install arctic==1.79.2\n",
"\n",
Expand Down

0 comments on commit a87b71d

Please sign in to comment.