Date: Mon, 01 Feb 2021 21:00:00 -0500
<div class="wp-block-jetpack-markdown"><h3>Summary</h3> <p>Creating well designed software is largely a problem of context and understanding. The majority of programming environments rely on documentation, tests, and code being logically separated despite being contextually linked. In order to weave all of these concerns together there have been many efforts to create a literate programming environment. In this episode Jeremy Howard of fast.ai fame and Hamel Husain of GitHub share the work they have done on nbdev. The explain how it allows you to weave together documentation, code, and tests in the same context so that it is more natural to explore and build understanding when working on a project. It is built on top of the Jupyter environment, allowing you to take advantage of the other great elements of that ecosystem, and it provides a number of excellent out of the box features to reduce the friction in adopting good project hygiene, including continuous integration and well designed documentation sites. Regardless of whether you have been programming for 5 days, 5 years, or 5 decades you should take a look at nbdev to experience a different way of looking at your code.</p> <h3>Announcements</h3> <ul> <li>Hello and welcome to Podcast.__init__, the podcast about Python and the people who make it great.</li> <li>When you’re ready to launch your next app or want to try a project you hear about on the show, you’ll need somewhere to deploy it, so take a look at our friends over at Linode. With the launch of their managed Kubernetes platform it’s easy to get started with the next generation of deployment and scaling, powered by the battle tested Linode platform, including simple pricing, node balancers, 40Gbit networking, dedicated CPU and GPU instances, and worldwide data centers. Go to <a href="https://www.pythonpodcast.com/linode?utm_source=rss&utm_medium=rss">pythonpodcast.com/linode</a> and get a $100 credit to try out a Kubernetes cluster of your own. And don’t forget to thank them for their continued support of this show!</li> <li>Your host as usual is Tobias Macey and today I’m interviewing Jeremy Howard and Hamel Husain about nbdev, a library for turning Jupyter notebooks into Python libraries.</li> </ul> <h3>Interview</h3> <ul> <li>Introductions</li> <li>How did you get introduced to Python?</li> <li>Can you start by describing what nbdev is and the goals of the project? <ul> <li>What is the story behind how and why it got started?</li> </ul> </li> <li>Who is the target audience for the nbdev project? <ul> <li>How does that focus influence the features and design of nbdev?</li> </ul> </li> <li>What do you see as the primary challenges of building and collaborating on projects written in notebooks?</li> <li>What are some of the other projects that are working to simplify or improve the experience of using notebooks? <ul> <li>How does nbdev compare to or complement those other tools?</li> </ul> </li> <li>Can you describe how nbdev is implemented? <ul> <li>How has the design and goals of the project evolved since it was first started?</li> </ul> </li> <li>What is the workflow of someone who is using nbdev? <ul> <li>At what point in the lifecycle of a notebook oriented project should someone start integrating nbdev?</li> </ul> </li> <li>How does nbdev scale when working on a project that spans multiple notebooks/modules?</li> <li>How does working in a notebook environment change your approach to software development and project design?</li> <li>What are the most interesting, innovative, or unexpected ways that you have seen nbdev used?</li> <li>What are the most interesting, unexpected, or challenging lessons that you have learned from working on nbdev?</li> <li>When is nbdev the wrong choice?</li> <li>What do you have planned for the future of the project?</li> </ul> <h3>Keep In Touch</h3> <ul> <li>Jeremy <ul> <li><a href="https://www.linkedin.com/in/howardjeremy/?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">LinkedIn</a></li> <li><a href="https://twitter.com/jeremyphoward?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">@jeremyphoward</a> on Twitter</li> <li><a href="https://github.com/jph00?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">jph00</a> on GitHub</li> </ul> </li> <li>Hamel <ul> <li><a href="https://github.com/hamelsmu?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">hamelsmu</a> on GitHub</li> <li><a href="https://hamel.dev/?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Website</a></li> <li><a href="https://twitter.com/HamelHusain?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">@HamelHusain</a> on Twitter</li> <li><a href="https://www.linkedin.com/in/hamelhusain/?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">LinkedIn</a></li> </ul> </li> </ul> <h3>Picks</h3> <ul> <li>Tobias <ul> <li><a href="https://www.audible.com/series/Rivals-Audiobooks/B07S6SDQB6?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Rivals! Frenemies Who Changed The World</a></li> </ul> </li> <li>Jeremy <ul> <li><a href="https://en.wikipedia.org/wiki/Chess?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Chess</a></li> </ul> </li> <li>Hamel <ul> <li><a href="https://amzn.to/2NGuLMS?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Moonwalking With Einstein</a> by Joshua Foer (affiliate link)</li> </ul> </li> </ul> <h3>Closing Announcements</h3> <ul> <li>Thank you for listening! Don’t forget to check out our other show, the <a href="https://feeds.fireside.fm/pythonpodcast/rss">Data Engineering Podcast</a> for the latest on modern data management.</li> <li>Visit the <a href="https://www.pythonpodcast.com?utm_source=rss&utm_medium=rss">site</a> to subscribe to the show, sign up for the mailing list, and read the show notes.</li> <li>If you’ve learned something or tried out a project from the show then tell us about it! Email <a href="mailto:hosts@podcastinit.com">hosts@podcastinit.com</a>) with your story.</li> <li>To help other people find the show please leave a review on <a href="https://itunes.apple.com/us/podcast/podcast.-init/id981834425?mt=2&uo=6&at=&ct=&utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">iTunes</a> and tell your friends and co-workers</li> <li>Join the community in the new Zulip chat workspace at <a href="https://www.pythonpodcast.com/chat?utm_source=rss&utm_medium=rss">pythonpodcast.com/chat</a></li> </ul> <h3>Links</h3> <ul> <li><a href="https://nbdev.fast.ai/?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">nbdev</a></li> <li><a href="https://www.fast.ai/?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">fast.ai</a></li> <li><a href="https://github.com/?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">GitHub</a></li> <li><a href="https://www.perl.org/?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Perl</a></li> <li><a href="https://www.fastmail.com/?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Fastmail</a></li> <li><a href="https://rstudio.com/?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">R Studio</a></li> <li><a href="https://rmarkdown.rstudio.com/?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">R Markdown</a></li> <li><a href="https://en.wikipedia.org/wiki/Literate_programming?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Literate Programming</a></li> <li><a href="https://fastcore.fast.ai/?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">fastcore</a></li> <li><a href="https://jupyterlab.readthedocs.io/en/stable/?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">JupyterLab</a></li> <li><a href="https://nteract.io/?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">nteract</a></li> <li><a href="https://github.com/voila-dashboards/voila?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Jupyter VoilĂ </a></li> <li><a href="https://docs.github.com/en/actions?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">GitHub Actions</a></li> <li><a href="https://www.sphinx-doc.org/en/master/?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Sphinx</a></li> <li><a href="https://colab.research.google.com/notebooks/intro.ipynb?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Google Colab</a></li> <li><a href="https://amzn.to/36lJG5N?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Working In Public</a> by Nadia Eghbal (affiliate link)</li> <li><a href="https://jekyllrb.com/?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Jekyll</a></li> <li><a href="https://gohugo.io/?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Hugo</a></li> <li><a href="https://cython.org/?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Cython</a> <ul> <li><a href="https://www.pythonpodcast.com/episode-45-cython-with-craig-citro-and-robert-bradshaw/?utm_source=rss&utm_medium=rss">Podcast Episode</a></li> </ul> </li> </ul> <p>The intro and outro music is from Requiem for a Fish <a href="http://freemusicarchive.org/music/The_Freak_Fandango_Orchestra/?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">The Freak Fandango Orchestra</a> / <a href="http://creativecommons.org/licenses/by-sa/3.0/?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">CC BY-SA</a></p> </div> <img alt="" height="0" src="https://analytics.boundlessnotions.com/piwik.php?idsite=1&rec=1&url=https%3A%2F%2Fwww.pythonpodcast.com%2Fnbdev-literate-programming-episode-300%2F&action_name=Exploring+Literate+Programming+For+Python+Projects+With+nbdev+-+Episode+300&urlref=https%3A%2F%2Fwww.pythonpodcast.com%2Ffeed%2F&utm_source=rss&utm_medium=rss" style="border: 0; width: 0; height: 0;" width="0" />