Crate venus_sync

Crate venus_sync 

Source
Expand description

Sync engine for Venus notebooks.

Converts between .rs Venus notebooks and .ipynb Jupyter format.

§Architecture

notebook.rs ─────► RsParser ─────► CellsWithMeta ─────► IpynbGenerator ─────► notebook.ipynb
                                          │
                                          ▼
                                    OutputCache
                                   (.venus/outputs/)

Structs§

IpynbGenerator
Generator for Jupyter notebooks from Venus cells.
JupyterNotebook
A Jupyter notebook.
NotebookCell
A cell extracted from the notebook.
NotebookMetadata
Metadata extracted from the notebook header.
OutputCache
Cache for cell outputs.
RsParser
Parser for .rs Venus notebooks.

Enums§

SyncError
Errors that can occur during sync operations.

Functions§

default_ipynb_path
Get the default .ipynb path for a .rs notebook.
sync_to_ipynb
Sync a .rs notebook to .ipynb format.

Type Aliases§

SyncResult
Result type for sync operations.