| Safe Haskell | None |
|---|---|
| Language | GHC2024 |
Drasil.Data.Formats.Jupyter.Core
Synopsis
- data Notebook = Notebook NotebookMetadata [Cell]
- data Cell
- type Metadata = [(Text, JSON)]
- data NotebookMetadata = NotebookMetadata {}
- data KernelSpec = KernelSpec {}
- data LanguageInfo = LanguageInfo {}
- defaultPython39Metadata :: NotebookMetadata
Documentation
A new notebook containing ordered cells and document metadata.
Constructors
| Notebook | |
Fields
| |
A Markdown cell or an unexecuted code cell.
Constructors
| MarkdownCell | |
| CodeCell | |
data NotebookMetadata Source #
Notebook kernel and language information.
Constructors
| NotebookMetadata | |
Fields | |
Instances
| Show NotebookMetadata Source # | |
Defined in Drasil.Data.Formats.Jupyter.Core Methods showsPrec :: Int -> NotebookMetadata -> ShowS # show :: NotebookMetadata -> String # showList :: [NotebookMetadata] -> ShowS # | |
| Eq NotebookMetadata Source # | |
Defined in Drasil.Data.Formats.Jupyter.Core Methods (==) :: NotebookMetadata -> NotebookMetadata -> Bool # (/=) :: NotebookMetadata -> NotebookMetadata -> Bool # | |
data KernelSpec Source #
The kernel used to execute a notebook.
Constructors
| KernelSpec | |
Fields
| |
Instances
| Show KernelSpec Source # | |
Defined in Drasil.Data.Formats.Jupyter.Core Methods showsPrec :: Int -> KernelSpec -> ShowS # show :: KernelSpec -> String # showList :: [KernelSpec] -> ShowS # | |
| Eq KernelSpec Source # | |
Defined in Drasil.Data.Formats.Jupyter.Core | |
data LanguageInfo Source #
Notebook language information.
Constructors
| LanguageInfo | |
Fields | |
Instances
| Show LanguageInfo Source # | |
Defined in Drasil.Data.Formats.Jupyter.Core Methods showsPrec :: Int -> LanguageInfo -> ShowS # show :: LanguageInfo -> String # showList :: [LanguageInfo] -> ShowS # | |
| Eq LanguageInfo Source # | |
Defined in Drasil.Data.Formats.Jupyter.Core | |
defaultPython39Metadata :: NotebookMetadata Source #
Python 3.9.1 metadata used by the current notebook generators.