ileasile / jupyter-notebooks-parser

Kotlin parser for Jupyter notebooks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Jupyter Notebooks Parser

JetBrains incubator project Kotlin Maven Central version GitHub License

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")
}

About

Kotlin parser for Jupyter notebooks

License:Apache License 2.0


Languages

Language:Jupyter Notebook 99.6%Language:Kotlin 0.4%