hydrogen
code-cells.el
hydrogen | code-cells.el | |
---|---|---|
6 | 9 | |
3,905 | 171 | |
0.2% | - | |
0.0 | 6.4 | |
6 days ago | 5 months ago | |
TypeScript | 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.
hydrogen
-
Trouble with Hydrogen Plug-In (error text included)
Hydrogen got an update to fix this issue, but it was never published on Pulsar's backend. You can install it with pulsar -p https://github.com/nteract/hydrogen.git -t v2.16.5
-
Pulsar – A Community-Led Hyper-Hackable Text Editor
Folks who know Pulsar and Zed internals: which one of them is more likely to gain support for Atom packages? I find Hydrogen[1] invaluable as a data science scratchpad since it supports python/r/julia/etc under a common interface via jupyter, and have been unable to construct a comparable workflow in vscode or any other editor [using scripts as opposed to notebooks, which i find far too bloated].
[1]: https://github.com/nteract/hydrogen
-
Switched to VSCode... I miss Atom :(
Finally, newer Pulsar versions (from the master branch on the CI) allow you to install ppm and pulsar from the command-line. We also fixed some of the issues on installing a package directly from github - for example, you can run "pulsar -p https://github.com/nteract/hydrogen.git -t v2.16.5" to install hydrogen on tag v2.16.5 now (tested on Linux and Silicon mac). Package publication is an ongoing process - we fixed lots of issues of the first version, and now it's working for some people, but we are still aware that we have some bugs too... it's hard because we need to "reverse engineer" the old API :(
-
Atom Was Archived Today
But with Hydrogen you could do that in a regular Python script without needing to create a notebook or think in terms of cells. There's an example of this in the Hydrogen readme: https://github.com/nteract/hydrogen#hydrogen-
-
Sunsetting Atom Text Editor
I personally found Atom + Hydrogen [0] to be the most productive interactive Python environment I've ever used. I really want to see VSCode adopt some way to run a Jupyter kernel for a Python file (with a notebook UI) and have rich results in line with the code (i.e. not a terminal output off to the right side of the screen).
[0] https://github.com/nteract/hydrogen
code-cells.el
-
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
What are some alternatives?
pulsar - A Community-led Hyper-Hackable Text Editor
jupyter - An interface to communicate with Jupyter kernels.
vite-material-ui - A Vite starter template for React, TypeScript, and MUI
emacs-jupyter - emacs plug-in to run python code inside tex or markdown buffer
shopify-theme-lab - Shopify theme development environment using Liquid, Vue and Tailwind CSS. Built on top of Shopify CLI 🧪
emacs-ipython-notebook - Jupyter notebook client in Emacs
SvelteKit - web development, streamlined
scimax - An emacs starterkit for scientists and engineers
astro - The web framework for content-driven websites. ⭐️ Star to support our work!
org-mode - org-mode fork
crosis - A JavaScript client that speaks Replit's container protocol
ctrlf - ⌨️ Emacs finally learns how to ctrl+F.