Live data from Hacker News

Nbdev: A literate programming environment that democratizes best practices

github.blog

1–10 of 88 posts

Re: Nbdev: A literate programming environment that democratizes best practices

#2
This is really exciting! I've been building a data engineering practice around jupyter notebooks, Netflix's papermill, and k8s cronjobs for scheduling, and it's been great...except for code review, weird dependency/virtualenv glitches, tests, and documentation.

At first glance, this seems like it would address all of my pain points? Will be interesting to try it out.

Re: Nbdev: A literate programming environment that democratizes best practices

#3
The author writes

> we decided to assist fastai in their development of a new, literate programming environment for Python, called nbdev.

but this is followed by:

> nbdev builds on top of Jupyter notebooks to fill these gaps and provides the following features

is it a new environment, or is it an extended Jupyter Notebook? It looks like Jupyter Notebook to me. Why not Jupyter Lab?

> JupyterLab: Jupyter’s Next-Generation Notebook Interface https://jupyter.org

Re: Nbdev: A literate programming environment that democratizes best practices

#4
Has anyone from a SE background used this? I come from data science so I and peers use Jupiter notebooks for everything. I've never used a proper IDE so I wouldn't have anything to compare it to. But I need to start wrangling in people's notebooks and am hoping nbdev does the trick.

Re: Nbdev: A literate programming environment that democratizes best practices

#6
post #3

The author writes > we decided to assist fastai in their development of a new, literate programming environment for Python, called nbdev. but this is followed by: > nbdev builds on top of Jupyter notebooks to fill these gaps and provides the following features is it a new environment, or is it an extended Jupyter Notebook? It looks like Jupyter Notebook to me. Why not Jupyter Lab? > JupyterLab: Jupyter’s Next-Generat…

for background, the original author of nbdev has a good post outlining exactly how it relates to jupyter -

https://www.fast.ai/2019/12/02/nbdev/

Re: Nbdev: A literate programming environment that democratizes best practices

#7
post #3

The author writes > we decided to assist fastai in their development of a new, literate programming environment for Python, called nbdev. but this is followed by: > nbdev builds on top of Jupyter notebooks to fill these gaps and provides the following features is it a new environment, or is it an extended Jupyter Notebook? It looks like Jupyter Notebook to me. Why not Jupyter Lab? > JupyterLab: Jupyter’s Next-Generat…

Guessing at plausible answers:

- Nbdev started right around the 1.0 release of jupyterlab, and it might not have been on their radar

- Nbdev came out of fast.ai, and I wouldn't be surprised if they were using a ton of jupyter-specific features already which weren't supported by jupyterlab

Re: Nbdev: A literate programming environment that democratizes best practices

#8
post #4

Has anyone from a SE background used this? I come from data science so I and peers use Jupiter notebooks for everything. I've never used a proper IDE so I wouldn't have anything to compare it to. But I need to start wrangling in people's notebooks and am hoping nbdev does the trick.

I've done both. I haven't used nbdev, but it looks like it addresses many of the drawbacks notebooks have, from a software-development perspective.

Re: Nbdev: A literate programming environment that democratizes best practices

#9
post #3

The author writes > we decided to assist fastai in their development of a new, literate programming environment for Python, called nbdev. but this is followed by: > nbdev builds on top of Jupyter notebooks to fill these gaps and provides the following features is it a new environment, or is it an extended Jupyter Notebook? It looks like Jupyter Notebook to me. Why not Jupyter Lab? > JupyterLab: Jupyter’s Next-Generat…

>is it a new environment, or is it an extended Jupyter Notebook? It looks like Jupyter Notebook to me. Why not Jupyter Lab?

Neither? It doesn't change the features of jupyter notebooks, and its not an improved/expanded UI like jupyter lab (you could use nbdev with jupyter lab). Its utilities and automation to make package/library development a better experience if jupyter is where you write your code.

From https://github.com/fastai/nbdev:

"nbdev is a library that allows you to develop a python library in Jupyter Notebooks, putting all your code, tests and documentation in one place."

Re: Nbdev: A literate programming environment that democratizes best practices

#10
post #9
post #3

The author writes > we decided to assist fastai in their development of a new, literate programming environment for Python, called nbdev. but this is followed by: > nbdev builds on top of Jupyter notebooks to fill these gaps and provides the following features is it a new environment, or is it an extended Jupyter Notebook? It looks like Jupyter Notebook to me. Why not Jupyter Lab? > JupyterLab: Jupyter’s Next-Generat…

>is it a new environment, or is it an extended Jupyter Notebook? It looks like Jupyter Notebook to me. Why not Jupyter Lab? Neither? It doesn't change the features of jupyter notebooks, and its not an improved/expanded UI like jupyter lab (you could use nbdev with jupyter lab). Its utilities and automation to make package/library development a better experience if jupyter is where you write your code. From https://gi…

Sure, but the OP link that I'm commenting on says it's a "new literate programming environment". Based on what you're quoting, the OP article is incorrect and needs correcting?
Post reply on HN