Live data from Hacker News

Nbdev: Create delightful software with Jupyter Notebooks

nbdev.fast.ai

21–25 of 25 posts

Re: Nbdev: Create delightful software with Jupyter Notebooks

#21

This looks great! I'm curious though if there are ways to get a bit more control over page layout. For example, can you put three charts on one page and have them resize appropriately? Or put two charts next to each other (without relying on the charting library itself)? This functionality is pretty important for our use case, but I've been assuming that notebook-style formats, when they output to pdfs or a printed p…

This kind of thing is coming soon. This is something that will work with shiny for python [1] which will be integrated with Quarto (which nbdev is built on top of). When its more stable, this is something we will look into integrating.

In the meantime, the home page for nbdev https://nbdev.fast.ai/ is built with a notebook, and as you can see it is reactive and resizes appropriately. You could follow this example to do something if you wanted to do something today.

[1] https://shiny.rstudio.com/py/

Re: Nbdev: Create delightful software with Jupyter Notebooks

#22
post #17

I love working with notebooks but hate the .ipynb file format with the burning passion of a thousand suns. For those of you who are similarly affected, you may want to try jupytext. It is a tiny package that converts threeway between ipynb, plain python files (whose comment blocks are interpreted as markdown cells) and plain markdown files (whose code blocks are interpreted as code cells). Moreover, if you have jupyt…

That’s the entire point of quarto. https://quarto.org/

Recently played around with Quarto in VSCode the other day and was surprised at how nice it is for a (seemingly) immature product.

Re: Nbdev: Create delightful software with Jupyter Notebooks

#23
post #17

Earlier quoted context omitted.

That’s the entire point of quarto. https://quarto.org/

Recently played around with Quarto in VSCode the other day and was surprised at how nice it is for a (seemingly) immature product.

How does one use Quarto in VSCode?

Re: Nbdev: Create delightful software with Jupyter Notebooks

#24

Earlier quoted context omitted.

Recently played around with Quarto in VSCode the other day and was surprised at how nice it is for a (seemingly) immature product.

How does one use Quarto in VSCode?

They have an extension that watches a qmd file for changes and regenerates the preview, while also integrating with the language-specific extensions so that you can continue to get intellisense, run code cells, etc despite the file's language being Quarto and not (say) Python.

Re: Nbdev: Create delightful software with Jupyter Notebooks

#25
post #10
post #9

Earlier quoted context omitted.

When I looked into it a couple years ago, it was possible to configure nbdev to use e.g. GitLab instead of GitHub for those of us who can't use GitHub for whatever reason. Is this still possible with the rewrite? Any major things we'd be missing out on? And thanks for putting together such an awesome resource, I'm excited to try kicking the tires on it again!

Frankly it's not something I've been working on -- the GitLab support in v1 was added and maintained by the community. I certainly want it to work (even although I'm not a GitLab user myself), so if you try it and find it doesn't, please send us PRs/Issues if you can.

Thanks, I’ll give it a shot sometime and share whatever I figure out
Post reply on HN