Showing model to production in notebook with nbdev

Hi all, I wanted to post a link to my latest article that is a discussion of how I used nbdev to deploy a REST endpoint to a production server, all from the jupyter notebook. Before nbdev, I had a manual step at the end of my prototyping to move my code from the jupyter notebook to proper python modules. This led to several problems.

  1. The system of record for code was different between the prototyping/testing environment and the production environment so the notebook and the module were constantly out of sync.
  2. It took longer to iterate

So having nbdev in the loop enabled me to leave the system of record for the code in the notebook so now when I want to iterate the project, I just edit the notebooks and the CI/CD process takes care of the rest.