nbcommands
nbcommands copied to clipboard
Unix commands for Jupyter notebooks.
I have been trying to use nbgrep from a jupyter notebook using subprocess but so far no success. Thanks, Fred
Line number and execution count make copying lines harder from terminal when they are inline. Moving them to a line above as a code comment makes it easier to copy...
@vinayak-mehta thanks for handling #9 so quickly! I just upgraded nbcommands, and I think I might have found one more edge case, I hope you don't mind me reporting this...
https://github.com/minrk/ipython_extensions/
Use the parse function from the ansimarkup package to render colored output instead of concatenating escape sequences from the colorama package. En passant, also used the MarkdownLexer to highlight markdown...
``` -B, --before-context=NUM print NUM lines of leading context -A, --after-context=NUM print NUM lines of trailing context -C, --context=NUM print NUM lines of output context ```