code-cells.el
Emacs utilities for code split into cells, including Jupyter notebooks (by astoff)
comint-mime
Display graphics and other MIME attachments in Emacs shells (by astoff)
Our great sponsors
code-cells.el | comint-mime | |
---|---|---|
9 | 8 | |
171 | 64 | |
- | - | |
6.4 | 4.2 | |
5 months ago | 4 days ago | |
Emacs Lisp | Emacs Lisp | |
GNU General Public License v3.0 only | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
code-cells.el
Posts with mentions or reviews of code-cells.el.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-09.
-
Emacs Advent Calendar 9: devdocs, code-cells, dREPL, etc.
code-cells: Utilities to work with “lightweight notebooks”, that is, source code which is split into cells by special %% comments. Also allows you to transparently edit Jupyter notebook (ipynb) files.
-
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.
-
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).
-
I have reached Vim nirvana
I use a similar setup in Emacs with code-cells.el [1]. VSCode had a tendency to choke rendering large interactive graphs in-line, so if I was needing to view in a separate process anyways a little elisp turns "write last IPython output to a tempfile, open, move to workspace N" into a keybind.
[1] https://github.com/astoff/code-cells.el
-
IPython Notebook layer
Try https://github.com/astoff/code-cells.el
-
Different background in current Python cell
I use the simple but very convenient code-cells package to run python cells. E.g. with the Spyder IDE, the cell where the cursor is currently in has a different background color, and I'd love to have that in emacs. Would you have any idea on how to do that?
-
Very ameteurish Python coder, I need several features but don't need a full-fledged IDE. Can I find these as packages elsewhere?
For scripts with cells there are a couple of packages. Mine is this: https://github.com/astoff/code-cells.el
- Replacing Jupyter Notebook with Org Mode
- code-cells.el: Emacs utilities for code split into cells, including Jupyter notebooks
comint-mime
Posts with mentions or reviews of comint-mime.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-09.
-
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
What are some alternatives?
When comparing code-cells.el and comint-mime you can also consider the following projects:
jupyter - An interface to communicate with Jupyter kernels.
shelldon
emacs-jupyter - emacs plug-in to run python code inside tex or markdown buffer
acme-mouse - Acme mouse-chording for Emacs
emacs-ipython-notebook - Jupyter notebook client in Emacs
scimax - An emacs starterkit for scientists and engineers
org-mode - This is just to publish my personal patches-WIP branch of Org.
org-mode - org-mode fork
dotfiles
ctrlf - ⌨️ Emacs finally learns how to ctrl+F.
dotfiles - My dotfiles
code-cells.el vs jupyter
comint-mime vs shelldon
code-cells.el vs emacs-jupyter
comint-mime vs acme-mouse
code-cells.el vs emacs-ipython-notebook
comint-mime vs jupyter
code-cells.el vs scimax
comint-mime vs org-mode
code-cells.el vs org-mode
comint-mime vs dotfiles
code-cells.el vs ctrlf
code-cells.el vs dotfiles