Skip to main content

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. Check out the demo with Binder

demo

Jupyter Notebook 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

Jupyter Lab Installation

  1. pip instal hide_code[lab]
  2. jupyter lab build

Upgrading with nbextension

  1. pip install hide_code --upgrade
  2. 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 Binder
  • 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+

hide_code-hits

Release files for hide-code 0.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hide-code 0.7.0
File Size Uploaded
hide_code-0.7.0.tar.gz 61.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hide-code 0.7.0
File Interpreter ABI Platform
hide_code-0.7.0-py3-none-any.whl Python 3 none any Details

Total release size: 129.3 kB

Release files / hide_code-0.7.0.tar.gz

Download URL hide_code-0.7.0.tar.gz
Size 61.3 kB
Tags Source
SHA-256 checksum
How to use checksums
a2a2598dadd7b37b7bfe1b094db3168acdf7c28c371eeca26cbad3e6579d4771
BLAKE2b-256 checksum
How to use checksums
63678c7fbe3830e0de9067523cd672d631799a5f3fd3289a0bc13588eb45822a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.7

Release files / hide_code-0.7.0-py3-none-any.whl

Download URL hide_code-0.7.0-py3-none-any.whl
Size 67.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a9edf690daa57f0cc069c8c781880422e71b03c1d6bb8aa74e0f8b7d2fb9d0c6
BLAKE2b-256 checksum
How to use checksums
eb027a008733b7baefe9c72648b57706be777033a2dcd6610698156d1858066a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.7

Release history Release notifications | RSS feed

This release

0.7.0 This release

2 release files

0.6.0

1 release file

0.5.6

1 release file

0.5.5

1 release file

0.5.3

1 release file

0.5.2

1 release file

0.5.1

1 release file

0.5.0

1 release file

0.4.0

1 release file

0.3.1

1 release file

0.3.0

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.6

1 release file

0.1.5

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page