jupytext.vim
jupyter-vim
jupytext.vim | jupyter-vim | |
---|---|---|
4 | 5 | |
294 | 501 | |
- | 1.2% | |
4.4 | 3.5 | |
7 months ago | about 1 month ago | |
Vim Script | Python | |
MIT License | GNU General Public License v3.0 or later |
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-vim
-
Install vim plugin (for XML/HTML encode/decode)
In this config, under the Plugins folder there are various plugins that aren't found in the Astrocommunity repo (aka "Custom" plugins). A great example that I found interesting and included into my own config was mehalters repl.lua file that installs the jupyter-vim plugin. From my limited understanding to install packages into astrovim, we need to make a file in the Plugins folder, make the necessary configurations, and then it should load.
-
send code to jupyter
Is there any way to communicate with jupyter like jupyter-vim? I am aware of python-repl in emacs, but it does not support inline plots/figures. Moreover, it is nice to nice to show outputs in different windows (especially using multiple monitors).
-
jupyter and vim
Now here comes the endboss: Jupyter. For the first time, I feel like I'm missing out on stuff when using vim. I've started a job in datascience, which is actually awesome. However, I work a lot with image data. I also do a lot of analysis on results, meaning I do a lot of fancy plots that hopefully show the weaknesses of our prediction models. I recently wrote an augmentation algorithm where I had to see the output in form of an image after every step to make sure it's correct. This is not a possible workflow in vim right now. I know of many solutions that I already tried, like for example jupyter-vim or the jupyter vim mode. I'd like to work inside my terminal though. I'm not this kind of purist who needs to have a terminal that is compatible with VT100 or whatever people came up with in the 80ies. I also don't care if my terminal in based on an ascii like grid or actually rendered in HTML. I just want (Neo)vim, with the functionality of jupyter (inline plotting) even if this means vim has to be rendered inside an electron app or whatever people use these days for fancy GUIs. Imagine an electron based editor like Oni which not only runs the "real" neovim in the background, but is also able to do inline figures, images, plots and even interactive stuff. It seems to me like I can't be the only one who wants this. So after all this, here's the question: Is there anything you now of that allows for this kind of stuff? Is there any other workflow that I'm not aware of? Or do people just not use those features when working with vim? Pls help a vimmer stay at vim.
-
I'm looking for a comfortable neovim based environment for Python and IPython
For Matlab-like "cell-mode", have a look at https://github.com/jupyter-vim/jupyter-vim/.
-
A possible option for (partially) replacing jupyter-notebook with vim
To work in a py file (or py codelines selection from whatever format): https://github.com/jupyter-vim/jupyter-vim
What are some alternatives?
vim-ipython-cell - Seamlessly run Python code in IPython from Vim
magma-nvim - Interact with Jupyter from NeoVim.
nbterm - Jupyter Notebooks in the terminal.
vim-jukit - Jupyter-Notebook inspired Neovim/Vim Plugin
jupyter - An interface to communicate with Jupyter kernels.
jupyter_ascending - Ascend your Jupyter Notebook usage
jupytext - Jupyter Notebooks as Markdown Documents, Julia, Python or R scripts
papermill - 📚 Parameterize, execute, and analyze notebooks
nvim-ipy - IPython/Jupyter plugin for Neovim
gnuplotlib - gnuplot for numpy
vimpyter - Edit your Jupyter notebooks in Vim/Neovim