emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Joost Kremers" <joostkremers@fastmail.fm>
To: emacs-orgmode@gnu.org
Subject: Conversion to Jupyter notebooks
Date: Mon, 07 Feb 2022 08:55:48 +0100	[thread overview]
Message-ID: <f0bf7bb7-4c2b-447a-88c3-cfa499acdc8b@www.fastmail.com> (raw)

Hi list,

I was wondering if anyone here has experience converting Org files to Jupyter notebooks, keeping the python source blocks as code blocks and correctly identifying the =#+RESULTS:=. Just dropping the results would be fine as well.

I realise there are several ways to interact with Jupyter notebooks in Emacs, but that's not really what I'm looking for. I'd like a plain old Org file with source blocks that I can execute within Emacs and I would like to convert that into an .ipynb file that I can share with people that don't use Emacs.

All I could find on the internet was a script by John Kitchin[1] that's from 2017 and it's apparently not entirely compatible with current Emacs and/or Org mode, as it throws errors when I try to use it. I'm sure I could fix the errors, but before I invest the time to do that, I wanted to ask here.



[1]  https://kitchingroup.cheme.cmu.edu/blog/2017/01/21/Exporting-org-mode-to-Jupyter-notebooks/

Joost Kremers
Life has its moments

             reply	other threads:[~2022-02-07  8:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-07  7:55 Joost Kremers [this message]
2022-02-07  9:14 ` Ihor Radchenko
2022-02-07 10:11   ` Joost Kremers
2022-02-07 14:06     ` John Kitchin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f0bf7bb7-4c2b-447a-88c3-cfa499acdc8b@www.fastmail.com \
    --to=joostkremers@fastmail.fm \
    --cc=emacs-orgmode@gnu.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).