A simple command-line notebook application in Python