Share your nbdev project 📜

Show us what you created using nbdev! :smiley: Please feel free to ask questions about how people customized their packages, dev workflows, docs sites, etc – and share your own customizations too.

For Quarto projects, check out the corresponding Quarto topic.

2 Likes

I’ll start :slight_smile:

Of course, nbdev (docs) itself is written using nbdev – including the fancy landing page! It’s all open source, and we often use cutting edge features from both nbdev and Quarto, so the source is a useful place to learn about both.

I’ve also created a couple small exploratory projects using nbdev. Since its so easy to setup a new project, I use it as a sandbox to test new ideas:

  • fastdaemon (docs): Host a tiny socketserver to speed up repeated runs of the same Python script. This was my attempt at implementing an idea of Jeremy’s. Pretty cool educational project to attempt yourself since it brings together a bunch of useful & interesting software tools and Python standard libraries like: sockets, socketserver, threading, and parallel processing.
  • nbdev-sqlite-utils (docs): Port of some of the docs of Simon Willison’s sqlite-utils package. I noticed that their docs looked a lot like a notebook, so made an attempt to see what it would look like in nbdev. I think it was a positive experiment! There’s also a tiny restructured text to ipynb converter.
  • sketch-tmpdir (docs): Sketch of a tempdir interface better suited to notebook-driven development. The standard library’s context manager approach doesn’t work well since you can’t split it across cells.
7 Likes

Wait for me. Im building it :yum: (chemistry, material science and physics projects)

4 Likes

I created a larger version of the Movie Lense recommender that functions within the blog automatically via gradio created in github pages.
Try it out HERE

3 Likes

I work with geospatial data, so I’ve made this package (name change might come) to put together things I usually have to do, like

  • Mosaicking and demosaicking
  • Converting shapefiles/geojsons/etc to raster data for semantic segmentation
  • Converting shapefiles/geojsons/etc to COCO-format
  • Custom dataloaders/TensorImages for multispectral/hyperspectral images
7 Likes

Nice work Janne!

1 Like

Here is a nbdev documentation only GPT-3 starter example.

Note: It took me a while to realize I had to get rid of all #| export lines I had originally added

3 Likes

Everyone has great projects.

Mine is not impressive at all.
I am still learning Python and software development, so I’m not sure what to create, yet.

But at least this is a starting point.

5 Likes

@galopy your ghost vs. aliens blog post is pretty cool! This is where it starts, keep it up!

4 Likes

Thank you! I will!

3 Likes

I created DS Blocks based on nbdev, please check it here:

The objective of this library is to facilitate writing modular, compact, and decoupled data science pipelines, while getting rid of boiler-plate associated with common operations such as chekpointing, profiling, data conversion, and other functionalities. In particular, it also contains extensions to nbdev that allow to build a test suite to be consumed by pytest, as explained here:

and to freeze and unfreeze code cells to avoid re-running them, while preserving their outputs.

2 Likes

Started a TIL blog, it utilizes Code Notes to privide the explanation more than the text in the notebook so that code can be copied and glanced at quickly :slight_smile:

https://muellerzr.github.io/til

3 Likes