##// END OF EJS Templates
shim nbconvert
Min RK -
Show More
@@ -0,0 +1,20 b''
1 """
2 Shim to maintain backwards compatibility with old IPython.nbconvert imports.
3 """
4 # Copyright (c) IPython Development Team.
5 # Distributed under the terms of the Modified BSD License.
6
7 from __future__ import print_function
8
9 import sys
10 from warnings import warn
11
12 warn("The `IPython.nbconvert` package has been deprecated. "
13 "You should import from ipython_nbconvert instead.")
14
15 from IPython.utils.shimmodule import ShimModule
16
17 # Unconditionally insert the shim into sys.modules so that further import calls
18 # trigger the custom attribute access above
19
20 sys.modules['IPython.nbconvert'] = ShimModule('nbconvert', mirror='jupyter_nbconvert')
1 NO CONTENT: file renamed from IPython/nbconvert/__init__.py to jupyter_nbconvert/__init__.py
1 NO CONTENT: file renamed from IPython/nbconvert/exporters/__init__.py to jupyter_nbconvert/exporters/__init__.py
1 NO CONTENT: file renamed from IPython/nbconvert/exporters/export.py to jupyter_nbconvert/exporters/export.py
1 NO CONTENT: file renamed from IPython/nbconvert/exporters/exporter.py to jupyter_nbconvert/exporters/exporter.py
1 NO CONTENT: file renamed from IPython/nbconvert/exporters/html.py to jupyter_nbconvert/exporters/html.py
1 NO CONTENT: file renamed from IPython/nbconvert/exporters/latex.py to jupyter_nbconvert/exporters/latex.py
1 NO CONTENT: file renamed from IPython/nbconvert/exporters/markdown.py to jupyter_nbconvert/exporters/markdown.py
1 NO CONTENT: file renamed from IPython/nbconvert/exporters/notebook.py to jupyter_nbconvert/exporters/notebook.py
1 NO CONTENT: file renamed from IPython/nbconvert/exporters/pdf.py to jupyter_nbconvert/exporters/pdf.py
1 NO CONTENT: file renamed from IPython/nbconvert/exporters/python.py to jupyter_nbconvert/exporters/python.py
1 NO CONTENT: file renamed from IPython/nbconvert/exporters/rst.py to jupyter_nbconvert/exporters/rst.py
1 NO CONTENT: file renamed from IPython/nbconvert/exporters/script.py to jupyter_nbconvert/exporters/script.py
1 NO CONTENT: file renamed from IPython/nbconvert/exporters/slides.py to jupyter_nbconvert/exporters/slides.py
1 NO CONTENT: file renamed from IPython/nbconvert/exporters/templateexporter.py to jupyter_nbconvert/exporters/templateexporter.py
1 NO CONTENT: file renamed from IPython/nbconvert/exporters/tests/__init__.py to jupyter_nbconvert/exporters/tests/__init__.py
1 NO CONTENT: file renamed from IPython/nbconvert/exporters/tests/base.py to jupyter_nbconvert/exporters/tests/base.py
1 NO CONTENT: file renamed from IPython/nbconvert/exporters/tests/cheese.py to jupyter_nbconvert/exporters/tests/cheese.py
1 NO CONTENT: file renamed from IPython/nbconvert/exporters/tests/files/notebook2.ipynb to jupyter_nbconvert/exporters/tests/files/notebook2.ipynb
1 NO CONTENT: file renamed from IPython/nbconvert/exporters/tests/files/pngmetadata.ipynb to jupyter_nbconvert/exporters/tests/files/pngmetadata.ipynb
1 NO CONTENT: file renamed from IPython/nbconvert/exporters/tests/files/prompt_numbers.ipynb to jupyter_nbconvert/exporters/tests/files/prompt_numbers.ipynb
1 NO CONTENT: file renamed from IPython/nbconvert/exporters/tests/files/rawtest.ipynb to jupyter_nbconvert/exporters/tests/files/rawtest.ipynb
1 NO CONTENT: file renamed from IPython/nbconvert/exporters/tests/test_export.py to jupyter_nbconvert/exporters/tests/test_export.py
1 NO CONTENT: file renamed from IPython/nbconvert/exporters/tests/test_exporter.py to jupyter_nbconvert/exporters/tests/test_exporter.py
1 NO CONTENT: file renamed from IPython/nbconvert/exporters/tests/test_html.py to jupyter_nbconvert/exporters/tests/test_html.py
1 NO CONTENT: file renamed from IPython/nbconvert/exporters/tests/test_latex.py to jupyter_nbconvert/exporters/tests/test_latex.py
1 NO CONTENT: file renamed from IPython/nbconvert/exporters/tests/test_markdown.py to jupyter_nbconvert/exporters/tests/test_markdown.py
1 NO CONTENT: file renamed from IPython/nbconvert/exporters/tests/test_notebook.py to jupyter_nbconvert/exporters/tests/test_notebook.py
1 NO CONTENT: file renamed from IPython/nbconvert/exporters/tests/test_pdf.py to jupyter_nbconvert/exporters/tests/test_pdf.py
1 NO CONTENT: file renamed from IPython/nbconvert/exporters/tests/test_python.py to jupyter_nbconvert/exporters/tests/test_python.py
1 NO CONTENT: file renamed from IPython/nbconvert/exporters/tests/test_rst.py to jupyter_nbconvert/exporters/tests/test_rst.py
1 NO CONTENT: file renamed from IPython/nbconvert/exporters/tests/test_script.py to jupyter_nbconvert/exporters/tests/test_script.py
1 NO CONTENT: file renamed from IPython/nbconvert/exporters/tests/test_slides.py to jupyter_nbconvert/exporters/tests/test_slides.py
1 NO CONTENT: file renamed from IPython/nbconvert/exporters/tests/test_templateexporter.py to jupyter_nbconvert/exporters/tests/test_templateexporter.py
1 NO CONTENT: file renamed from IPython/nbconvert/filters/__init__.py to jupyter_nbconvert/filters/__init__.py
1 NO CONTENT: file renamed from IPython/nbconvert/filters/ansi.py to jupyter_nbconvert/filters/ansi.py
1 NO CONTENT: file renamed from IPython/nbconvert/filters/citation.py to jupyter_nbconvert/filters/citation.py
1 NO CONTENT: file renamed from IPython/nbconvert/filters/datatypefilter.py to jupyter_nbconvert/filters/datatypefilter.py
1 NO CONTENT: file renamed from IPython/nbconvert/filters/highlight.py to jupyter_nbconvert/filters/highlight.py
1 NO CONTENT: file renamed from IPython/nbconvert/filters/latex.py to jupyter_nbconvert/filters/latex.py
1 NO CONTENT: file renamed from IPython/nbconvert/filters/markdown.py to jupyter_nbconvert/filters/markdown.py
1 NO CONTENT: file renamed from IPython/nbconvert/filters/markdown_mistune.py to jupyter_nbconvert/filters/markdown_mistune.py
1 NO CONTENT: file renamed from IPython/nbconvert/filters/marked.js to jupyter_nbconvert/filters/marked.js
1 NO CONTENT: file renamed from IPython/nbconvert/filters/strings.py to jupyter_nbconvert/filters/strings.py
1 NO CONTENT: file renamed from IPython/nbconvert/filters/tests/__init__.py to jupyter_nbconvert/filters/tests/__init__.py
1 NO CONTENT: file renamed from IPython/nbconvert/filters/tests/test_ansi.py to jupyter_nbconvert/filters/tests/test_ansi.py
1 NO CONTENT: file renamed from IPython/nbconvert/filters/tests/test_citation.py to jupyter_nbconvert/filters/tests/test_citation.py
1 NO CONTENT: file renamed from IPython/nbconvert/filters/tests/test_datatypefilter.py to jupyter_nbconvert/filters/tests/test_datatypefilter.py
1 NO CONTENT: file renamed from IPython/nbconvert/filters/tests/test_highlight.py to jupyter_nbconvert/filters/tests/test_highlight.py
1 NO CONTENT: file renamed from IPython/nbconvert/filters/tests/test_latex.py to jupyter_nbconvert/filters/tests/test_latex.py
1 NO CONTENT: file renamed from IPython/nbconvert/filters/tests/test_markdown.py to jupyter_nbconvert/filters/tests/test_markdown.py
1 NO CONTENT: file renamed from IPython/nbconvert/filters/tests/test_strings.py to jupyter_nbconvert/filters/tests/test_strings.py
1 NO CONTENT: file renamed from IPython/nbconvert/nbconvertapp.py to jupyter_nbconvert/nbconvertapp.py
1 NO CONTENT: file renamed from IPython/nbconvert/postprocessors/__init__.py to jupyter_nbconvert/postprocessors/__init__.py
1 NO CONTENT: file renamed from IPython/nbconvert/postprocessors/base.py to jupyter_nbconvert/postprocessors/base.py
1 NO CONTENT: file renamed from IPython/nbconvert/postprocessors/serve.py to jupyter_nbconvert/postprocessors/serve.py
1 NO CONTENT: file renamed from IPython/nbconvert/postprocessors/tests/__init__.py to jupyter_nbconvert/postprocessors/tests/__init__.py
1 NO CONTENT: file renamed from IPython/nbconvert/postprocessors/tests/test_serve.py to jupyter_nbconvert/postprocessors/tests/test_serve.py
1 NO CONTENT: file renamed from IPython/nbconvert/preprocessors/__init__.py to jupyter_nbconvert/preprocessors/__init__.py
1 NO CONTENT: file renamed from IPython/nbconvert/preprocessors/base.py to jupyter_nbconvert/preprocessors/base.py
1 NO CONTENT: file renamed from IPython/nbconvert/preprocessors/clearoutput.py to jupyter_nbconvert/preprocessors/clearoutput.py
1 NO CONTENT: file renamed from IPython/nbconvert/preprocessors/coalescestreams.py to jupyter_nbconvert/preprocessors/coalescestreams.py
1 NO CONTENT: file renamed from IPython/nbconvert/preprocessors/convertfigures.py to jupyter_nbconvert/preprocessors/convertfigures.py
1 NO CONTENT: file renamed from IPython/nbconvert/preprocessors/csshtmlheader.py to jupyter_nbconvert/preprocessors/csshtmlheader.py
1 NO CONTENT: file renamed from IPython/nbconvert/preprocessors/execute.py to jupyter_nbconvert/preprocessors/execute.py
1 NO CONTENT: file renamed from IPython/nbconvert/preprocessors/extractoutput.py to jupyter_nbconvert/preprocessors/extractoutput.py
1 NO CONTENT: file renamed from IPython/nbconvert/preprocessors/highlightmagics.py to jupyter_nbconvert/preprocessors/highlightmagics.py
1 NO CONTENT: file renamed from IPython/nbconvert/preprocessors/latex.py to jupyter_nbconvert/preprocessors/latex.py
1 NO CONTENT: file renamed from IPython/nbconvert/preprocessors/revealhelp.py to jupyter_nbconvert/preprocessors/revealhelp.py
1 NO CONTENT: file renamed from IPython/nbconvert/preprocessors/svg2pdf.py to jupyter_nbconvert/preprocessors/svg2pdf.py
1 NO CONTENT: file renamed from IPython/nbconvert/preprocessors/tests/__init__.py to jupyter_nbconvert/preprocessors/tests/__init__.py
1 NO CONTENT: file renamed from IPython/nbconvert/preprocessors/tests/base.py to jupyter_nbconvert/preprocessors/tests/base.py
1 NO CONTENT: file renamed from IPython/nbconvert/preprocessors/tests/files/Clear Output.ipynb to jupyter_nbconvert/preprocessors/tests/files/Clear Output.ipynb
1 NO CONTENT: file renamed from IPython/nbconvert/preprocessors/tests/files/Disable Stdin.ipynb to jupyter_nbconvert/preprocessors/tests/files/Disable Stdin.ipynb
1 NO CONTENT: file renamed from IPython/nbconvert/preprocessors/tests/files/Factorials.ipynb to jupyter_nbconvert/preprocessors/tests/files/Factorials.ipynb
1 NO CONTENT: file renamed from IPython/nbconvert/preprocessors/tests/files/HelloWorld.ipynb to jupyter_nbconvert/preprocessors/tests/files/HelloWorld.ipynb
1 NO CONTENT: file renamed from IPython/nbconvert/preprocessors/tests/files/Inline Image.ipynb to jupyter_nbconvert/preprocessors/tests/files/Inline Image.ipynb
1 NO CONTENT: file renamed from IPython/nbconvert/preprocessors/tests/files/Interrupt.ipynb to jupyter_nbconvert/preprocessors/tests/files/Interrupt.ipynb
1 NO CONTENT: file renamed from IPython/nbconvert/preprocessors/tests/files/SVG.ipynb to jupyter_nbconvert/preprocessors/tests/files/SVG.ipynb
1 NO CONTENT: file renamed from IPython/nbconvert/preprocessors/tests/files/Skip Exceptions.ipynb to jupyter_nbconvert/preprocessors/tests/files/Skip Exceptions.ipynb
1 NO CONTENT: file renamed from IPython/nbconvert/preprocessors/tests/files/Unicode.ipynb to jupyter_nbconvert/preprocessors/tests/files/Unicode.ipynb
1 NO CONTENT: file renamed from IPython/nbconvert/preprocessors/tests/files/python.png to jupyter_nbconvert/preprocessors/tests/files/python.png
1 NO CONTENT: file renamed from IPython/nbconvert/preprocessors/tests/test_clearoutput.py to jupyter_nbconvert/preprocessors/tests/test_clearoutput.py
1 NO CONTENT: file renamed from IPython/nbconvert/preprocessors/tests/test_coalescestreams.py to jupyter_nbconvert/preprocessors/tests/test_coalescestreams.py
1 NO CONTENT: file renamed from IPython/nbconvert/preprocessors/tests/test_csshtmlheader.py to jupyter_nbconvert/preprocessors/tests/test_csshtmlheader.py
1 NO CONTENT: file renamed from IPython/nbconvert/preprocessors/tests/test_execute.py to jupyter_nbconvert/preprocessors/tests/test_execute.py
1 NO CONTENT: file renamed from IPython/nbconvert/preprocessors/tests/test_extractoutput.py to jupyter_nbconvert/preprocessors/tests/test_extractoutput.py
1 NO CONTENT: file renamed from IPython/nbconvert/preprocessors/tests/test_highlightmagics.py to jupyter_nbconvert/preprocessors/tests/test_highlightmagics.py
1 NO CONTENT: file renamed from IPython/nbconvert/preprocessors/tests/test_latex.py to jupyter_nbconvert/preprocessors/tests/test_latex.py
1 NO CONTENT: file renamed from IPython/nbconvert/preprocessors/tests/test_revealhelp.py to jupyter_nbconvert/preprocessors/tests/test_revealhelp.py
1 NO CONTENT: file renamed from IPython/nbconvert/preprocessors/tests/test_svg2pdf.py to jupyter_nbconvert/preprocessors/tests/test_svg2pdf.py
1 NO CONTENT: file renamed from IPython/nbconvert/templates/README.md to jupyter_nbconvert/templates/README.md
1 NO CONTENT: file renamed from IPython/nbconvert/templates/html/basic.tpl to jupyter_nbconvert/templates/html/basic.tpl
1 NO CONTENT: file renamed from IPython/nbconvert/templates/html/full.tpl to jupyter_nbconvert/templates/html/full.tpl
1 NO CONTENT: file renamed from IPython/nbconvert/templates/html/mathjax.tpl to jupyter_nbconvert/templates/html/mathjax.tpl
1 NO CONTENT: file renamed from IPython/nbconvert/templates/html/slides_reveal.tpl to jupyter_nbconvert/templates/html/slides_reveal.tpl
1 NO CONTENT: file renamed from IPython/nbconvert/templates/latex/article.tplx to jupyter_nbconvert/templates/latex/article.tplx
1 NO CONTENT: file renamed from IPython/nbconvert/templates/latex/base.tplx to jupyter_nbconvert/templates/latex/base.tplx
1 NO CONTENT: file renamed from IPython/nbconvert/templates/latex/report.tplx to jupyter_nbconvert/templates/latex/report.tplx
1 NO CONTENT: file renamed from IPython/nbconvert/templates/latex/skeleton/display_priority.tplx to jupyter_nbconvert/templates/latex/skeleton/display_priority.tplx
1 NO CONTENT: file renamed from IPython/nbconvert/templates/latex/skeleton/null.tplx to jupyter_nbconvert/templates/latex/skeleton/null.tplx
1 NO CONTENT: file renamed from IPython/nbconvert/templates/latex/style_bw_ipython.tplx to jupyter_nbconvert/templates/latex/style_bw_ipython.tplx
1 NO CONTENT: file renamed from IPython/nbconvert/templates/latex/style_bw_python.tplx to jupyter_nbconvert/templates/latex/style_bw_python.tplx
1 NO CONTENT: file renamed from IPython/nbconvert/templates/latex/style_ipython.tplx to jupyter_nbconvert/templates/latex/style_ipython.tplx
1 NO CONTENT: file renamed from IPython/nbconvert/templates/latex/style_python.tplx to jupyter_nbconvert/templates/latex/style_python.tplx
1 NO CONTENT: file renamed from IPython/nbconvert/templates/markdown.tpl to jupyter_nbconvert/templates/markdown.tpl
1 NO CONTENT: file renamed from IPython/nbconvert/templates/python.tpl to jupyter_nbconvert/templates/python.tpl
1 NO CONTENT: file renamed from IPython/nbconvert/templates/rst.tpl to jupyter_nbconvert/templates/rst.tpl
1 NO CONTENT: file renamed from IPython/nbconvert/templates/script.tpl to jupyter_nbconvert/templates/script.tpl
1 NO CONTENT: file renamed from IPython/nbconvert/templates/skeleton/Makefile to jupyter_nbconvert/templates/skeleton/Makefile
1 NO CONTENT: file renamed from IPython/nbconvert/templates/skeleton/README.md to jupyter_nbconvert/templates/skeleton/README.md
1 NO CONTENT: file renamed from IPython/nbconvert/templates/skeleton/display_priority.tpl to jupyter_nbconvert/templates/skeleton/display_priority.tpl
1 NO CONTENT: file renamed from IPython/nbconvert/templates/skeleton/null.tpl to jupyter_nbconvert/templates/skeleton/null.tpl
1 NO CONTENT: file renamed from IPython/nbconvert/tests/README.md to jupyter_nbconvert/tests/README.md
1 NO CONTENT: file renamed from IPython/nbconvert/tests/__init__.py to jupyter_nbconvert/tests/__init__.py
1 NO CONTENT: file renamed from IPython/nbconvert/tests/base.py to jupyter_nbconvert/tests/base.py
1 NO CONTENT: file renamed from IPython/nbconvert/tests/files/hello.py to jupyter_nbconvert/tests/files/hello.py
1 NO CONTENT: file renamed from IPython/nbconvert/tests/files/ipython_nbconvert_config.py to jupyter_nbconvert/tests/files/ipython_nbconvert_config.py
1 NO CONTENT: file renamed from IPython/nbconvert/tests/files/notebook1.ipynb to jupyter_nbconvert/tests/files/notebook1.ipynb
1 NO CONTENT: file renamed from IPython/nbconvert/tests/files/notebook2.ipynb to jupyter_nbconvert/tests/files/notebook2.ipynb
1 NO CONTENT: file renamed from IPython/nbconvert/tests/files/override.py to jupyter_nbconvert/tests/files/override.py
1 NO CONTENT: file renamed from IPython/nbconvert/tests/test_nbconvertapp.py to jupyter_nbconvert/tests/test_nbconvertapp.py
1 NO CONTENT: file renamed from IPython/nbconvert/utils/__init__.py to jupyter_nbconvert/utils/__init__.py
1 NO CONTENT: file renamed from IPython/nbconvert/utils/base.py to jupyter_nbconvert/utils/base.py
1 NO CONTENT: file renamed from IPython/nbconvert/utils/exceptions.py to jupyter_nbconvert/utils/exceptions.py
1 NO CONTENT: file renamed from IPython/nbconvert/utils/lexers.py to jupyter_nbconvert/utils/lexers.py
1 NO CONTENT: file renamed from IPython/nbconvert/utils/pandoc.py to jupyter_nbconvert/utils/pandoc.py
1 NO CONTENT: file renamed from IPython/nbconvert/utils/tests/__init__.py to jupyter_nbconvert/utils/tests/__init__.py
1 NO CONTENT: file renamed from IPython/nbconvert/utils/tests/test_lexers.py to jupyter_nbconvert/utils/tests/test_lexers.py
1 NO CONTENT: file renamed from IPython/nbconvert/utils/tests/test_pandoc.py to jupyter_nbconvert/utils/tests/test_pandoc.py
1 NO CONTENT: file renamed from IPython/nbconvert/writers/__init__.py to jupyter_nbconvert/writers/__init__.py
1 NO CONTENT: file renamed from IPython/nbconvert/writers/base.py to jupyter_nbconvert/writers/base.py
1 NO CONTENT: file renamed from IPython/nbconvert/writers/debug.py to jupyter_nbconvert/writers/debug.py
1 NO CONTENT: file renamed from IPython/nbconvert/writers/files.py to jupyter_nbconvert/writers/files.py
1 NO CONTENT: file renamed from IPython/nbconvert/writers/stdout.py to jupyter_nbconvert/writers/stdout.py
1 NO CONTENT: file renamed from IPython/nbconvert/writers/tests/__init__.py to jupyter_nbconvert/writers/tests/__init__.py
1 NO CONTENT: file renamed from IPython/nbconvert/writers/tests/test_debug.py to jupyter_nbconvert/writers/tests/test_debug.py
1 NO CONTENT: file renamed from IPython/nbconvert/writers/tests/test_files.py to jupyter_nbconvert/writers/tests/test_files.py
1 NO CONTENT: file renamed from IPython/nbconvert/writers/tests/test_stdout.py to jupyter_nbconvert/writers/tests/test_stdout.py
General Comments 0
You need to be logged in to leave comments. Login now