Skip to content

Instantly share code, notes, and snippets.

@rdenadai
Last active July 22, 2020 14:03
Show Gist options
  • Save rdenadai/e8a98a32ca5c0e73e74f2c085bc4d338 to your computer and use it in GitHub Desktop.
Save rdenadai/e8a98a32ca5c0e73e74f2c085bc4d338 to your computer and use it in GitHub Desktop.
essentials jupyter commands

Jupyter Commands

Install jupyter

$> pip install ipython[all]

$> jupyter notebook --no-browser

Install nbextensions

jupyter_contrib_nbextensions

$> pip install jupyter_contrib_nbextensions

$> jupyter contrib nbextension install --user

$> jupyter nbextension <enable|disable> <extension>

P.S.: You could do the last line inside Juputer web interface.

Other Themes

jupyter-themes

Install Pandoc

pandoc

$> apt-get install pandoc

Install LaTex

$> apt-get install texlive-xetex
$> apt-get install texlive-generic-extra

Run Notebook in CLI

$> jupyter nbconvert --to notebook --inplace --execute <notebook.ipynb>

Export to pdf|markdown|html hidding code cells

$> jupyter nbconvert --to <pdf|markdown|html> --TemplateExporter.exclude_input=True <notebook.ipynb>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment