notebookx 0.1.0

Fast, lightweight notebook conversion library
Documentation

notebookx - Fast, lightweight notebook conversion library

This library provides a unified representation for Jupyter notebooks and supports conversion between different notebook formats.

Example

use notebookx::{Notebook, Cell, NotebookFormat};

// Create a notebook programmatically
let mut notebook = Notebook::new();
notebook.cells.push(Cell::markdown("# Hello World"));
notebook.cells.push(Cell::code("print('Hello!')"));

// Serialize to ipynb format
let json = NotebookFormat::Ipynb.serialize(&notebook).unwrap();