$ pip install -r requirements.txt
$ jupyter-nbextension install rise --py --sys-prefix
$ jupyter-nbextension enable rise --py --sys-prefix
Put credentials in a Jupyter startup script, e.g. in ~/.ipython/profile_default/startup/00-first.py:
CONSUMER_API_KEY = YOUR_CONSUMER_API_KEY
API_SECRET_KEY = YOUR_API_SECRET_KEY
ACCESS_TOKEN = YOUR_ACCESS_TOKEN
ACCESS_TOKEN_SECRET = YOUR_ACCESS_TOKEN_SECRET
$ jupyter notebook demo.ipynb
$ jupyter nbconvert --to slides demo.ipynb