Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

common_nb_preprocessors-0.0.10.tar.gz (8.0 kB view hashes)

Uploaded Source

Built Distribution

common_nb_preprocessors-0.0.10-py3-none-any.whl (13.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page