From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id kAxGHTmE4GT9agAASxT56A (envelope-from ) for ; Sat, 19 Aug 2023 10:58:33 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 8KQwHDmE4GS/fAAAG6o9tA (envelope-from ) for ; Sat, 19 Aug 2023 10:58:33 +0200 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 C65C25D41D for ; Sat, 19 Aug 2023 10:58:32 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=ChSPK55y; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1692435513; a=rsa-sha256; cv=none; b=dGOYkV/0H7rGIX6oBig7hGMPfeSJZisxMwznE9tat2kLAD8WyTUbWMbK9jN7cQ3GkVyqIA jA2dTxBQAnemaUnMj0j2HSxRwAKWXRhayieJfkniEaItIhz09Md+RLxJltQyEJ1g6jW+hW BMwpKZGxJehZJOEoYMlutP4eWV1/s0gyBYkGVYOv+DX+dVKDoS7WyyUvXSzQq/ddw54Zc8 9nM3mPlbuXrHYSjlhk+bN7i1N+OLG+qZ6mEDehDISflloCMGY8IpbFPc5xSDqnQPl8x1gk A9LZCEtZipqtfKscqBrftwW5XNosPXZJ3PX40lwzwC8xOVy14+QVfaVy/Yg5gw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=ChSPK55y; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1692435513; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=MuVXEumJU/kuYPuiLfv8bTNszK19BdIAlPTTykJqyts=; b=FssMwQG99jy7zJWAWHLP1Qe/bWSpjCbBqJe7TYeT7LyDgGCNnQUUyT3tqmAk9IyzTtIX/4 TYM2ocwJtSD6Mw9+JQtmUAX5LVNx+gouJ3tsbCY9f6c0k0p0FCjr0o4QVzdkWvEL+uOTA3 6WTESIJ0q/0p3ZayPN9LpLX/92fhEmGP23F+M6l6EqDRl0xWMuqCZfrO7mRUWc+bKyOQA8 l5yfszueRRIN8XG86Tv9Q7Su0mPaO4sr3hMJHnRA8SUzcYYsB36pykCPcJJfjSIdZEHxnq wxfnRHdMCdHPKQDGtAEM2jl5Ruw4N/2g2SECkhbOsssOIL6gp2KEnJ07fiYnkw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qXHmY-00049b-LX; Sat, 19 Aug 2023 04:58:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qXHmW-00049C-Dz for emacs-orgmode@gnu.org; Sat, 19 Aug 2023 04:58:04 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qXHmT-0003ks-Rr for emacs-orgmode@gnu.org; Sat, 19 Aug 2023 04:58:04 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id DAC10240103 for ; Sat, 19 Aug 2023 10:57:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1692435479; bh=iqXyEXOj4tBgRphkg/pqAjRM6gKXkvOdCzY/7dHo7Rs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=ChSPK55yJfg0DQwpVKL5dajj5lnGot3rz2iyHBlfbmqioxHzs3SR7LbkQUTs2A2lV owpIaBw0G7hrweH9bGXpSePNK5oxWxcvmU+/c+betrxs8+lKwkYW5eBFFQiyBNbOLI O8Nelr4yKaEVUCNfE5F2pSxDxKWT9dqvZrB8wSfB4dKWTbSzuJpYZptAM97GLjxKTQ 5ssmd5c15cuYK8ZnYlDsQAAR6XChb+ZlbuoELxAyUaoV/EFihw7w/6c1/5JC5gw6o3 fWNBoZU2QtJ9fTWtYQWH1HOYq6+LT+B8x5Zib/pEUP++4QLix7CESIyyDDFHOu5spd zMeTuB7AeA2/Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RSXh71qKQz6tvb; Sat, 19 Aug 2023 10:57:59 +0200 (CEST) From: Ihor Radchenko To: Jack Kamm Cc: gerard.vermeulen@posteo.net, emacs-orgmode@gnu.org, Liu Hui , emacs-orgmode-bounces+gerard.vermeulen=posteo.net@gnu.org Subject: Re: [PATCH] ob-python results handling for dicts, dataframes, arrays, and plots In-Reply-To: <878ra8apxw.fsf@gmail.com> References: <87a5ur6f7w.fsf@gmail.com> <871qg3pc2o.fsf@localhost> <87350i9uwv.fsf@gmail.com> <9948eae293cae8766808778d6390eb64@posteo.net> <878ra8apxw.fsf@gmail.com> Date: Sat, 19 Aug 2023 08:58:27 +0000 Message-ID: <87350fo1cc.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx0.migadu.com X-Spam-Score: -6.38 X-Migadu-Queue-Id: C65C25D41D X-Migadu-Spam-Score: -6.38 X-TUID: XiMj/7HRU3Hq Jack Kamm writes: > As to the broader point, I agree there are many more features that would > be nice to add ob-python results handling. But making ob-python too > complex will be difficult to maintain, especially since the Python code > is all in quoted strings without proper linting. We might add the code into a separate proper python file. Then, we can use the contents of that file to retrieve the variable value. We already do the same thing for CSL style files and odt schema/style. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at