3 ms·
A from-scratch rewrite of nbdev was released today -- details on what's new are in the launch post: https://www.fast.ai/2022/07/28/nbdev-v2/ https://www.fast.a
by jph00 4y ago
A from-scratch rewrite of nbdev was released today -- details on what's new are in the launch post:
https://www.fast.ai/2022/07/28/nbdev-v2/ https://www.fast.ai/2022/07/28/nbdev-v2/
Let me know if you have any questions or comments -- I'm the lead dev on the project. (If you're in the "I don't like notebooks" camp, please watch this first: https://www.youtube.com/watch?v=9Q6sLbz37gk https://www.youtube.com/watch?v=9Q6sLbz37gk )
- RosanaAnaDana 4y agoive been a colab and deepnote uswr for a while, especially deepnote foe collaborative work. how much is this focused on collaboration?
- jph00 4y agoIt's not focused on collaboration, but it does add some critical pieces that otherwise make Jupyter development frustrating when working with a team. Specifically: `nbdev_prepare` ensures that diffs are as small as possible, by removing and standardising notebook metadata; and `nbdev_fix` fixes merge conflicts so that they are cell-level, rather than line level, so they can be opened and fixed in notebooks. Something else we've found helpful for collaboration (not associated - just happy users) is this: https://www.reviewnb.com/ https://www.reviewnb.com/ . It means we can get a nice notebook-based PR workflow. Real-time collaboration is available in Jupyter nowadays: https://jupyterlab.readthedocs.io/en/stable/user/rtc.html https://jupyterlab.readthedocs.io/en/stable/user/rtc.html . nbdev doesn't have any extra functionality for it, however -- but it should work fine in this environment.
- pfd1986 4y agoThanks Jeremy et al for a great piece of software. I have used nbdev numerous times to introduce data scientists to good practices in software development. Getting them to go from zero to a well tested, documented, CI/CD-ready code in an hour and seeing their faces light up always brings me joy. Keep up the great work.
- kfor 4y agoWhen 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!
- jph00 4y agoFrankly 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.
- kfor 4y agoThanks, I’ll give it a shot sometime and share whatever I figure out