jupytext.vim
jupyter
jupytext.vim | jupyter | |
---|---|---|
4 | 31 | |
294 | 896 | |
- | 1.1% | |
4.4 | 7.6 | |
7 months ago | 16 days ago | |
Vim Script | Emacs Lisp | |
MIT License | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
jupytext.vim
-
Edit notebooks in Google cloud
I tried plugins like jupytext.vim but it was not enough mature in these old times :-)
-
Jupyter Notebooks in NeoVim. Any good way?
You can also use jupytext.vim to easily open and edit notebooks. Then you can use a REPL program to evaluate the different cells individually. The only downside to me is that you can’t save the output back to the notebook (images etc.).
-
jupyter and vim
Editing *.ipynb files can also be edited with jupytext.vim, which automatically converts *.ipynb files using jupytext which you open them in Vim. I haven't tried this yet (it's on my todo list), but it looks pretty solid.
-
Nbterm: Jupyter Notebooks in the Terminal
For editing notebooks in vim, I've created https://github.com/goerz/jupytext.vim. Note that this does not allow to run any cells, it just edits the inputs.
The motivation behind this was to have some basic interaction with existing ipynb files on a remote server without having to run the jupyter server (and set up port forwarding etc.) It's worth noting that the `jupytext.vim plugin is most useful if you're actually not running `jupytext` within jupyter; If you are, you could just directly open the .py or .md files linked to any .ipynb in your editor.
I've used `jupytext.vim` to edit existing notebooks and then run them through `jupyter nbconvert --to notebook --execute`. It's also great for refactoring: moving code from a notebook files into a module, between notebooks, or to create a new notebook as a variation of an existing one.
jupyter
-
IPython and :results output is too verbose
For ipython, you'd better use some more specialized package like https://github.com/emacs-jupyter/jupyter, not the generic python support.
- Ask HN: Why don't other languages have Jupyter style notebooks?
-
Does anyone have a solution for displaying plotly plots in org mode?
I have seen this thread, but I don't want to have to put an extra source block to set the renderers in every org file where I use plotly. Does anyone have a good solution for the moment? Any help is appreciated.
-
Bounty on ein package startup times
Should no one take you up on the bounty, I suggest trying emacs-jupyter instead. I've had better luck with it in the past.
-
Replace Jupyter with Emacs Org Mode: Unleash the Power of Literate Programming
For anybody following along with the examples, a few points/tips that might help newcomers:
1. (By default) before you can use Python source blocks, you need to have the Org Babel Python functionality loaded which is most easily done by evaluating the elisp (require 'ob-babel), but there are other ways also [1].
2. The first example, which uses the print function, will not output anything because the Python blocks by default are evaluated inside a function body and the return value is returned to Org [2]. To return the printed output instead, you need the header argument ":results output". There is an example of this syntax later in TFA.
3. If you are serious about replacing (or complementing) other Jupyter tools with Org mode, you might want to eventually look at emacs-jupyter [3], which provides a more advanced handling of outputs and also supports other (i.e. non-Python) kernels.
Also, I don't think I've ever seen anything like the debugging example and when I tried to replicate it out of curiosity, the block simply failed with a bdb.BdbQuit exception. Am I missing something? What is supposed to happen?
[1] https://orgmode.org/manual/Languages.html
[2] https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-...
[3] https://github.com/nnicandro/emacs-jupyter
- Replace Jupyter Notebook With Emacs Org Mode
-
For Julia is there some thing like VSCode's python interactive window?
Emacs, Sublime Text 3 and Atom Pulsar can all do this with arbitrary Jupyter kernels with the emacs-jupyter/code-cells, helium and hydrogen packages, respectively.
-
Is org-mode an adequate replacement for Jupyter Notebook/rmarkdown for literate programming?
You can use emacs as a jupyter client if that would help in your case https://github.com/nnicandro/emacs-jupyter
-
Switched to VSCode... I miss Atom :(
I've been using code-cells together with emacs-jupyter, the combination of the two lets you work pretty much identically as you would in Atom with Hydrogen, Sublime with Helium, or VSCode with the Jupyter Python extension; you just delimit code cells with #%% and execute in a separate Jupyter REPL buffer. It does require some getting used to the key bindings though (or some tweaking to make it more similar to what you're used to).
-
Using emacs as a study environment
For writing source blocks: https://github.com/nnicandro/emacs-jupyter
What are some alternatives?
vim-ipython-cell - Seamlessly run Python code in IPython from Vim
jupytext - Jupyter Notebooks as Markdown Documents, Julia, Python or R scripts
jupyter-vim - Make Vim talk to Jupyter kernels
lsp-mode - Emacs client/library for the Language Server Protocol
nbterm - Jupyter Notebooks in the terminal.
emacs-ipython-notebook - Jupyter notebook client in Emacs
nvim-ipy - IPython/Jupyter plugin for Neovim
lsp-julia
gnuplotlib - gnuplot for numpy