Skip to content

Conversion utility from Zeppelin notes to Jupyter notebooks.

Notifications You must be signed in to change notification settings

rdblue/jupyter-zeppelin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Jupyter/Zeppelin conversion

This repo has code for converting Zeppelin notebooks to Jupyter's ipynb format.

To convert a notebook, run:

python jupyter-zeppelin.py note.json

This will create a file named using the Zeppelin note's name in the current directory. Alternatively, you can pass an output path:

python jupyter-zeppelin.py note.json Example.ipynb

Supported conventions

This converter supports the following Zeppelin conventions:

  • Code paragraphs are converted to code cells
  • %md paragraphs are converted to Jupyter markdown cells
  • %html paragraphs are converted to Jupyter code cells using cell magic %%html
  • %sql paragraphs are converted to Jupyter code cells using cell magic %%sql
  • Paragraphs with unknown magics are converted to raw cells
  • TEXT output is converted to text/plain output
  • HTML output is converted to text/html output; some style and JS may not work in Jupyter
  • TABLE output is converted to simple text/html tables
    • %html table cells are embedded in the table HTML
    • Normal table cells are escaped and then embedded in the table HTML

About

Conversion utility from Zeppelin notes to Jupyter notebooks.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages