lcary / nbd Goto Github PK
View Code? Open in Web Editor NEWA lightweight ipython/jupyter notebook diffing tool
License: MIT License
A lightweight ipython/jupyter notebook diffing tool
License: MIT License
Git.show() may exit with a status code of 128 for a variety of reasons, including the creation of new notebooks and renamed notebooks. This means the file exists on disk in the repo, but not in a previous commit.
In cases where the file has been renamed, the DiffGenerator
should catch subprocess.CalledProcessError
exceptions and check if the file has been renamed. There are a few handy git commands to do this, such as:
git log --format='%H' --name-only --follow -- my_notebook.ipynb
The DiffGenerator
or a delegate will have to do some plumbing to get the original filename out of there and check it against the commit a user is diffing against.
Otherwise, DiffGenerator
should assume the user is diffing a new notebook file.
Currently the code is in alpha development mode. That is to say, I'm working out a few bugs (#3). After that, the next order of business is writing unit tests.
Line 47 in a929748
where is the technical blog post explaining this tool
This tool should likely support python3. Hopefully only a few changes necessary to get this working, but this change should probably wait for #2.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.