-
Notifications
You must be signed in to change notification settings - Fork 1
Alternatives
Angus Hollands edited this page May 14, 2021
·
1 revision
- Use of cell tags instead of comments or magics to dictate exports
- Use of
nbconvert
machinery to build the pure-Python lib package - Use of import hooks to import other notebooks
- Maintains a similar programming model to conventional module development
- Reduces the need to modify notebook contents during conversion
- Minimal runtime overhead
- Features like
patch
are removed from the generated module (& imported notebook source) using AST transformations
- Features like
- Currently no documentation generation
- Loosely, the plan is to use existing notebook-book tooling to re-use the existing Jupyter ecosystem
Knuth introduced the tangle
and weave
programs to produce separate documentation and source code for compilation.
Literary differs in treating the notebook as the "ground truth" for documentation + testing, and generating smaller source code for packaging.
Development of Literate notebooks using the IPython extension.
- Setting up the Environment
- Loading the IPython Extension
- Cell Exports
- Patching Classes
- Recommended Extensions
Building packages from a collection of Literate notebooks.