Skip to content

Instantly share code, notes, and snippets.

@psychemedia
Last active October 26, 2017 18:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save psychemedia/167e8df24238134f439dc077b5dfcb51 to your computer and use it in GitHub Desktop.
Save psychemedia/167e8df24238134f439dc077b5dfcb51 to your computer and use it in GitHub Desktop.
notebook demo
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"scrolled": true
},
"outputs": [],
"source": [
"!pip3 install RISE\n",
"!/usr/local/bin/jupyter contrib install --system\n",
"!/usr/local/bin/jupyter rise install rise --py --sys-prefix\n",
"!/usr/local/bin/jupyter-nbextension enable rise --py --sys-prefix"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"scrolled": true
},
"outputs": [],
"source": [
"!pip3 install matplotlib"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"scrolled": true
},
"outputs": [],
"source": [
"!jupyter nbextension enable --py --system widgetsnbextension"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"scrolled": true
},
"outputs": [],
"source": [
"!pip3 install folium"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"scrolled": true
},
"outputs": [],
"source": [
"!pip3 install nglview==1.0.b2\n",
"!jupyter-nbextension enable nglview --py --sys-prefix"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"scrolled": true
},
"outputs": [],
"source": [
"!pip3 install MDAnalysis"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"scrolled": true
},
"outputs": [],
"source": [
"!apt-get update && apt-get install -y frescobaldi && apt-get clean\n",
"!pip3 install music21\n",
"!apt-get install -y musescore"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"scrolled": true
},
"outputs": [],
"source": [
"!pip3 install jupyter-wysiwyg\n",
"!jupyter nbextension install --py jupyter_wysiwyg\n",
"!jupyter nbextension enable --py jupyter_wysiwyg"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"scrolled": true
},
"outputs": [],
"source": [
"!pip3 install schemdraw"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"scrolled": true
},
"outputs": [],
"source": [
"!apt-get install -y asymptote \n",
"%install_ext http://raw.github.com/azjps/ipython-asymptote/master/asymagic.py"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"scrolled": true
},
"outputs": [],
"source": [
"!pip3 install sympy"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"scrolled": true
},
"outputs": [],
"source": [
"#Is this py2?\n",
"#!apt-get install -y python-rdkit librdkit1 rdkit-data"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"scrolled": true
},
"outputs": [],
"source": [
"!apt-get install -y graphviz\n",
"!pip3 install graphviz"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.5.2"
}
},
"nbformat": 4,
"nbformat_minor": 2
}
@psychemedia
Copy link
Author

pip3 install RISE
jupyter-nbextension install rise --py --sys-prefix
jupyter-nbextension enable rise --py --sys-prefix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment