
Parses Jupyter Notebook files into POJOs using JSON serialization, enabling reading, manipulating and saving .ipynb notebook models with a simple parse/save API.
Deprecation notice (February 2, 2026)
This repository is deprecated. Further development has moved to the notebook integrations monorepo: https://github.com/Kotlin/kotlin-notebook-integrations
Please file new issues and pull requests in the monorepo. This repository is kept for historical reference only and is not actively maintained.
This library simply parses Jupyter Notebook files into POJOs using kotlinx.serialization.
Usage:
import org.jetbrains.jupyter.parser.JupyterParser
import java.io.File
val notebook = JupyterParser.parse(File("notebook.ipynb"))
JupyterParser.save(notebook, File("newNotebook.ipynb"))Set it up with Gradle:
dependencies {
implementation("org.jetbrains.kotlinx:jupyter-notebooks-parser:0.1.0-dev-1")
}Deprecation notice (February 2, 2026)
This repository is deprecated. Further development has moved to the notebook integrations monorepo: https://github.com/Kotlin/kotlin-notebook-integrations
Please file new issues and pull requests in the monorepo. This repository is kept for historical reference only and is not actively maintained.
This library simply parses Jupyter Notebook files into POJOs using kotlinx.serialization.
Usage:
import org.jetbrains.jupyter.parser.JupyterParser
import java.io.File
val notebook = JupyterParser.parse(File("notebook.ipynb"))
JupyterParser.save(notebook, File("newNotebook.ipynb"))Set it up with Gradle:
dependencies {
implementation("org.jetbrains.kotlinx:jupyter-notebooks-parser:0.1.0-dev-1")
}