From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/17978 Path: news.gmane.org!.POSTED!not-for-mail From: Sergio Correia Newsgroups: gmane.text.pandoc Subject: Re: Markdown, tables and CSV Date: Tue, 1 Aug 2017 09:43:42 -0400 Message-ID: References: <047d7b86ebe83c062b05332eab9b@google.com> <20BF19CB-A2B0-4B19-A749-D750CDD89736@martinfenner.org> <78b88082-90cb-4ec8-ab45-9e2be24d6dc4@googlegroups.com> <40e755f4-b03d-453e-90d6-13d1ba596f60@googlegroups.com> <6ad9a315-1887-4e88-af53-99eaa87d39fa@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="94eb2c1486b6f4281a0555b155b3" X-Trace: blaine.gmane.org 1501595033 10708 195.159.176.226 (1 Aug 2017 13:43:53 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 1 Aug 2017 13:43:53 +0000 (UTC) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCOYT6WP5QGRBEELQLGAKGQEBEPVSEA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Aug 01 15:43:44 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-io0-f191.google.com ([209.85.223.191]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dcXSU-00026S-VP for gtp-pandoc-discuss@m.gmane.org; Tue, 01 Aug 2017 15:43:39 +0200 Original-Received: by mail-io0-f191.google.com with SMTP id c74sf1077772iod.2 for ; Tue, 01 Aug 2017 06:43:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1501595024; cv=pass; d=google.com; s=arc-20160816; b=dvv+4AF/oRjnK5JJpbbH+8i1FyIssU4o1cPbdqe5tqUuAGMxEo7b2ym3jh4hWgB8mu 8nuyOrbRqg93aUzmiNWm/mG97ayGmDRlFjEOZg9YS0rN58vOd56yJNJodGxKapfGFwBh JgbBkRYgnOHdrvNCu+Lc04EZG6fawhz5Rpqk2bUPP/OtFis4Fca9KliflSHEra9v3hpQ WdwzVI0QF+mkgpZCAAhzwybao05FdpTQjomedFpQqBOTL2SavxRT+ZbnNKQHLdP6PUmF e5QIuaVn+vEarpppx/aGn5i5B/1Os8m4IGbg4ypaMCEqoO3inxGDzKkViCSUg5nBjKaC PgSQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:to:subject:message-id:date :from:references:in-reply-to:mime-version:arc-authentication-results :arc-message-signature:sender:dkim-signature:dkim-signature :arc-authentication-results; bh=o+rV0o/EnBZ5m+USVveni9Jh5fRww3tPmz3Co6r1bQU=; b=mnzOAjuxo3DeKxl63D3TXptE6NH46S3FAm0MN+lsNHOsxfhACw2W7aSWN1orRn3sUI kTHxTR98LBFauLtF5ZBZPOQqIQ7jVP1dxKicZegaCLYfsSKqGGaIJxdN7Jg6GgXIw6U9 bN0Nf8+pJLT0TMyyD9d5P5cdUvAlPzOCkuT+6pm6pn/gs/iIz4V4MSN1wElQRjaLP+ME d6TSe7/t+2K+r9mMxbwafsUVC1koWjYg64HBtmyFH4mNS1Gm7G40X7fTmXyz4GwPLXcv CWuIEG4VWSRMfXoRmpBm+hYGCwjzYVvgLMbLnbloZfr8rtuEmI+dsiP5uiKhcwExkl+M c8EA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.b=Fin+RRbr; spf=pass (google.com: domain of sergio.correia-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:400e:c00::229 as permitted sender) smtp.mailfrom=sergio.correia-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:mime-version:in-reply-to:references:from:date:message-id :subject:to:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=o+rV0o/EnBZ5m+USVveni9Jh5fRww3tPmz3Co6r1bQU=; b=nLxXA6yh/8J9z4aCShwKLvZagQjrwejsLQRPdlAnX7Pra5CCCCc8eawUPREyLOViJt 8ehAM5NzJhpH6Bc/kmBp4H6B5TL3P+v8Pa/GH+aCccEht7w28gMkCFtwCrpeNy/KUFDz nwqx00qF1I10hrRYmcl/5nrI2WIbRjEU4RtG5s3DDcnKIkzvAQ0ig9SVyft5kjI2NANw /f5x6ahAVd5qwRyyh6bgw7kwaIJz2/YJlPor5M9eeq5XpIsr/xBbT2UOud4JWl4IPafU eHAu0FB2EygvNDTF2HZ1+ZqeQbHZE26F9z40kfYpVwEIrQdQ5ElS+/t1oJ2xZmiknOW8 1VwQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=o+rV0o/EnBZ5m+USVveni9Jh5fRww3tPmz3Co6r1bQU=; b=iqe1f287KWsd4nIsBE9oYEC3wSKFmnhVplToqBd4WbO1GOzz7/4I6iAzG9JNsac4Dl 1uxDtaNTnEWMawNjHGfOhMFf7rEK/DpycixWw8GUnTahD3ZpR4vuF3i0mtjAqHyYWZZk ClfNlH19fwrHX4BKMh8t1xd+Ij3uIBDRYJG5EI3UtpX6ycfn4o/sZLJqayjD/uv5cGbl M+cvmR5kXtov2I8WuEthZ+V48gtl/DK6QcrIUvw38QAUeGPclywYJmoiSxcwFKtgtMbL G/WkSd9E1Sr/fjhFY2vebRXsnuJMzOMhd4Q7AjcLh889foKqrMY/RJwjJqIm3X7Lhto9 fi0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:mime-version:in-reply-to:references:from :date:message-id:subject:to:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=o+rV0o/EnBZ5m+USVveni9Jh5fRww3tPmz3Co6r1bQU=; b=sVsB0X3IZWhHzLjLfEsUB0CJckGml7A4eoxzRuTfl1sCRR0nfP7dNJeIHjsjRDOqre 6CJDtAk9E+bf0emW3Ns2ylpO2BpaIfWQi0LTTVoTOA/qkJ6oqIzgHjBr8m3orhoTPNY4 lIbx1lPw5IFZ1hWKTBdpb5P93FzvtSzcd7crj30BzrvL1QS6zHuHDI/KFMftIvfC3J0T BCC/+3ewBjJv6kvLWx+NWbQV9ifgYlRsL30QLUJgmW3LwDAVH61vllHP1tTFUt/Ot8Mg p5xACzoMtTC2Tq5WDAH7xa21Wa+FHapOr+T/30CYt1beCnBtVr2Le5Ke5ildNCpJZv4b dQdA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AIVw112E51P/kjlThxc3ksGhSWsVT7fsUwJl1ImPwVClVIsARYvDrERY VKRzFfONHyLX4Q== X-Received: by 10.36.137.194 with SMTP id s185mr81185itd.0.1501595024913; Tue, 01 Aug 2017 06:43:44 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.107.12.201 with SMTP id 70ls10742462iom.22.gmail; Tue, 01 Aug 2017 06:43:44 -0700 (PDT) X-Received: by 10.107.165.71 with SMTP id o68mr7021651ioe.38.1501595024010; Tue, 01 Aug 2017 06:43:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1501595023; cv=none; d=google.com; s=arc-20160816; b=d7RHQZ/7Qvgg0eQbnTjlbBXXcsnzilQvEmWLK85J01TMsbK4LDrT9gP6WxchcJjFsy 3dRXhQHKFa+TONhmd6qIUEd7BvB/ddi2PjbPnSTz5QxD7yzw3WsyK5AWB4VT+IqeUo2W GwrWqkm/BPyRn7fb/T+2+juVjA4CdyjuAZCz25fRshyOCu8QsXHmM/C0GQP3ClDPMWVx bCaHH+x/kET9NQIQ9aaG4oludJNhz+IsVHhmBGarke6NKBPkDaRlYgSdQ6i5GmsrD5Ol koUcSHXUtvN7yVhb412Z4tnUt0eLHFlaLRzyvXv/upXlSx6rdtML0fmI5LFn3HDNNXl8 2eSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:references:in-reply-to:mime-version :dkim-signature:arc-authentication-results; bh=I0cTUPBW6l8ZSzBux6oy+smAyOYhY+vmEWy92rO5RqE=; b=PvbzWIpr6NNWxt8UgzsW4gSsNWdY0zO92xOlnHf1rXCalxILL35eCSytA670ea8Sl2 rGL6CPZYyAHySEL/51swQOvI+HfyfWIe667kcS4LCqf9fPvpQFSWrKGKEjAZG/G+br4I I62XvF3WtKvj0fKnZRDS1W8/1EmV6WVyP/5Ui3WEtVlN/3aqEaxEwRVJb8ZdgnzzmM+Z p88+FMOODXLxcwYpnFaHk4f//IuL2gEZe9Cw559/zPc7KvB9tfMMKWmudLtct9yk5gNJ zsTNB1pEoHIWdoCm5lu3IhYSBAn7UeldN6y56QCVAj+WZ4ogSLJ7VEgEAMHX8fhhcjse 9/Bw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.b=Fin+RRbr; spf=pass (google.com: domain of sergio.correia-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:400e:c00::229 as permitted sender) smtp.mailfrom=sergio.correia-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Original-Received: from mail-pf0-x229.google.com (mail-pf0-x229.google.com. [2607:f8b0:400e:c00::229]) by gmr-mx.google.com with ESMTPS id z83si552234pfd.17.2017.08.01.06.43.43 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 01 Aug 2017 06:43:43 -0700 (PDT) Received-SPF: pass (google.com: domain of sergio.correia-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:400e:c00::229 as permitted sender) client-ip=2607:f8b0:400e:c00::229; Original-Received: by mail-pf0-x229.google.com with SMTP id d67so8076425pfc.0 for ; Tue, 01 Aug 2017 06:43:43 -0700 (PDT) X-Received: by 10.84.202.163 with SMTP id x32mr20670339pld.99.1501595023188; Tue, 01 Aug 2017 06:43:43 -0700 (PDT) Original-Received: by 10.100.149.214 with HTTP; Tue, 1 Aug 2017 06:43:42 -0700 (PDT) Original-Received: by 10.100.149.214 with HTTP; Tue, 1 Aug 2017 06:43:42 -0700 (PDT) In-Reply-To: <6ad9a315-1887-4e88-af53-99eaa87d39fa-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: sergio.correia-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.b=Fin+RRbr; spf=pass (google.com: domain of sergio.correia-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:400e:c00::229 as permitted sender) smtp.mailfrom=sergio.correia-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:17978 Archived-At: --94eb2c1486b6f4281a0555b155b3 Content-Type: text/plain; charset="UTF-8" Another option is to have another package (e.g. pantable_extended) that does it. In that way, people who just want to user the basic elements can use pantable, and you can use the other one to push capabilities to the limit. Also, I agree that requiring numpy instead as having it optional is not always the best, as on Windows you might want to install it from the unofficial precompiled binaries, that AFAIK are faster. Let me know how it goes! Cheers, Sergio On Aug 1, 2017 5:10 AM, "Kolen Cheung" wrote: Hi, I'd like to hear your opinion on pantable's dependencies. For now, pantable only depends on panflute (and else all in Python's standard library). But there's a few things I want to do that would be impossible without further dependencies. Notable ones are matplotlib, numpy, scipy, matplotlib2tikz, pandas. And you can see these are related to plots and/or CSV readers/writers. Other potential dependencies would be xlsx reader/writer, etc. Some of the dependencies are quite big and I'm not certain if they'll build successfully on alternative architecture. So I think I either list all these into the dependencies and make all pantable users also install them, or I make them optional dependencies, where some functions will only function if those are installed (with error hinting which to install). While the later approach seems best to have minimal impact on the others, the former approach is more "all-inclusive", and will be easier to maintain for example for which CSV reader/writer to use (I'd want to use pandas' but if pandas is optional then I need to deal with 2 different implementations leading to potentially different behaviors. Thanks. -- You received this message because you are subscribed to a topic in the Google Groups "pandoc-discuss" group. To unsubscribe from this topic, visit https://groups.google.com/d/ topic/pandoc-discuss/znGQ62WpWrg/unsubscribe. To unsubscribe from this group and all its topics, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/ msgid/pandoc-discuss/6ad9a315-1887-4e88-af53-99eaa87d39fa%40googlegroups.com . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CABbbhq-rBQ2i0HhBHPVD34kPTEbRnG8%3Du0y0rW-t0vKE113dSw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. --94eb2c1486b6f4281a0555b155b3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Another option is to have another package (e.g. pant= able_extended) that does it.

In that way, people who just want to user the basic elements can use p= antable, and you can use the other one to push capabilities to the limit.

Also, I agree that requir= ing numpy instead as having it optional is not always the best, as on Windo= ws you might want to install it from the unofficial precompiled binaries, t= hat AFAIK are faster.

Le= t me know how it goes!
Cheers,
Sergio

On Aug 1, 2017 5:10 AM, "Kolen Cheung" <christian.kolen-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
Hi, I'd = like to hear your opinion on pantable's dependencies.

For now, pantable only depends on panflute (and else all in Python's = standard library). But there's a few things I want to do that would be = impossible without further dependencies. Notable ones are matplotlib, numpy= , scipy, matplotlib2tikz, pandas. And you can see these are related to plot= s and/or CSV readers/writers. Other potential dependencies would be xlsx re= ader/writer, etc.

Some of the dependencies are qui= te big and I'm not certain if they'll build successfully on alterna= tive architecture. So I think I either list all these into the dependencies= and make all pantable users also install them, or I make them optional dep= endencies, where some functions will only function if those are installed (= with error hinting which to install). While the later approach seems best t= o have minimal impact on the others, the former approach is more "all-= inclusive", and will be easier to maintain for example for which CSV r= eader/writer to use (I'd want to use pandas' but if pandas is optio= nal then I need to deal with 2 different implementations leading to potenti= ally different behaviors.

Thanks.

--
You received this message because you are subscribed to a topic in the Goog= le Groups "pandoc-discuss" group.
To unsubscribe from this topic, visit https://g= roups.google.com/d/topic/pandoc-discuss/znGQ62WpWrg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
p= andoc-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to pandoc-discuss@googlegroups.com.
To view this discussion on the web visit https:= //groups.google.com/d/msgid/pandoc-discuss/6ad9a315-1887-4e88-af5= 3-99eaa87d39fa%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://group= s.google.com/d/msgid/pandoc-discuss/CABbbhq-rBQ2i0HhBHPVD34kPTEbRnG8%3Du0y0= rW-t0vKE113dSw%40mail.gmail.com.
For more options, visit http= s://groups.google.com/d/optout.
--94eb2c1486b6f4281a0555b155b3--