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
Nbterm: Jupyter Notebooks in the Terminal
21–30 of 76 posts
Re: Nbterm: Jupyter Notebooks in the Terminal
#22Ok, 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
I used to use a matplotlib backend that worked with ITerm2 for coding in a remote server (standard technique, that I also cover in my Hy language book). Adding Nbterm would also be useful. Off topic, but it is sometimes just (much) better to do development on a remote server with much more compute and faster Internet connections.
Re: Nbterm: Jupyter Notebooks in the Terminal
#23Re: Nbterm: Jupyter Notebooks in the Terminal
#24Re: Nbterm: Jupyter Notebooks in the Terminal
#25Very 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!
Re: Nbterm: Jupyter Notebooks in the Terminal
#26Ok, 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
Edit: The issue is using a new environment without ipykernel installed (not a dependency of the conda package). With ipykernel, I can exit nbterm and even evaluate cells
Re: Nbterm: Jupyter Notebooks in the Terminal
#27Earlier quoted context omitted.
The project's README might help. https://github.com/davidbrochart/nbterm
Thanks, just what I was looking for. I used to use a matplotlib backend that worked with ITerm2 for coding in a remote server (standard technique, that I also cover in my Hy language book). Adding Nbterm would also be useful. Off topic, but it is sometimes just (much) better to do development on a remote server with much more compute and faster Internet connections.
Re: Nbterm: Jupyter Notebooks in the Terminal
#28Earlier quoted context omitted.
Thanks, just what I was looking for. I used to use a matplotlib backend that worked with ITerm2 for coding in a remote server (standard technique, that I also cover in my Hy language book). Adding Nbterm would also be useful. Off topic, but it is sometimes just (much) better to do development on a remote server with much more compute and faster Internet connections.
I'm curious, what version of Hy are you targeting in your book?
I don’t generally install from the GitHub repo. I know that Hy is no big deal, just a Lisp skin on top of Python, but I really enjoy using it. Hy is an example of “done” software: it was written years ago, and just does what it is meant to. I have noticed comments on Reddit about Hy not being actively maintained, but as I said, it is “done.”
Re: Nbterm: Jupyter Notebooks in the Terminal
#29We've come full circle
Re: Nbterm: Jupyter Notebooks in the Terminal
#30Alright. Now get rid of the stupid ipynb format and store the notebooks as God intended (runnable Python files with comments).
But presentations would be less glossy and look like less work ...