Live data from Hacker News

Nbterm: Jupyter Notebooks in the Terminal

blog.jupyter.org

11–20 of 76 posts

Re: Nbterm: Jupyter Notebooks in the Terminal

#12

The web interface was the main reason I never really used the tool for more than a few test runs. Writing code in the browser combines bad usability and performance with a lack of useful dev tools. Which brings me to the question whether I can edit the code in a text editor as well or I have to write it as shown in the animation. It would be really helpful if there was a shortcut to open the current (code) section in…

Use the qt-console, best of both worlds.

Re: Nbterm: Jupyter Notebooks in the Terminal

#17

Ok, I failed in basic usage: Entering nbterm, I assumed some standard key bindings -- None seemed to work. Neither Ctrl-C, Ctrl-D, Ctrl-x ctrl-c, escape q, escape :q, ... seems to work. So off to google: Escape Ctrl-q should work. But does not. Ok I'm stuck, let's at least get 1+1 to work. So entering 1+1 and .. hitting Enter? Shift Enter? No. Ok, command mode, Ctrl E.. aaaaand it's stuck. Looks nice but I just don't…

The project's README might help.

https://github.com/davidbrochart/nbterm

Re: Nbterm: Jupyter Notebooks in the Terminal

#18
Very cool to see this – but will only be successful with great terminal plotting tools. The ones the author mentions like the matplotlib interface clearly won't do[0] due to lack of resolution

A perfect use case for unicode plotting [1] (shameless plug)

[0] https://github.com/domitry/matascii

[1] https://github.com/olavolav/uniplot

Re: Nbterm: Jupyter Notebooks in the Terminal

#19
post #5

VS Code has been making progress to support Jupyter notebooks ( https://code.visualstudio.com/docs/python/jupyter-support ), but it's not quite there yet. Code completion works, but other features such as user snippets are missing, and it can be quite laggy. Apparently that's because the VS Code team has to reimplement a lot of stuff for Jupyter specifically (compared to adding support for Rust or Go with a language…

VSCode Insiders has huge improvements in this area. I switched to Insiders specifically for this and it’s great. You get linting, auto-formatting, vim-mode keyboard input, and even git diff for .ipynb. I don’t run Jupyter’s browser UI at all now.

Re: Nbterm: Jupyter Notebooks in the Terminal

#20

Very cool to see this – but will only be successful with great terminal plotting tools. The ones the author mentions like the matplotlib interface clearly won't do[0] due to lack of resolution A perfect use case for unicode plotting [1] (shameless plug) [0] https://github.com/domitry/matascii [1] https://github.com/olavolav/uniplot

The shameless plug is well justified. uniplot is seriously impressive!
Post reply on HN