A Jupyter notebook extension to hide code, prompts and outputs.
Project description
Hide_code
Release: Dev:
hide_code is a Jupyter notebook extension to selectively hide code, prompts and outputs with PDF and HTML exporting support. Check out the demo with
Jupyter Notebook Installation
pip install hide_code
jupyter nbextension install --py hide_code
jupyter nbextension enable --py hide_code
jupyter serverextension enable --py hide_code
Jupyter Lab Installation
pip instal hide_code[lab]
jupyter lab build
Upgrading with nbextension
pip install hide_code --upgrade
jupyter nbextension install --py hide_code
Note: add --sys-prefix
to jupyter nbextension
to install into virtualenv or conda environment.
Changes in 0.6.0
Improvements
- Added experiemental Jupyter Lab support. See Lab usage for details and limitations.
- Added Binder demo
- Simplified extension installation. No longer need to use nbextension/serverextension commands after pip install.
- No longer supporting Python 2.7. Install hide_code==0.5.2 for Python 2.7.
- 0.5.6 is the last version to support Python 3.6 and older.
- Added extras_install [all] to install hide_code and all dependencies. Use
pip install hide_code[all]
to install. Resolves #85.
Documentation
Visit the Wiki.
Requirements
- Jupyter notebook >6.0
- Jupyter nbconvert >6.x
- pdfkit & wkhtmltopdf
- Python 3.7+
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hide_code-0.7.0.tar.gz
(61.3 kB
view details)
Built Distribution
hide_code-0.7.0-py3-none-any.whl
(67.9 kB
view details)
File details
Details for the file hide_code-0.7.0.tar.gz
.
File metadata
- Download URL: hide_code-0.7.0.tar.gz
- Upload date:
- Size: 61.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2a2598dadd7b37b7bfe1b094db3168acdf7c28c371eeca26cbad3e6579d4771 |
|
MD5 | f28f0cf6a0bc0f919be80277147a95a1 |
|
BLAKE2b-256 | 63678c7fbe3830e0de9067523cd672d631799a5f3fd3289a0bc13588eb45822a |
File details
Details for the file hide_code-0.7.0-py3-none-any.whl
.
File metadata
- Download URL: hide_code-0.7.0-py3-none-any.whl
- Upload date:
- Size: 67.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9edf690daa57f0cc069c8c781880422e71b03c1d6bb8aa74e0f8b7d2fb9d0c6 |
|
MD5 | 9b97ace51f516d9de199029a3fc1ddf5 |
|
BLAKE2b-256 | eb027a008733b7baefe9c72648b57706be777033a2dcd6610698156d1858066a |