Convert IPYNB to TEI
Turn IPYNB files into TEI. A TEI document with sections, lists, tables, links, footnotes and math; the title, author and date go into its TEI header.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop IPYNB files on the dialor turn it to pick what to do
A notebook as a TEI document.Markdown, code and text outputs stay in order. Plots and raw cells do not come along.
What you get
One TEI file with sections, lists, tables, links, footnotes and math. The title, author and date go into its TEI header.
Every cell comes in the order it has in the notebook. Markdown cells come in as they are. Code cells become code blocks, and text outputs sit below them.
What is left out
Plots keep only their text placeholder, so the image itself is not in the TEI file. Raw cells are dropped.
Notebook metadata is dropped as well.
IPYNB and TEI.What each format is.
The formats
Jupyter Notebook
Jupyter notebooks. Code cells, their outputs and Markdown notes in one JSON file.
- Extensions
- .ipynb
- MIME type
- application
/x -ipynb +json - Kind
- Text and data
TEI XML
Text Encoding Initiative XML, the format scholarly editions and digital humanities archives keep texts in.
- Extensions
- .tei
- MIME type
- application
/tei +xml - Kind
- Text and data
In your code.The same IPYNB to TEI conversion through the API, for your app or your agent.
$ cv convert report.ipynb report.tei$ cv convert report.ipynb report.teiQuestions.What people ask about IPYNB to TEI.
Yes. Each code cell becomes a code block, and its text output is placed below it.
No. A plot keeps only its text placeholder. The picture is not carried over.
Yes. Every cell comes in the order it has in the notebook.
They are dropped. Only Markdown cells, code cells and their text outputs are converted.