epsman.repo.nbHeaderPost module

epsman

Local python script for Notebook header read & write.

Can be called from Fabric for remote run case, only requires standard libs + nbformat for notebook IO.

May be a better way to do this?

16/12/19 v1

TO DO: - Loop over list of local files? Currently need to call per file.

epsman.repo.nbHeaderPost.constructFooter(jobInfo, fileIn, datasetName, doi=None)[source]
epsman.repo.nbHeaderPost.constructHeader(jobInfo, fileIn, title, doi=None)[source]
epsman.repo.nbHeaderPost.getInfo(inputNB)[source]
epsman.repo.nbHeaderPost.writeFooter(inputNB, sourceText)[source]
epsman.repo.nbHeaderPost.writeHeader(inputNB, sourceText)[source]
epsman.repo.nbHeaderPost.writeReadme(sourceTextHead, sourceTextFoot)[source]