Inject metadata directly into jupyter notebook cells via _magic_ comments.
Project description
Common Jupyter Notebook Preprocessors
This repository contains a personal collection of common notebook preprocessors.
As of writing, the most relevant function is probably:
common_nb_preprocessors.metadata_injector.jupyter_book_metadata_injector
This function can be used to automatically inject JupyterBook specific tags into code-cells by using magical comments. Set the function in the nb_custom_formats entry:
sphinx:
config:
nb_custom_formats:
.ipynb:
- common_nb_preprocessors.metadata_injector.jupyter_book_metadata_injector
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for common_nb_preprocessors-0.0.10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3223e7bfbb0e0e3afa7e6b927b5e321777db2f261d9177c3eea884e8a687abce |
|
MD5 | 242f41b78eb1a63b8ea9cf13a5f2ed5d |
|
BLAKE2b-256 | 992d4071acd460e194693827fc9cec0f27213839269b1811402083e6fe27e3d6 |
Close
Hashes for common_nb_preprocessors-0.0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b489189eebb628a549b1a223f8303fe5343ed498ced0eb46251bb077d7e6b324 |
|
MD5 | 050d84b6cf2f479b0b77fdca196fe6e4 |
|
BLAKE2b-256 | 1d40e02091d83eb632d16c3414e53565b59b10e9a0ce0767010553341362af77 |