From patchwork Wed Jun 8 16:52:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Wiktor_=C5=BBelazny?= X-Patchwork-Id: 39789 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id BA44B27BBEA; Wed, 8 Jun 2022 17:55:56 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 7156327BBE9 for ; Wed, 8 Jun 2022 17:55:56 +0100 (BST) Received: from localhost ([::1]:35130 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nyyyJ-0006wM-Fi for patchwork@mira.cbaines.net; Wed, 08 Jun 2022 12:55:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37426) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nyywW-00058C-0H for guix-patches@gnu.org; Wed, 08 Jun 2022 12:54:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50206) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nyywV-0000Sl-Ng for guix-patches@gnu.org; Wed, 08 Jun 2022 12:54:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nyywU-0002qf-M7 for guix-patches@gnu.org; Wed, 08 Jun 2022 12:54:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55851] [PATCH] gnu: Add python-pandarallel. Resent-From: Wiktor =?utf-8?q?=C5=BBelazny?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 08 Jun 2022 16:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 55851 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55851@debbugs.gnu.org Cc: Wiktor =?utf-8?q?=C5=BBelazny?= X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165470722610907 (code B ref -1); Wed, 08 Jun 2022 16:54:02 +0000 Received: (at submit) by debbugs.gnu.org; 8 Jun 2022 16:53:46 +0000 Received: from localhost ([127.0.0.1]:44099 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nyywA-0002pn-M8 for submit@debbugs.gnu.org; Wed, 08 Jun 2022 12:53:46 -0400 Received: from lists.gnu.org ([209.51.188.17]:39828) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nyyvz-0002pN-Ck for submit@debbugs.gnu.org; Wed, 08 Jun 2022 12:53:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37288) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nyyvz-0004eE-5m for guix-patches@gnu.org; Wed, 08 Jun 2022 12:53:31 -0400 Received: from freeshell.de ([2a01:4f8:231:482b::2]:40810) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nyyvx-0000PB-1u for guix-patches@gnu.org; Wed, 08 Jun 2022 12:53:30 -0400 Received: from localhost.localdomain (cst-prg-15-64.cust.vodafone.cz [46.135.15.64]) (Authenticated sender: wz) by freeshell.de (Postfix) with ESMTPSA id D9CD7B352466; Wed, 8 Jun 2022 18:53:09 +0200 (CEST) From: Wiktor =?utf-8?q?=C5=BBelazny?= Date: Wed, 8 Jun 2022 18:52:57 +0200 Message-Id: <20220608165257.1701-1-wz@freeshell.de> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2a01:4f8:231:482b::2; envelope-from=wz@freeshell.de; helo=freeshell.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, 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: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-science.scm (python-pandarallel): New variable. --- gnu/packages/python-science.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) base-commit: 0c5299200ffcd16370f047b7ccb187c60f30da34 diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 855fe9a72c..b16ec5455d 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -1340,3 +1340,28 @@ (define-public python-gpy Python, from the Sheffield machine learning group. GPy implements a range of machine learning algorithms based on GPs.") (license license:bsd-3))) + +(define-public python-pandarallel + (package + (name "python-pandarallel") + (version "1.6.1") + (source (origin + (method url-fetch) + (uri (pypi-uri "pandarallel" version)) + (sha256 + (base32 + "0fnfwq5j2748lj0fb2qdn4p3h7p0a352bvx6ygwjh5vs0pbicvz3")))) + (build-system python-build-system) + (propagated-inputs (list python-dill python-pandas python-psutil)) + (native-inputs (list python-mkdocs-material python-numpy python-pytest + python-pytest-cov)) + (home-page "https://nalepae.github.io/pandarallel/") + (synopsis "Simple and efficient tool to parallelize Pandas operations +across CPUs") + (description + "With a one line code change, @code{pandarallel} allows any +Pandas user to take advantage of their multi-core computer, while Pandas uses +only one core. @code{pandarallel} also offers nice progress bars (available on +Notebook and terminal) to get an rough idea of the remaining amount of +computation to be done.") + (license license:bsd-3)))