NBInclude is a package for the Julia language that allows you to include and execute IJulia (Julia-language Jupyter) notebook files just as you would include an ordinary Julia file. The goal of this package is to make notebook files just as easy to incorporate into Julia programs as ordinary Julia (.jl) files, giving you the advantages of a notebook (integrated code, formatted text, equations, graphics, and other results) while retaining the modularity and re-usability of .jl files.

Features

  • The path of the notebook is relative to the path of the current file (if any), and nested inclusions can use paths relative to the notebook, just as for include
  • In a module, included notebooks work fine with precompilation in Julia (and re-compilation is automatically triggered if the notebook changes)
  • No Python or Jupyter dependency
  • To export to a string, use sprint(nbexport, notebookfile)
  • Markdown cells in the notebook are parsed and formatted as pretty-printed text comments with the help of Julia's Markdown standard library
  • Markdown cells can be ignored by passing markdown=false to nbexport

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow NBInclude.jl

NBInclude.jl Web Site

Other Useful Business Software
Build Securely on AWS with Proven Frameworks Icon
Build Securely on AWS with Proven Frameworks

Lay a foundation for success with Tested Reference Architectures developed by Fortinet’s experts. Learn more in this white paper.

Moving to the cloud brings new challenges. How can you manage a larger attack surface while ensuring great network performance? Turn to Fortinet’s Tested Reference Architectures, blueprints for designing and securing cloud environments built by cybersecurity experts. Learn more and explore use cases in this white paper.
Download Now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of NBInclude.jl!

Additional Project Details

Programming Language

Julia

Related Categories

Julia Data Visualization Software

Registered

2023-12-04