scons2jupyter is a simple script that converts a Madagascar-style SConstruct file to a Jupyter notebook with a Python interface.
You can use it by simply running
scons2jupyter < SConstruct > mynotebook.ipynb
An example notebook is the result of running scons2jupyter in bei/vela/vscan.
A newly created notebook can be populated with Markdown text and explanations to implement the discipline of literate programmins.