top | item 25165306

(no title)

erikgaas | 5 years ago

So I use this in production at my company. It's an awesome tool. Personally when I'm coding in python I like to prototype in jupyter, copy code over, and then reimport anyway. Nbdev streamlines everything so I can write docs, tests, and code all in one place. And since the docs are just a jekyll site I can copy it to our documentation aws bucket in continuous integration. And with one command I can run all the notebook tests in CI as well.

The packaging is also really well thought out. I don't have to stress out about connecting setup.py with whatever publishing system we have. The settings.ini makes things sane and I can bump the version whenever I want.

A get a lot of skeptical looks when I say the source code is in notebooks, but that's just syntactic sugar for the raw source code. You still get to edit the raw code files and with one command sync everything with the notebooks. From my point of you it is close to a pareto improvement over traditional python library development.

discuss

order

hamelsmu|5 years ago

Really interesting! Do you mind sharing what your company is? (I am the author of the blog post)

erikgaas|5 years ago

I work for Lyft's self driving car division, Level 5! Nbdev has been great. I use it a lot. Thank you for all of the work you've put into it!

JPKab|5 years ago

I also use this for a work project. My experience has been incredibly similar, particularly with the wall of skepticism I get from people regarding their opinions on notebooks. It's the main barrier I have in getting others on board. That presentation a few years ago hating on notebooks has really penetrated.