From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6OXNHbvdAGLtEQEAgWs5BA (envelope-from ) for ; Mon, 07 Feb 2022 09:52:11 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 6M5pFrvdAGIPcQEAG6o9tA (envelope-from ) for ; Mon, 07 Feb 2022 09:52:11 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E437F3B9F7 for ; Mon, 7 Feb 2022 09:52:10 +0100 (CET) Received: from localhost ([::1]:40818 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nGzkm-0001ts-Rp for larch@yhetil.org; Mon, 07 Feb 2022 03:52:09 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51242) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGyt1-00065g-A3 for emacs-orgmode@gnu.org; Mon, 07 Feb 2022 02:56:35 -0500 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:49483) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGyst-0002JK-CC for emacs-orgmode@gnu.org; Mon, 07 Feb 2022 02:56:31 -0500 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id F189D3200EC0 for ; Mon, 7 Feb 2022 02:56:08 -0500 (EST) Received: from imap45 ([10.202.2.95]) by compute1.internal (MEProxy); Mon, 07 Feb 2022 02:56:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= cc:content-type:date:date:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to; s=fm2; bh=o jKeYBNXWatk+tgm2H9zk4BYNSTIyMyDh8TNnOOtoBE=; b=eEPURkbaeX41SkEbX 0n2CPwqqs7TR/IS94xZJ5O9qGey4vFD1JNtuS7JLUeaaE4e1V/0i9HBPYczHc7UT JzCk5hdx4FpqB9ztyeDGPujtJxZEnM5VEXa/LSOYVLP3O1DfGQzNqOyj18Fda5F+ U2aXm0xCxaNosgmVrNqj0f5zBTGGKlkk5OzJOz1yZDMOVJXIBfpbQ8JyI+QKo6MV +dCuELAhY+Gdfy9oVmXtwB5Uyx6TeeYz14HWEiPTDufudIcWMI4bnbPDwpr/JVS9 7/rda6wJHY/f0S2PoVcvCXxQ7XD2KUsI+LGqF5JCPwfpHHstp8p8Z3l+lrTN3/KY Boo+A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=ojKeYBNXWatk+tgm2H9zk4BYNSTIyMyDh8TNnOOto BE=; b=Oup+IRDyv2B6SIWLtIjl0fVRZOjhKM5xJFIPUirORgz2PTGTMhwsOVmU8 7Pv7+jASIm+/ITfZ/7jYMdfjWaBccByOTIGw3UL5i+kP8JRgRSYNBse4X/J4hpp0 +DGVYJ9LdeIfeF1UtQGrB3ToutMvH9boUBzSBlzl988PupqWTZglLlTwJoWxN8TL 1OWjitJoGdFVwMef5pHr1nb5UE1+4R7R1pVePiDWIVlRS4KCMfpcmAACmRWSMs8e 3yIm9QgAN4w4J4g+9G19YqSTjvYLPpX1tqRZh5QQV+DFjW/hdoKcMzQowTpr0XHD 9uZizuyGF66eFLioBbw9aglcpC3TA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrheeggdduuddtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfffhffvufgtsehttdertd erredtnecuhfhrohhmpedflfhoohhsthcumfhrvghmvghrshdfuceojhhoohhsthhkrhgv mhgvrhhssehfrghsthhmrghilhdrfhhmqeenucggtffrrghtthgvrhhnpedtkeeijedtie ehvdeluefhfeffveelgfetfeehkeeghfeiteelhfeukefhleehfeenucffohhmrghinhep tghmuhdrvgguuhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehjohhoshhtkhhrvghmvghrshesfhgrshhtmhgrihhlrdhfmh X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 40DAA24A0074; Mon, 7 Feb 2022 02:56:08 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-4586-g104bd556f9-fm-20220203.002-g104bd556 Mime-Version: 1.0 Message-Id: Date: Mon, 07 Feb 2022 08:55:48 +0100 From: "Joost Kremers" To: emacs-orgmode@gnu.org Subject: Conversion to Jupyter notebooks Content-Type: text/plain Received-SPF: pass client-ip=64.147.123.25; envelope-from=joostkremers@fastmail.fm; helo=wout2-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1644223931; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ojKeYBNXWatk+tgm2H9zk4BYNSTIyMyDh8TNnOOtoBE=; b=rWf2T6l4RhRpZBR+F0WF2T1SghCRpS6g2zq3Une0ja1wTmWQjarQBc2U+c6eryoffjVdzv TwtdBadNnhcL0Vnd8gG4vPITpoSY0rjVIVFlcc2rTZdz3bvbrhXLxZGNLcAwBMMafFbpQT 2F+asGHv8y+PChiCUwrQ3t94XVM6vbdPXeFiWnfqObnjjIrckZEsOCHBTkkWGfWAehfo1P hXTrfdVUwrBUX9Rt7pcjSV8EWqzcc9T/2CZhUrpya0ryHQzTaURYh8yIHeirwKjySf5fCd X38gjkHsd8kkPwLCWf4CI7cP24vDAZTxUZ8JtCLFKaTjRKSV+Ddh4H/s1xxEDg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644223931; a=rsa-sha256; cv=none; b=VBNJXgFAaQTHqK9MUAjjTDRWZeWS+qf/7d1TlO1mwbgaekXq4xSmWbj+CVQBiZPvsZzhfq yu5DbAvYCFFQ8d5iNqvJTH8mZsumPlWlyfq6btkxhyUnGVeNFo2G3kEGLWmkMSHI05kHGI porNbLn7A/Nw94QdX/XohopZ9E0k4VhTYYyySAg11Z2vOfRRjwqBPEE7bSCPxqyx5+zxd/ +0ToJU2ONtGdqduEtaCmBVqipfN/fgEixVnt56WHGnUCuTSsfwhlR3dnzuK4Re46xM3/Q1 C6mnlmXpQN2bVlDzyogc3NRor/2D/gD8V22shYefoeb8bbgCsmGiahGN9LZTTw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=fastmail.fm header.s=fm2 header.b=eEPURkba; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=Oup+IRDy; dmarc=fail reason="SPF not aligned (relaxed)" header.from=fastmail.fm (policy=none); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.12 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=fastmail.fm header.s=fm2 header.b=eEPURkba; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=Oup+IRDy; dmarc=fail reason="SPF not aligned (relaxed)" header.from=fastmail.fm (policy=none); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: E437F3B9F7 X-Spam-Score: -2.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: yls5TwneQ0FI 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. TIA Joost Footnotes: [1] https://kitchingroup.cheme.cmu.edu/blog/2017/01/21/Exporting-org-mode-to-Jupyter-notebooks/ -- Joost Kremers Life has its moments