Skip to content
 
 

Latest commit

 

History

95 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hide_code

PyPI version MIT license Release: Travis release build Dev: Dev Build Status

hide_code is a Jupyter notebook extension to selectively hide code, prompts and outputs with PDF and HTML exporting support.

demo

Installation

  1. pip install hide_code
  2. jupyter nbextension install --py hide_code
  3. jupyter nbextension enable --py hide_code
  4. jupyter serverextension enable --py hide_code

Note: add --sys-prefix to jupyter nbextension to install into virtualenv or conda environment.

Upgrading from 0.3.1?

Versions prior to 0.4 were installed by bootstrapping custom.js and jupyter configuration files. Pip uninstall does not remove these files. Upgrade to 0.4, then run python -c "import hide_code; hide_code.uninstall_bootrapped_files()".

Documentation

Visit the Wiki.

Requirements

  • Jupyter notebook 4.x+
  • Jupyter nbconvert ~>4.2+ if using nbconvert command line exporting. nbconvert 5.x does not work with hide_code.
  • pdfkit & wkhtmltopdf
  • Python 2.7 or 3.3+

About

Code, prompt and output hiding for Jupyter/IPython notebooks.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages