comint-mime
jupyter
comint-mime | jupyter | |
---|---|---|
8 | 31 | |
66 | 898 | |
- | 1.2% | |
4.2 | 8.5 | |
25 days ago | about 1 month ago | |
Emacs Lisp | Emacs Lisp | |
- | 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.
comint-mime
-
Emacs Advent Calendar 9: devdocs, code-cells, dREPL, etc.
comint-mime: Adds graphical capabilities to the Python shell (matplotlib, etc.). It's extensible and can be made to work with other Comint modes.
-
Tips and best practices for REPL-oriented python development?
I've never used elpy, so I can't compare for you, but I feel like it is pretty easy to get a comfortable environment with python-mode. Install a python language server and use eglot or lsp-mode. I believe that python-mode is one of the modes that will be getting tree sitter support in emacs 29, which should add some additional enhancements. The only additional python specific package that I use is comint-mime, since I mostly do data/visualization work.
-
R and Python Polymode Data Science
https://github.com/astoff/comint-mime, python mode, and ipython work well for me. Some combination of markdown mode, polymode, quarto, and jupytext can probably get you pretty far with a literate programming style. There’s also the https://github.com/nnicandro/emacs-jupyter package that might be worth checking out.
-
A mouse-driven Emacs?
Finally, as a slight tangent, the comint-mime package will definitely improve the M-x shell experience: https://github.com/astoff/comint-mime.
-
Suggestions on remote work with LSP? How do you do it?
Yes, it will soon, namely as of Emacs 28: https://github.com/astoff/comint-mime
- comint-mime: Display graphics and other MIME attachments in Emacs shells
-
Is it possible to speed up the latex fragments generation in org files?
It would be cool to think a bit about what other uses these fancy Org rendering utilities can have, such as this. The async stuff would probably get in the way if you want to get a propertized/overlayed buffer out of a string. But usually there are several things about the Org API that are inconvenient as a library (such as not autoloading the externally useful functions).
-
Very ameteurish Python coder, I need several features but don't need a full-fledged IDE. Can I find these as packages elsewhere?
Inline images: interestingly, I was just working on this. It needs Emacs 28, but you can take a look here: https://github.com/astoff/comint-mime
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?
code-cells.el - Emacs utilities for code split into cells, including Jupyter notebooks
jupytext - Jupyter Notebooks as Markdown Documents, Julia, Python or R scripts
shelldon
lsp-mode - Emacs client/library for the Language Server Protocol
acme-mouse - Acme mouse-chording for Emacs
vim-ipython-cell - Seamlessly run Python code in IPython from Vim
org-mode - This is just to publish my personal patches-WIP branch of Org.
emacs-ipython-notebook - Jupyter notebook client in Emacs
dotfiles
lsp-julia
nbterm - Jupyter Notebooks in the terminal.
interactive - .NET Interactive combines the power of .NET with many other languages to create notebooks, REPLs, and embedded coding experiences. Share code, explore data, write, and learn across your apps in ways you couldn't before.