Skip to content

Commit

Permalink
adding readme
Browse files Browse the repository at this point in the history
fix email address

fix email address

initial cut

use older perspective

updating notebooks

removing statusbar

trim deps

pin revisions

pin plotly dep

readd perspective

bump perspective version

update build to tag js versions

bump version to 0.3.1
  • Loading branch information
Tim Paine authored and timkpaine committed Jul 30, 2019
1 parent 851bae7 commit 0fe2f01
Show file tree
Hide file tree
Showing 21 changed files with 78,797 additions and 0 deletions.
111 changes: 111 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
.hypothesis/
.pytest_cache/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# pyenv
.python-version

# celery beat schedule file
celerybeat-schedule

# SageMath parsed files
*.sage.py

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/

node_modules
package-lock.json
yarn.lock
.DS_Store
coverage/
notebooks/mymodule.py
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Python Training
Python training for business analysts and traders.

[![Binder](http://mybinder.org/badge_logo.svg)](http://beta.mybinder.org/v2/gh/jpmorganchase/python-training/master?urlpath=lab)

## Overview
This course is designed to be an introduction to numerical computing and data visualization in Python. It is not designed to be a complete course in Computer Science or programming, but rather a motivational demonstration of how relatively complex topics can be accessible even to those without formal progamming backgrounds.

This training is designed to be conducted in-person. For interested parties, please reach out [via email](mailto:[email protected])

## Platform Attribution
This repository relies on the [Binder](https://mybinder.readthedocs.io/en/latest/about.html) project, which is generously funded with grants from the [Moore Foundation](https://www.moore.org/) and the [Google Cloud Platform](https://cloud.google.com/).


## Data Attribution

- Financial data provided by [IEX Cloud](https://iexcloud.io)
- Airport and route data provided by [OpenFlights.org](https://openflights.org/data.html#license)


## License
This software is licensed under the Apache 2 license. See the [LICENSE](LICENSE) file for details.



1 change: 1 addition & 0 deletions binder/apt.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
graphviz-dev
61 changes: 61 additions & 0 deletions binder/postBuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
#!/bin/bash
export NODE_OPTIONS=--max-old-space-size=32768

EXTENSIONS="
@jupyter-widgets/[email protected]
@jupyter-widgets/[email protected]
@finos/[email protected]
@jupyterlab/[email protected]
@jupyterlab/[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
jupyterlab_autoversion
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
"


until jupyter labextension install $EXTENSIONS --no-build
do
echo "Extension failed to install"
done

until jupyter lab build
do
echo "Extension failed to install"
done

jupyter serverextension enable --py nbdime
jupyter serverextension enable --py jupyterlab_iframe
jupyter serverextension enable --py jupyterlab_autoversion
jupyter serverextension enable --py jupyterlab_celltests
jupyter serverextension enable --py jupyterlab_commands
jupyter serverextension enable --py jupyterlab_email
jupyter serverextension enable --py jupyterlab_templates
jupyter serverextension enable --py nbresuse


python3 -m spacy download en_core_web_sm


# wget http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz
# tar xfzv ta-lib-0.4.0-src.tar.gz
# cd ta-lib
# ./configure --prefix=/usr
# make
# make install
# pip3 install TA-lib
# sudo make install
85 changes: 85 additions & 0 deletions binder/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
aiohttp>=3.5.4
aiostream>=0.3.1
alphalens>=0.3.4+3.g399d89d.dirty
altair>=2.3.0
arctic>=1.73.0
beautifulsoup4>=4.6.3
bintrees>=2.0.4
bokeh>=1.0.2
bqplot>=0.11.2
ccxt>=1.18.529
coinmarketcap>=5.0.3
cufflinks>=0.15
cyjupyter>=0.2.0
datashader>=0.6.8
ipdb>=0.11
ipyannotate>=0.1.0b0
ipydatawidgets>=4.0.0
ipymarkup>=0.3.0
ipympl>=0.2.1
ipysheet>=0.3.4
ipysigma>=0.5.0
ipyvolume>=0.5.1
ipywebrtc>=0.4.3
ipywidgets>=7.4.2
jupyter-tensorboard>=0.1.8
jupyterlab==0.35.6
jupyterlab-autoversion>=0.0.4
jupyterlab-celltests>=0.0.8
jupyterlab-commands>=0.0.4
jupyterlab-email>=0.1.1
jupyterlab-git>=0.5.0
jupyterlab-iframe>=0.0.11
jupyterlab-quickopen>=0.1.0
jupyterlab-server>=0.2.0
jupyterlab-snippets>=0.2.4
jupyterlab-templates>=0.0.7
matplotlib>=3.0.2
mimesis>=3.0.0
missingno>=0.4.2
nbconvert>=5.5.0
nbdime>=1.0.4
nbformat>=4.4.0
nbresuse>=0.3.0
nbstripout>=0.3.3
nbval>=0.9.1
nltk>=3.4
numba>=0.41.0
numpy>=1.16.3
openpyxl>=2.5.12
pandas>=0.24.2
pandas-datareader>=0.7.0
pandoc>=1.0.2
papermill>=0.16.2
pendulum>=1.4.4
percy>=2.0.1
perspective-python==0.1.10
plotly==3.10.0
psycopg2>=2.7.6.1
pyEX>=0.1.14
pyfolio>=0.9.0
pylantern>=0.1.2
pymongo>=3.7.2
python-nvd3>=0.15.0
pythreejs>=2.0.2
PyWavelets>=1.0.1
qgrid>=1.1.1
Quandl>=3.4.5
quantecon>=0.4.3
QuantLib-Python>=1.13
requests>=2.22.0
scikit-learn>=0.20.3
scipy>=1.2.1
seaborn>=0.9.0
sidecar>=0.2.0
spacy>=2.1.4
SQLAlchemy>=1.2.15
sseclient>=0.0.22
statsmodels>=0.9.0
sympy>=1.3
tqdm>=4.28.1
trading-calendars>=1.6.1
tributary>=0.0.4
vapeplot>=0.0.8
xgboost>=0.72
XlsxWriter>=1.1.2
1 change: 1 addition & 0 deletions binder/runtime.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
python-3.7
Loading

0 comments on commit 0fe2f01

Please sign in to comment.