code-cells.el
Emacs utilities for code split into cells, including Jupyter notebooks (by astoff)
buffer-env
Buffer-local process environments for Emacs (by astoff)
Our great sponsors
code-cells.el | buffer-env | |
---|---|---|
9 | 6 | |
171 | 52 | |
- | - | |
6.4 | 6.2 | |
5 months ago | about 1 month 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
buffer-env
Posts with mentions or reviews of buffer-env.
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.
buffer-env: A pure-Elisp version of the direnv utility. Useful to make Emacs aware of Python virtualenvs (which, judging by the questions posted here, is unfortunately still a complication for a lot of people). Similar to (and inspired by) envrc, but doesn't require the direnv program.
-
Announcing "dir-local-env.el", set directory-local variables without a ".dir-locals.el" file (for example from within "init.el")
If you are interested in a “direnv but in Elisp”, you may want to check out this package: https://github.com/astoff/buffer-env.
- buffer-env: Buffer-local process environments for Emacs
- buffer-env: A package to handle virtualenvs and the like
-
What is your setup for python coding in emacs?
buffer-env or envrc for virtual environment integration.
What are some alternatives?
When comparing code-cells.el and buffer-env you can also consider the following projects:
jupyter - An interface to communicate with Jupyter kernels.
Elpy - Emacs Python Development Environment
emacs-jupyter - emacs plug-in to run python code inside tex or markdown buffer
envrc - Emacs support for direnv which operates buffer-locally
emacs-ipython-notebook - Jupyter notebook client in Emacs
nix - Nix, the purely functional package manager
scimax - An emacs starterkit for scientists and engineers
emacs-sidecar-locals
org-mode - org-mode fork
dir-local-env - Emacs system to configure directory local variables without .dir-local.el files
ctrlf - ⌨️ Emacs finally learns how to ctrl+F.
direnv - unclutter your .profile
code-cells.el vs jupyter
buffer-env vs Elpy
code-cells.el vs emacs-jupyter
buffer-env vs envrc
code-cells.el vs emacs-ipython-notebook
buffer-env vs nix
code-cells.el vs scimax
buffer-env vs emacs-sidecar-locals
code-cells.el vs org-mode
buffer-env vs dir-local-env
code-cells.el vs ctrlf
buffer-env vs direnv