guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: Add python-pandarallel.


From: guix-commits
Subject: branch master updated: gnu: Add python-pandarallel.
Date: Thu, 01 Feb 2024 16:17:27 -0500

This is an automated email from the git hooks/post-receive script.

sharlatan pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new a879dd8b36 gnu: Add python-pandarallel.
a879dd8b36 is described below

commit a879dd8b360adcf8f7d69c317dec8cae0f48270c
Author: Wiktor Żelazny <wz@freeshell.de>
AuthorDate: Wed Jun 8 18:52:57 2022 +0200

    gnu: Add python-pandarallel.
    
    * gnu/packages/python-science.scm (python-pandarallel): New variable.
    
    Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
---
 gnu/packages/python-science.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index a0123dac21..2b4e74f9be 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -766,6 +766,42 @@ a convention of suggesting best recommended practices for 
using
 @code{python-pandas}.")
     (license license:bsd-3)))
 
+(define-public python-pandarallel
+  (package
+    (name "python-pandarallel")
+    (version "1.6.5")
+    (source
+     (origin
+       (method git-fetch)        ; no tests in PyPI
+       (uri (git-reference
+             (url "https://github.com/nalepae/pandarallel/";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0r2wlxlwp4wia0vm15k4cp421mwa20k4k5g2ml01inprj8bl1p0p"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:test-flags #~(list "-n" (number->string (parallel-job-count)))))
+    (propagated-inputs
+     (list python-dill
+           python-pandas
+           python-psutil))
+    (native-inputs
+     (list python-mkdocs-material
+           python-numpy
+           python-pytest
+           python-pytest-cov
+           python-pytest-xdist))
+    (home-page "https://nalepae.github.io/pandarallel/";)
+    (synopsis "Tool to parallelize Pandas operations across CPUs")
+    (description
+     "@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)))
+
 (define-public python-pandera
   (package
     (name "python-pandera")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]