gituser/docker_multiarch/: nbconvert-5.6.1 metadata and description

Homepage Simple index

Converting Jupyter Notebooks

author Jupyter Development Team
author_email jupyter@googlegroups.com
classifiers
  • Intended Audience :: Developers
  • Intended Audience :: System Administrators
  • Intended Audience :: Science/Research
  • License :: OSI Approved :: BSD License
  • Programming Language :: Python
  • Programming Language :: Python :: 2.7
  • Programming Language :: Python :: 3
  • Programming Language :: Python :: 3.5
  • Programming Language :: Python :: 3.6
  • Programming Language :: Python :: 3.7
description_content_type text/markdown
keywords Interactive,Interpreter,Shell,Web
license BSD
project_urls
  • Documentation, https://nbconvert.readthedocs.io/en/latest/
  • Funding, https://numfocus.org/
  • Source, https://github.com/jupyter/nbconvert
  • Tracker, https://github.com/jupyter/nbconvert/issues
provides_extras test
requires_dist
  • mistune (<2,>=0.8.1)
  • jinja2 (>=2.4)
  • pygments
  • traitlets (>=4.2)
  • jupyter-core
  • nbformat (>=4.4)
  • entrypoints (>=0.2.2)
  • bleach
  • pandocfilters (>=1.4.1)
  • testpath
  • defusedxml
  • pytest ; extra == 'all'
  • pytest-cov ; extra == 'all'
  • ipykernel ; extra == 'all'
  • jupyter-client (>=5.3.1) ; extra == 'all'
  • ipywidgets (>=7) ; extra == 'all'
  • pebble ; extra == 'all'
  • tornado (>=4.0) ; extra == 'all'
  • sphinx (>=1.5.1) ; extra == 'all'
  • sphinx-rtd-theme ; extra == 'all'
  • nbsphinx (>=0.2.12) ; extra == 'all'
  • sphinxcontrib-github-alt ; extra == 'all'
  • ipython ; extra == 'all'
  • mock ; (python_version < "3.4") and extra == 'all'
  • sphinx (>=1.5.1) ; extra == 'docs'
  • sphinx-rtd-theme ; extra == 'docs'
  • nbsphinx (>=0.2.12) ; extra == 'docs'
  • sphinxcontrib-github-alt ; extra == 'docs'
  • ipython ; extra == 'docs'
  • jupyter-client (>=5.3.1) ; extra == 'docs'
  • jupyter-client (>=5.3.1) ; extra == 'execute'
  • tornado (>=4.0) ; extra == 'serve'
  • pytest ; extra == 'test'
  • pytest-cov ; extra == 'test'
  • ipykernel ; extra == 'test'
  • jupyter-client (>=5.3.1) ; extra == 'test'
  • ipywidgets (>=7) ; extra == 'test'
  • pebble ; extra == 'test'
  • mock ; (python_version < "3.4") and extra == 'test'
requires_python >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*
File Tox results History
nbconvert-5.6.1-py2.py3-none-any.whl
Size
444 KB
Type
Python Wheel
Python
2.7

nbconvert

Jupyter Notebook Conversion

Google Group Build Status Documentation Status Documentation Status codecov.io CircleCI Docs Status

The nbconvert tool, jupyter nbconvert, converts notebooks to various other formats via Jinja templates. The nbconvert tool allows you to convert an .ipynb notebook file into various static formats including:

Usage

From the command line, use nbconvert to convert a Jupyter notebook (input) to a a different format (output). The basic command structure is:

$ jupyter nbconvert --to <output format> <input notebook>

where <output format> is the desired output format and <input notebook> is the filename of the Jupyter notebook.

Example: Convert a notebook to HTML

Convert Jupyter notebook file, mynotebook.ipynb, to HTML using:

$ jupyter nbconvert --to html mynotebook.ipynb

This command creates an HTML output file named mynotebook.html.

Dev Install

Check if pandoc is installed (pandoc --version); if needed, install:

sudo apt-get install pandoc

Or

brew install pandoc

Install nbconvert for development using:

git clone https://github.com/jupyter/nbconvert.git
cd nbconvert
pip install -e .

Running the tests after a dev install above:

pip install nbconvert[test]
py.test --pyargs nbconvert

Resources