ob-async
jupyter
ob-async | jupyter | |
---|---|---|
7 | 31 | |
338 | 896 | |
- | 1.1% | |
0.0 | 7.6 | |
11 months ago | 17 days 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.
ob-async
-
Replace Jupyter Notebook With Emacs Org Mode
I use it as a Jupyter Notebook replacement. Or at least I use it produce an org version of the notebook that I then export to ipynb when it is ready. It works well but it does have the issue of blocking when the code block takes time to complete the execution. But even this can be fixed with: https://github.com/astahlman/ob-async
- org-babel, problems with ob-async
-
org buffer --> data --> asynchronous http calls --> transformed data --> modified org buffer
Another idea with potential is use an async src-block (https://github.com/astahlman/ob-async). I am not sure it is easy to get those to update a buffer but maybe it can.
-
Org mode for literate programing problems
Have you tried https://github.com/astahlman/ob-async ?
Try with ob-async
-
ob-servant: Code for interacting with longrunning processes from inside Org Mode
How does it compares to ob-async?
-
org-babel and long running processes
Have you looked at ob-async?
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?
Emacs-Customisations - Emacs Customisation. Org Babel based emacs customisations.
jupytext - Jupyter Notebooks as Markdown Documents, Julia, Python or R scripts
ob-servant - Code for interacting with longrunning processes from inside Org Mode
lsp-mode - Emacs client/library for the Language Server Protocol
ob-ess-julia - A lightweight Julia support for org mode using Emacs Speaks Statistics
vim-ipython-cell - Seamlessly run Python code in IPython from Vim
ob-http - make http request within org-mode babel
emacs-ipython-notebook - Jupyter notebook client in Emacs
org-ql - A searching tool for Org-mode, including custom query languages, commands, saved searches and agenda-like views, etc.
lsp-julia
ob-solidity - An org-babel extension for Solidity
nbterm - Jupyter Notebooks in the terminal.