2019-12-01 15:42:49 +00:00
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2022-03-31 12:33:25 +00:00
|
|
|
;;; Copyright © 2015, 2016, 2020, 2021, 2022 Ricardo Wurmus <rekado@elephly.net>
|
2019-12-01 15:42:49 +00:00
|
|
|
;;; Copyright © 2015 Federico Beffa <beffa@fbengineering.ch>
|
2019-12-04 07:56:36 +00:00
|
|
|
;;; Copyright © 2016 Ben Woodcroft <donttrustben@gmail.com>
|
2019-12-01 15:42:49 +00:00
|
|
|
;;; Copyright © 2016 Hartmut Goebel <h.goebel@crazy-compilers.com>
|
2022-03-16 11:36:35 +00:00
|
|
|
;;; Copyright © 2016, 2022 Efraim Flashner <efraim@flashner.co.il>
|
2022-01-12 13:44:39 +00:00
|
|
|
;;; Copyright © 2016-2020, 2022 Marius Bakke <marius@gnu.org>
|
2019-12-01 15:42:49 +00:00
|
|
|
;;; Copyright © 2019 Tobias Geerinckx-Rice <me@tobias.gr>
|
2022-04-07 00:53:31 +00:00
|
|
|
;;; Copyright © 2019, 2021, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
2019-12-04 07:56:36 +00:00
|
|
|
;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org>
|
2020-06-17 22:58:41 +00:00
|
|
|
;;; Copyright © 2020 Pierre Langlois <pierre.langlois@gmx.com>
|
2022-02-25 05:05:27 +00:00
|
|
|
;;; Copyright © 2020, 2021, 2022 Vinicius Monego <monego@posteo.net>
|
2021-01-05 17:09:15 +00:00
|
|
|
;;; Copyright © 2021 Greg Hogan <code@greghogan.com>
|
2021-05-31 07:30:51 +00:00
|
|
|
;;; Copyright © 2021 Roel Janssen <roel@gnu.org>
|
2021-06-01 09:15:56 +00:00
|
|
|
;;; Copyright © 2021 Paul Garlick <pgarlick@tourbillion-technology.com>
|
2021-07-13 09:29:34 +00:00
|
|
|
;;; Copyright © 2021 Arun Isaac <arunisaac@systemreboot.net>
|
2021-10-10 15:04:29 +00:00
|
|
|
;;; Copyright © 2021 Felix Gruber <felgru@posteo.net>
|
2022-04-07 16:31:37 +00:00
|
|
|
;;; Copyright © 2022 Malte Frank Gerdes <malte.f.gerdes@gmail.com>
|
|
|
|
;;; Copyright © 2022 Guillaume Le Vaillant <glv@posteo.net>
|
2022-04-22 20:26:08 +00:00
|
|
|
;;; Copyright © 2022 Paul A. Patience <paul@apatience.com>
|
2019-12-01 15:42:49 +00:00
|
|
|
;;;
|
|
|
|
;;; This file is part of GNU Guix.
|
|
|
|
;;;
|
|
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
|
|
|
;;; under the terms of the GNU General Public License as published by
|
|
|
|
;;; the Free Software Foundation; either version 3 of the License, or (at
|
|
|
|
;;; your option) any later version.
|
|
|
|
;;;
|
|
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
|
|
|
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
;;; GNU General Public License for more details.
|
|
|
|
;;;
|
|
|
|
;;; You should have received a copy of the GNU General Public License
|
|
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
(define-module (gnu packages python-science)
|
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
|
|
|
#:use-module (gnu packages)
|
2019-12-02 13:04:39 +00:00
|
|
|
#:use-module (gnu packages base)
|
2022-03-16 11:36:35 +00:00
|
|
|
#:use-module (gnu packages bioinformatics)
|
2022-02-18 20:39:36 +00:00
|
|
|
#:use-module (gnu packages boost)
|
2019-12-02 13:04:39 +00:00
|
|
|
#:use-module (gnu packages check)
|
2022-02-18 20:39:36 +00:00
|
|
|
#:use-module (gnu packages cpp)
|
2021-07-28 18:24:02 +00:00
|
|
|
#:use-module (gnu packages databases)
|
2019-12-02 13:04:39 +00:00
|
|
|
#:use-module (gnu packages gcc)
|
2021-06-01 09:15:56 +00:00
|
|
|
#:use-module (gnu packages image-processing)
|
2021-07-13 09:30:03 +00:00
|
|
|
#:use-module (gnu packages machine-learning)
|
2019-12-02 13:04:39 +00:00
|
|
|
#:use-module (gnu packages maths)
|
2021-06-01 09:15:56 +00:00
|
|
|
#:use-module (gnu packages mpi)
|
2019-12-02 13:04:39 +00:00
|
|
|
#:use-module (gnu packages perl)
|
2021-06-01 09:15:56 +00:00
|
|
|
#:use-module (gnu packages pkg-config)
|
2019-12-02 13:04:39 +00:00
|
|
|
#:use-module (gnu packages python)
|
2021-03-09 15:51:14 +00:00
|
|
|
#:use-module (gnu packages python-build)
|
2021-07-28 18:24:02 +00:00
|
|
|
#:use-module (gnu packages python-crypto)
|
2021-03-09 15:51:14 +00:00
|
|
|
#:use-module (gnu packages python-check)
|
2019-12-04 07:56:36 +00:00
|
|
|
#:use-module (gnu packages python-web)
|
2019-12-01 15:42:49 +00:00
|
|
|
#:use-module (gnu packages python-xyz)
|
2021-06-01 09:15:56 +00:00
|
|
|
#:use-module (gnu packages simulation)
|
2019-12-02 13:04:39 +00:00
|
|
|
#:use-module (gnu packages sphinx)
|
2021-07-13 09:30:03 +00:00
|
|
|
#:use-module (gnu packages statistics)
|
2019-12-04 07:56:36 +00:00
|
|
|
#:use-module (gnu packages time)
|
2020-06-17 22:58:41 +00:00
|
|
|
#:use-module (gnu packages xdisorg)
|
2020-01-15 19:19:26 +00:00
|
|
|
#:use-module (gnu packages xml)
|
2020-06-17 22:58:41 +00:00
|
|
|
#:use-module (gnu packages xorg)
|
2019-12-01 15:42:49 +00:00
|
|
|
#:use-module (guix packages)
|
2022-02-18 20:39:36 +00:00
|
|
|
#:use-module (guix gexp)
|
2019-12-01 15:42:49 +00:00
|
|
|
#:use-module (guix download)
|
2021-06-01 09:15:56 +00:00
|
|
|
#:use-module (guix git-download)
|
2019-12-01 15:42:49 +00:00
|
|
|
#:use-module (guix utils)
|
|
|
|
#:use-module (guix build-system python))
|
|
|
|
|
2019-12-02 13:04:39 +00:00
|
|
|
(define-public python-scipy
|
|
|
|
(package
|
|
|
|
(name "python-scipy")
|
2022-04-07 02:24:48 +00:00
|
|
|
(version "1.8.0")
|
2019-12-02 13:04:39 +00:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (pypi-uri "scipy" version))
|
|
|
|
(sha256
|
2022-04-07 02:24:48 +00:00
|
|
|
(base32 "1gghkwn93niyasm36333xbqrnn3yiadq9d97wnc9mg14nzbg5m1i"))))
|
2019-12-02 13:04:39 +00:00
|
|
|
(outputs '("out" "doc"))
|
2022-04-07 00:53:31 +00:00
|
|
|
(build-system python-build-system)
|
2019-12-02 13:04:39 +00:00
|
|
|
(arguments
|
2022-04-07 00:53:31 +00:00
|
|
|
(list
|
2022-04-07 02:24:48 +00:00
|
|
|
#:modules '((guix build utils)
|
|
|
|
(guix build python-build-system)
|
|
|
|
(ice-9 format))
|
2022-04-07 00:53:31 +00:00
|
|
|
#:phases
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
(add-after 'unpack 'disable-pythran
|
|
|
|
(lambda _
|
|
|
|
(setenv "SCIPY_USE_PYTHRAN" "0")))
|
|
|
|
(add-before 'build 'change-home-dir
|
|
|
|
(lambda _
|
|
|
|
;; Change from /homeless-shelter to /tmp for write permission.
|
|
|
|
(setenv "HOME" "/tmp")))
|
|
|
|
(add-before 'build 'configure-openblas
|
|
|
|
(lambda _
|
|
|
|
(call-with-output-file "site.cfg"
|
|
|
|
(lambda (port)
|
|
|
|
(format port
|
2022-04-07 02:24:48 +00:00
|
|
|
"\
|
|
|
|
[blas]
|
2019-12-02 13:04:39 +00:00
|
|
|
libraries = openblas
|
|
|
|
library_dirs = ~a/lib
|
2022-04-07 02:24:48 +00:00
|
|
|
include_dirs = ~:*~a/include
|
2019-12-02 13:04:39 +00:00
|
|
|
|
2022-04-07 02:24:48 +00:00
|
|
|
[atlas]
|
|
|
|
library_dirs = ~:*~a/lib
|
|
|
|
atlas_libs = openblas~%" #$(this-package-input "openblas"))))))
|
|
|
|
(add-before 'build 'parallelize-build
|
|
|
|
(lambda _
|
|
|
|
(setenv "NPY_NUM_BUILD_JOBS"
|
|
|
|
(number->string (parallel-job-count)))))
|
|
|
|
(add-before 'check 'install-doc
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
2022-04-07 00:53:31 +00:00
|
|
|
(let* ((data (string-append (assoc-ref outputs "doc") "/share"))
|
|
|
|
(doc (string-append data "/doc/" #$name "-" #$version))
|
2022-04-07 02:24:48 +00:00
|
|
|
(html (string-append doc "/html")))
|
2022-04-07 00:53:31 +00:00
|
|
|
(with-directory-excursion "doc"
|
2022-04-07 02:24:48 +00:00
|
|
|
;; Build doc.
|
|
|
|
(invoke "make" "html"
|
|
|
|
;; Building the documentation takes a very long time.
|
|
|
|
;; Parallelize it.
|
|
|
|
(string-append "SPHINXOPTS=-j"
|
|
|
|
(number->string (parallel-job-count))))
|
|
|
|
;; Install doc.
|
2022-04-07 00:53:31 +00:00
|
|
|
(mkdir-p html)
|
2022-04-07 02:24:48 +00:00
|
|
|
(copy-recursively "build/html" html)))))
|
2022-04-07 00:53:31 +00:00
|
|
|
(replace 'check
|
2022-04-07 02:24:48 +00:00
|
|
|
(lambda* (#:key tests? #:allow-other-keys)
|
2022-04-07 00:53:31 +00:00
|
|
|
(when tests?
|
2022-04-07 02:24:48 +00:00
|
|
|
(invoke "./runtests.py" "-vv" "--no-build" "--mode=fast"
|
|
|
|
"-j" (number->string (parallel-job-count)))))))))
|
2022-04-07 00:53:31 +00:00
|
|
|
(propagated-inputs (list python-numpy python-matplotlib python-pyparsing))
|
|
|
|
(inputs (list openblas pybind11))
|
|
|
|
(native-inputs
|
2022-04-07 02:24:48 +00:00
|
|
|
(list gfortran
|
|
|
|
perl
|
|
|
|
python-cython
|
|
|
|
python-numpydoc
|
2022-04-07 00:53:31 +00:00
|
|
|
python-pydata-sphinx-theme
|
|
|
|
python-pytest
|
2022-04-07 02:24:48 +00:00
|
|
|
python-pytest-xdist
|
2022-04-07 00:53:31 +00:00
|
|
|
python-sphinx
|
|
|
|
python-sphinx-panels
|
2022-04-07 02:24:48 +00:00
|
|
|
python-threadpoolctl
|
2022-04-07 00:53:31 +00:00
|
|
|
which))
|
2022-04-07 02:24:48 +00:00
|
|
|
(home-page "https://scipy.org/")
|
2019-12-02 13:04:39 +00:00
|
|
|
(synopsis "The Scipy library provides efficient numerical routines")
|
|
|
|
(description "The SciPy library is one of the core packages that make up
|
|
|
|
the SciPy stack. It provides many user-friendly and efficient numerical
|
|
|
|
routines such as routines for numerical integration and optimization.")
|
|
|
|
(properties `((python2-variant . ,(delay python2-scipy))))
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
|
|
;; Version 1.2.2 is the last version to support Python 2
|
|
|
|
(define-public python2-scipy
|
|
|
|
(package
|
|
|
|
(inherit (package-with-python2
|
|
|
|
(strip-python2-variant python-scipy)))
|
|
|
|
(version "1.2.2")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (pypi-uri "scipy" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2021-12-08 22:45:21 +00:00
|
|
|
"1cgvgin8fvckv96hjh3ikmwkra5rif51bdb75ifzf7xbil5iwcx4"))))
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list python2-cython
|
|
|
|
python2-pytest
|
|
|
|
python2-sphinx
|
|
|
|
python2-numpydoc
|
|
|
|
gfortran-7
|
|
|
|
gcc-7
|
|
|
|
perl
|
|
|
|
which))))
|
2019-12-02 13:04:39 +00:00
|
|
|
|
2020-04-30 11:00:40 +00:00
|
|
|
(define-public python2-weave
|
|
|
|
(package
|
|
|
|
(name "python2-weave")
|
|
|
|
(version "0.16.0")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (pypi-uri "weave" version))
|
|
|
|
(sha256
|
|
|
|
(base32 "0jnm3584mfichgwgrd1gk5i42ll9c08nkw9716n947n4338f6ghs"))))
|
|
|
|
(build-system python-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:python ,python-2
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(replace 'check
|
|
|
|
(lambda _
|
|
|
|
(invoke "nosetests" "-v"
|
|
|
|
"--exclude"
|
|
|
|
"test_(user|incorrect_ownership|char_fail|obj_fail)"))))))
|
|
|
|
(propagated-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list python2-numpy))
|
2020-04-30 11:00:40 +00:00
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list python2-nose))
|
2020-04-30 11:00:40 +00:00
|
|
|
(home-page "https://www.scipy.org/")
|
|
|
|
(synopsis "Tools for including C/C++ code within Python code")
|
|
|
|
(description "Weave is the stand-alone version of the obsolete Scipy
|
|
|
|
submodule @code{scipy.weave}. It is Python 2.x only, and is provided for
|
|
|
|
users that need new versions of Scipy but have existing code that still
|
|
|
|
depends on @code{scipy.weave}. For new code, users are recommended to use
|
|
|
|
Cython.")
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
2020-07-08 09:46:58 +00:00
|
|
|
(define-public python-scikit-fuzzy
|
|
|
|
(package
|
|
|
|
(name "python-scikit-fuzzy")
|
|
|
|
(version "0.4.2")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (pypi-uri "scikit-fuzzy" version))
|
|
|
|
(sha256
|
|
|
|
(base32 "0bp1n771fj44kdp7a00bcvfwirvv2rc803b7g6yf3va7v0j29c8s"))))
|
|
|
|
(build-system python-build-system)
|
2022-01-12 19:15:09 +00:00
|
|
|
(arguments '(#:tests? #f)) ;XXX: not compatible with newer numpy.testing
|
2020-07-08 09:46:58 +00:00
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list python-nose))
|
2020-07-08 09:46:58 +00:00
|
|
|
(propagated-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list python-networkx python-numpy python-scipy))
|
2020-07-08 09:46:58 +00:00
|
|
|
(home-page "https://github.com/scikit-fuzzy/scikit-fuzzy")
|
|
|
|
(synopsis "Fuzzy logic toolkit for SciPy")
|
|
|
|
(description
|
|
|
|
"This package implements many useful tools for projects involving fuzzy
|
|
|
|
logic, also known as grey logic.")
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
2019-12-01 15:42:49 +00:00
|
|
|
(define-public python-scikit-image
|
|
|
|
(package
|
|
|
|
(name "python-scikit-image")
|
2022-02-25 05:05:27 +00:00
|
|
|
(version "0.19.2")
|
2019-12-01 15:42:49 +00:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (pypi-uri "scikit-image" version))
|
|
|
|
(sha256
|
2022-02-25 05:05:27 +00:00
|
|
|
(base32 "0vc6c78780jivsg79ja0cncn1ma2wysy9fyz97kik0kg59jb8cyl"))))
|
2019-12-01 15:42:49 +00:00
|
|
|
(build-system python-build-system)
|
|
|
|
(arguments
|
2021-03-09 15:51:14 +00:00
|
|
|
`(#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-before 'build 'change-home-dir
|
|
|
|
(lambda _
|
|
|
|
;; Change from /homeless-shelter to /tmp for write permission.
|
|
|
|
(setenv "HOME" "/tmp")
|
|
|
|
#t))
|
|
|
|
(replace 'build
|
|
|
|
(lambda _
|
|
|
|
(invoke "make")))
|
|
|
|
(replace 'check
|
|
|
|
(lambda _
|
|
|
|
;; The following tests require online data.
|
|
|
|
(invoke "python" "-m" "pytest" "skimage" "--doctest-modules" "-k"
|
|
|
|
(string-append "not test_ndim"
|
|
|
|
" and not test_skin")))))))
|
2021-03-09 14:15:54 +00:00
|
|
|
;; See requirements/ for the list of build and run time requirements.
|
2021-03-09 15:51:14 +00:00
|
|
|
;; NOTE: scikit-image has an optional dependency on python-pooch, however
|
|
|
|
;; propagating it would enable many more tests that require online data.
|
2019-12-01 15:42:49 +00:00
|
|
|
(propagated-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list python-cloudpickle
|
|
|
|
python-dask
|
|
|
|
python-imageio
|
|
|
|
python-matplotlib
|
|
|
|
python-networkx
|
|
|
|
python-numpy
|
|
|
|
python-pillow
|
2022-02-18 20:40:24 +00:00
|
|
|
python-pythran
|
2021-12-13 16:18:24 +00:00
|
|
|
python-pywavelets
|
|
|
|
python-scipy
|
|
|
|
python-tifffile))
|
2019-12-01 15:42:49 +00:00
|
|
|
(native-inputs
|
2022-02-18 20:40:24 +00:00
|
|
|
(list python-cython
|
2021-12-13 16:18:24 +00:00
|
|
|
python-pytest
|
2022-02-18 20:40:24 +00:00
|
|
|
python-pytest-localserver))
|
2020-01-18 19:08:27 +00:00
|
|
|
(home-page "https://scikit-image.org/")
|
2019-12-01 15:42:49 +00:00
|
|
|
(synopsis "Image processing in Python")
|
|
|
|
(description
|
|
|
|
"Scikit-image is a collection of algorithms for image processing.")
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
2022-03-16 11:36:35 +00:00
|
|
|
(define-public python-scikit-allel
|
|
|
|
(package
|
|
|
|
(name "python-scikit-allel")
|
|
|
|
(version "1.3.5")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (pypi-uri "scikit-allel" version))
|
|
|
|
(sha256
|
|
|
|
(base32 "1vg88ng6gd175gzk39iz1drxig5l91dyx398w2kbw3w8036zv8gj"))))
|
|
|
|
(build-system python-build-system)
|
|
|
|
(arguments
|
|
|
|
(list
|
|
|
|
#:phases
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
(replace 'check
|
|
|
|
(lambda* (#:key tests? #:allow-other-keys)
|
|
|
|
(when tests?
|
|
|
|
(invoke "python" "setup.py" "build_ext" "--inplace")
|
|
|
|
(invoke "python" "-m" "pytest" "-v" "allel"
|
|
|
|
;; AttributeError: 'Dataset' object has no attribute 'asstr'
|
|
|
|
"-k" (string-append
|
|
|
|
"not test_vcf_to_hdf5"
|
|
|
|
" and not test_vcf_to_hdf5_exclude"
|
|
|
|
" and not test_vcf_to_hdf5_rename"
|
|
|
|
" and not test_vcf_to_hdf5_group"
|
|
|
|
" and not test_vcf_to_hdf5_ann"))))))))
|
|
|
|
(propagated-inputs
|
|
|
|
(list python-dask
|
|
|
|
python-numpy))
|
|
|
|
(native-inputs
|
|
|
|
(list python-cython
|
|
|
|
;; The following are all needed for the tests
|
|
|
|
htslib
|
|
|
|
python-h5py
|
|
|
|
python-hmmlearn
|
|
|
|
python-numexpr
|
|
|
|
python-pytest
|
|
|
|
python-scipy
|
|
|
|
python-setuptools-scm
|
|
|
|
python-zarr))
|
|
|
|
(home-page "https://github.com/cggh/scikit-allel")
|
|
|
|
(synopsis "Explore and analyze genetic variation data")
|
|
|
|
(description
|
|
|
|
"This package provides utilities for exploratory analysis of large scale
|
|
|
|
genetic variation data.")
|
|
|
|
(license license:expat)))
|
|
|
|
|
2020-08-16 01:49:43 +00:00
|
|
|
(define-public python-sgp4
|
|
|
|
(package
|
|
|
|
(name "python-sgp4")
|
|
|
|
(version "2.12")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (pypi-uri "sgp4" version))
|
|
|
|
(sha256
|
|
|
|
(base32 "0dncp9i5b6afkg7f8mj9j0qzsp008b8v73yc0qkmizhpns7mvwvx"))))
|
|
|
|
(build-system python-build-system)
|
|
|
|
(propagated-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list python-numpy))
|
2020-08-16 01:49:43 +00:00
|
|
|
(home-page "https://github.com/brandon-rhodes/python-sgp4")
|
|
|
|
(synopsis "Track earth satellite TLE orbits using SGP4")
|
|
|
|
(description
|
|
|
|
"This package provides a Python implementation of the most recent version
|
|
|
|
of the SGP4 satellite tracking algorithm.")
|
|
|
|
(license license:expat)))
|
|
|
|
|
2022-04-07 16:31:37 +00:00
|
|
|
(define-public python-trimesh
|
|
|
|
(package
|
|
|
|
(name "python-trimesh")
|
|
|
|
(version "3.10.7")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (pypi-uri "trimesh" version))
|
|
|
|
(sha256
|
|
|
|
(base32 "0bw55cwxlxds0j54naijh64sdb0rkscx4i1fy0ql94h96kw2p2ir"))))
|
|
|
|
(build-system python-build-system)
|
|
|
|
(propagated-inputs
|
|
|
|
(list python-numpy))
|
|
|
|
(native-inputs
|
|
|
|
(list python-coveralls
|
|
|
|
python-pyinstrument
|
|
|
|
python-pytest
|
|
|
|
python-pytest-cov))
|
|
|
|
(arguments
|
|
|
|
`(;; TODO: Get tests to work.
|
|
|
|
#:tests? #f
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-after 'unpack 'fix-build
|
|
|
|
(lambda _
|
|
|
|
(substitute* "trimesh/resources/templates/blender_boolean.py"
|
|
|
|
(("\\$MESH_PRE")
|
|
|
|
"'$MESH_PRE'")))))))
|
|
|
|
(home-page "https://github.com/mikedh/trimesh")
|
|
|
|
(synopsis "Python library for loading and using triangular meshes")
|
|
|
|
(description
|
|
|
|
"Trimesh is a pure Python library for loading and using triangular meshes
|
|
|
|
with an emphasis on watertight surfaces. The goal of the library is to provide
|
|
|
|
a full featured and well tested Trimesh object which allows for easy
|
|
|
|
manipulation and analysis, in the style of the Polygon object in the Shapely
|
|
|
|
library.")
|
|
|
|
(license license:expat)))
|
|
|
|
|
2019-12-04 07:56:36 +00:00
|
|
|
(define-public python-pandas
|
|
|
|
(package
|
|
|
|
(name "python-pandas")
|
2022-04-18 19:55:35 +00:00
|
|
|
(version "1.4.2")
|
2019-12-04 07:56:36 +00:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (pypi-uri "pandas" version))
|
|
|
|
(sha256
|
2022-04-18 19:55:35 +00:00
|
|
|
(base32 "04lsak3j5hq2hk0vfjf532rdxdqmg2akamdl4yl3qipihp2izg4j"))))
|
2019-12-04 07:56:36 +00:00
|
|
|
(build-system python-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:modules ((guix build utils)
|
|
|
|
(guix build python-build-system)
|
|
|
|
(ice-9 ftw)
|
2021-07-28 17:21:22 +00:00
|
|
|
(srfi srfi-1)
|
2019-12-04 07:56:36 +00:00
|
|
|
(srfi srfi-26))
|
2021-07-28 17:21:22 +00:00
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
2022-04-18 19:27:38 +00:00
|
|
|
(add-after 'unpack 'enable-parallel-build
|
|
|
|
(lambda _
|
|
|
|
(substitute* "setup.py"
|
|
|
|
(("\"-j\", type=int, default=1")
|
|
|
|
(format #f "\"-j\", type=int, default=~a"
|
|
|
|
(parallel-job-count))))))
|
2021-07-28 17:21:22 +00:00
|
|
|
(add-after 'unpack 'patch-which
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
(let ((which (assoc-ref inputs "which")))
|
|
|
|
(substitute* "pandas/io/clipboard/__init__.py"
|
|
|
|
(("^WHICH_CMD = .*")
|
|
|
|
(string-append "WHICH_CMD = \"" which "\"\n"))))))
|
|
|
|
(add-before 'check 'prepare-x
|
|
|
|
(lambda _
|
|
|
|
(system "Xvfb &")
|
|
|
|
(setenv "DISPLAY" ":0")
|
|
|
|
;; xsel needs to write a log file.
|
|
|
|
(setenv "HOME" "/tmp")))
|
|
|
|
(replace 'check
|
2021-10-25 09:40:55 +00:00
|
|
|
(lambda* (#:key tests? #:allow-other-keys)
|
2021-07-28 17:21:22 +00:00
|
|
|
(let ((build-directory
|
|
|
|
(string-append
|
|
|
|
(getcwd) "/build/"
|
|
|
|
(first (scandir "build"
|
|
|
|
(cut string-prefix? "lib." <>))))))
|
2021-10-25 11:00:12 +00:00
|
|
|
(substitute* "pyproject.toml"
|
|
|
|
;; Not all data files are distributed with the tarball.
|
|
|
|
(("--strict-data-files ") ""))
|
2021-07-28 17:21:22 +00:00
|
|
|
(with-directory-excursion build-directory
|
2021-10-25 09:40:55 +00:00
|
|
|
(when tests?
|
|
|
|
(invoke "pytest" "-vv" "pandas" "--skip-slow"
|
|
|
|
"--skip-network"
|
2022-04-18 19:27:38 +00:00
|
|
|
"-n" (number->string (parallel-job-count))
|
2021-10-25 09:40:55 +00:00
|
|
|
"-k"
|
2021-12-28 04:21:53 +00:00
|
|
|
(string-append
|
|
|
|
;; These test access the internet (see:
|
|
|
|
;; https://github.com/pandas-dev/pandas/issues/45085).:
|
|
|
|
;; pandas/tests/io/xml/test_xml.py::test_wrong_url[lxml]
|
|
|
|
;; pandas/tests/io/xml/test_xml.py::test_wrong_url[etree]
|
|
|
|
"not test_wrong_url"
|
|
|
|
;; TODO: Missing input
|
|
|
|
" and not TestS3"
|
2022-04-18 19:27:38 +00:00
|
|
|
" and not s3"
|
|
|
|
;; This test fails when run with pytest-xdist
|
|
|
|
;; (see:
|
|
|
|
;; https://github.com/pandas-dev/pandas/issues/39096).
|
|
|
|
" and not test_memory_usage"))))))))))
|
2019-12-04 07:56:36 +00:00
|
|
|
(propagated-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list python-jinja2
|
|
|
|
python-numpy
|
|
|
|
python-openpyxl
|
|
|
|
python-pytz
|
|
|
|
python-dateutil
|
2021-12-28 04:21:53 +00:00
|
|
|
python-xlrd
|
|
|
|
python-xlsxwriter))
|
2019-12-04 07:56:36 +00:00
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list which xclip xsel))
|
2019-12-04 07:56:36 +00:00
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list python-cython
|
|
|
|
python-beautifulsoup4
|
|
|
|
python-lxml
|
|
|
|
python-html5lib
|
|
|
|
python-pytest
|
|
|
|
python-pytest-mock
|
2022-04-18 19:27:38 +00:00
|
|
|
python-pytest-xdist
|
2021-12-13 16:18:24 +00:00
|
|
|
;; Needed to test clipboard support.
|
|
|
|
xorg-server-for-tests))
|
2019-12-04 07:56:36 +00:00
|
|
|
(home-page "https://pandas.pydata.org")
|
|
|
|
(synopsis "Data structures for data analysis, time series, and statistics")
|
|
|
|
(description
|
|
|
|
"Pandas is a Python package providing fast, flexible, and expressive data
|
|
|
|
structures designed to make working with structured (tabular,
|
|
|
|
multidimensional, potentially heterogeneous) and time series data both easy
|
|
|
|
and intuitive. It aims to be the fundamental high-level building block for
|
|
|
|
doing practical, real world data analysis in Python.")
|
|
|
|
(properties `((python2-variant . ,(delay python2-pandas))))
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
|
|
;; Pandas 0.24.x are the last versions that support Python 2.
|
|
|
|
(define-public python2-pandas
|
|
|
|
(let ((pandas (package-with-python2
|
2022-01-21 21:19:26 +00:00
|
|
|
(strip-python2-variant python-pandas))))
|
2020-03-15 12:30:11 +00:00
|
|
|
(package
|
|
|
|
(inherit pandas)
|
|
|
|
(version "0.24.2")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (pypi-uri "pandas" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"18imlm8xbhcbwy4wa957a1fkamrcb0z988z006jpfda3ki09z4ag"))
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
(snippet
|
|
|
|
'(begin
|
|
|
|
;; Adjust for renamed error message in Python 2.7.17. Taken
|
|
|
|
;; from <https://github.com/pandas-dev/pandas/pull/29294>.
|
|
|
|
(substitute* "pandas/io/parsers.py"
|
|
|
|
(("if 'NULL byte' in msg:")
|
2021-09-29 20:42:25 +00:00
|
|
|
"if 'NULL byte' in msg or 'line contains NUL' in msg:"))))))
|
|
|
|
(arguments
|
|
|
|
`(#:modules ((guix build utils)
|
|
|
|
(guix build python-build-system)
|
|
|
|
(ice-9 ftw)
|
|
|
|
(srfi srfi-26))
|
|
|
|
#:python ,python-2
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-after 'unpack 'patch-which
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
(let ((which (assoc-ref inputs "which")))
|
|
|
|
(substitute* "pandas/io/clipboard/__init__.py"
|
|
|
|
(("^CHECK_CMD = .*")
|
|
|
|
(string-append "CHECK_CMD = \"" which "\"\n"))))))
|
|
|
|
(replace 'check
|
|
|
|
(lambda _
|
|
|
|
(let ((build-directory
|
|
|
|
(string-append
|
|
|
|
(getcwd) "/build/"
|
|
|
|
(car (scandir "build"
|
|
|
|
(cut string-prefix? "lib." <>))))))
|
|
|
|
;; Disable the "strict data files" option which causes
|
|
|
|
;; the build to error out if required data files are
|
|
|
|
;; not available (as is the case with PyPI archives).
|
|
|
|
(substitute* "setup.cfg"
|
|
|
|
(("addopts = --strict-data-files") "addopts = "))
|
|
|
|
(with-directory-excursion build-directory
|
|
|
|
;; Delete tests that require "moto" which is not yet
|
|
|
|
;; in Guix.
|
|
|
|
(for-each delete-file
|
|
|
|
'("pandas/tests/io/conftest.py"
|
|
|
|
"pandas/tests/io/json/test_compression.py"
|
|
|
|
"pandas/tests/io/parser/test_network.py"
|
|
|
|
"pandas/tests/io/test_parquet.py"))
|
|
|
|
(invoke "pytest" "-vv" "pandas" "--skip-slow"
|
|
|
|
"--skip-network" "-k"
|
|
|
|
;; XXX: Due to the deleted tests above.
|
|
|
|
"not test_read_s3_jsonl"))))))))
|
|
|
|
(propagated-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list python2-numpy python2-openpyxl python2-pytz python2-dateutil
|
|
|
|
python2-xlrd))
|
2021-09-29 20:42:25 +00:00
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list which))
|
2021-09-29 20:42:25 +00:00
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list python2-cython
|
|
|
|
python2-beautifulsoup4
|
|
|
|
python2-lxml
|
|
|
|
python2-html5lib
|
|
|
|
python2-nose
|
|
|
|
python2-pytest
|
|
|
|
python2-pytest-mock)))))
|
2020-06-20 18:30:28 +00:00
|
|
|
|
2021-12-16 08:48:02 +00:00
|
|
|
(define-public python2-pyflow
|
2021-05-31 07:30:51 +00:00
|
|
|
(package
|
2021-12-16 08:48:02 +00:00
|
|
|
(name "python2-pyflow")
|
2021-05-31 07:30:51 +00:00
|
|
|
(version "1.1.20")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
|
|
|
"https://github.com/Illumina/pyflow/releases/download/v"
|
|
|
|
version "/pyflow-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1bvfvviw58cndyn862qnv9nj3d9cd3a0dm4vc4sd9vwq8a6z1riv"))))
|
|
|
|
(build-system python-build-system)
|
|
|
|
(arguments
|
2021-12-16 08:48:02 +00:00
|
|
|
`(#:tests? #f ; There is no test suite.
|
|
|
|
;; There is no official Python 3-compatible version and upstream is
|
|
|
|
;; dead. See https://github.com/Illumina/pyflow/issues/20.
|
|
|
|
#:python ,python-2))
|
2021-05-31 07:30:51 +00:00
|
|
|
(home-page "https://illumina.github.io/pyflow/")
|
|
|
|
(synopsis "Tool to manage tasks in a task dependency graph")
|
|
|
|
(description "This package is a Python module to manage tasks in the
|
|
|
|
context of a task dependency graph. It has some similarities to make.")
|
|
|
|
(license license:bsd-2)))
|
|
|
|
|
2022-02-18 20:39:36 +00:00
|
|
|
(define-public python-pythran
|
|
|
|
(package
|
|
|
|
(name "python-pythran")
|
|
|
|
(version "0.11.0")
|
|
|
|
(home-page "https://github.com/serge-sans-paille/pythran")
|
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference (url home-page) (commit version)))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32 "0cm7wfcyvkp1wmq7n1lyf2d3sj6158jf63bagjpjmfnjwij19n0p"))
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
(snippet
|
|
|
|
'(begin
|
|
|
|
;; Remove bundled Boost and xsimd.
|
|
|
|
(delete-file-recursively "third_party")))))
|
|
|
|
(build-system python-build-system)
|
|
|
|
(arguments
|
|
|
|
(list #:phases
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
(add-after 'unpack 'do-not-install-third-parties
|
|
|
|
(lambda _
|
|
|
|
(substitute* "setup.py"
|
|
|
|
(("third_parties = .*")
|
|
|
|
"third_parties = []\n"))))
|
|
|
|
(replace 'check
|
|
|
|
(lambda* (#:key tests? #:allow-other-keys)
|
|
|
|
(when tests?
|
|
|
|
;; Remove compiler flag that trips newer GCC:
|
|
|
|
;; https://github.com/serge-sans-paille/pythran/issues/908
|
|
|
|
(substitute* "pythran/tests/__init__.py"
|
|
|
|
(("'-Wno-absolute-value',")
|
|
|
|
""))
|
|
|
|
(setenv "HOME" (getcwd))
|
|
|
|
;; This setup is modelled after the upstream CI system.
|
|
|
|
(call-with-output-file ".pythranrc"
|
|
|
|
(lambda (port)
|
|
|
|
(format port "[compiler]\nblas=openblas~%")))
|
|
|
|
(invoke "pytest" "-vv"
|
|
|
|
(string-append "--numprocesses="
|
|
|
|
(number->string
|
|
|
|
(parallel-job-count)))
|
|
|
|
"pythran/tests/test_cases.py")))))))
|
|
|
|
(native-inputs
|
|
|
|
;; For tests.
|
|
|
|
(list openblas python-pytest python-pytest-xdist))
|
|
|
|
(propagated-inputs
|
|
|
|
(list boost xsimd ;headers need to be available
|
|
|
|
python-beniget python-gast python-numpy python-ply))
|
|
|
|
(synopsis "Ahead of Time compiler for numeric kernels")
|
|
|
|
(description
|
|
|
|
"Pythran is an ahead of time compiler for a subset of the Python
|
|
|
|
language, with a focus on scientific computing. It takes a Python module
|
|
|
|
annotated with a few interface descriptions and turns it into a native
|
|
|
|
Python module with the same interface, but (hopefully) faster.")
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
2020-08-09 16:44:12 +00:00
|
|
|
(define-public python-bottleneck
|
|
|
|
(package
|
|
|
|
(name "python-bottleneck")
|
|
|
|
(version "1.3.2")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (pypi-uri "Bottleneck" version))
|
|
|
|
(sha256
|
|
|
|
(base32 "0wz5320jx3n4q2nsvwvc7cpi66b46qbals9v53m955rmcq5ry5r0"))))
|
|
|
|
(build-system python-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(replace 'check
|
|
|
|
(lambda _
|
|
|
|
(invoke "python" "setup.py" "pytest"))))))
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list python-hypothesis python-pytest python-pytest-runner))
|
2020-08-09 16:44:12 +00:00
|
|
|
(propagated-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list python-numpy))
|
2020-08-09 16:44:12 +00:00
|
|
|
(home-page "https://github.com/pydata/bottleneck")
|
|
|
|
(synopsis "Fast NumPy array functions written in C")
|
|
|
|
(description
|
|
|
|
"Bottleneck is a collection of fast, NaN-aware NumPy array functions
|
|
|
|
written in C.")
|
|
|
|
(license license:bsd-2)))
|
|
|
|
|
2020-11-22 03:05:25 +00:00
|
|
|
(define-public python-baycomp
|
|
|
|
(package
|
|
|
|
(name "python-baycomp")
|
|
|
|
(version "1.0.2")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (pypi-uri "baycomp" version))
|
|
|
|
(sha256
|
|
|
|
(base32 "1c1354a7b3g8slychjgyjxqdm8z40z9kviyl9n4g9kfpdg0p4d64"))))
|
|
|
|
(build-system python-build-system)
|
|
|
|
(propagated-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list python-matplotlib python-numpy python-scipy))
|
2020-11-22 03:05:25 +00:00
|
|
|
(home-page "https://github.com/janezd/baycomp")
|
|
|
|
(synopsis "Library for comparison of Bayesian classifiers")
|
|
|
|
(description
|
|
|
|
"Baycomp is a library for Bayesian comparison of classifiers. Functions
|
|
|
|
in the library compare two classifiers on one or on multiple data sets. They
|
|
|
|
compute three probabilities: the probability that the first classifier has
|
|
|
|
higher scores than the second, the probability that differences are within the
|
|
|
|
region of practical equivalence (rope), or that the second classifier has
|
|
|
|
higher scores.")
|
|
|
|
(license license:expat)))
|
|
|
|
|
2020-06-20 18:30:28 +00:00
|
|
|
(define-public python-xarray
|
|
|
|
(package
|
|
|
|
(name "python-xarray")
|
|
|
|
(version "0.15.1")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (pypi-uri "xarray" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1yx8j66b7rn10m2l6gmn8yr9cn38pi5cj0x0wwpy4hdnhy6i7qv4"))))
|
|
|
|
(build-system python-build-system)
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list python-setuptools-scm python-pytest))
|
2020-06-20 18:30:28 +00:00
|
|
|
(propagated-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list python-numpy python-pandas))
|
2020-06-20 18:30:28 +00:00
|
|
|
(arguments
|
|
|
|
`(#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(replace 'check
|
|
|
|
(lambda _
|
|
|
|
(invoke "pytest"))))))
|
|
|
|
(home-page "https://github.com/pydata/xarray")
|
|
|
|
(synopsis "N-D labeled arrays and datasets")
|
|
|
|
(description "Xarray (formerly xray) makes working with labelled
|
|
|
|
multi-dimensional arrays simple, efficient, and fun!
|
|
|
|
|
|
|
|
Xarray introduces labels in the form of dimensions, coordinates and attributes
|
|
|
|
on top of raw NumPy-like arrays, which allows for a more intuitive, more
|
|
|
|
concise, and less error-prone developer experience. The package includes a
|
|
|
|
large and growing library of domain-agnostic functions for advanced analytics
|
|
|
|
and visualization with these data structures.")
|
|
|
|
(license license:asl2.0)))
|
2020-06-23 15:12:46 +00:00
|
|
|
|
|
|
|
(define-public python-msgpack-numpy
|
|
|
|
(package
|
|
|
|
(name "python-msgpack-numpy")
|
|
|
|
(version "0.4.6.post0")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (pypi-uri "msgpack-numpy" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0syzy645mwcy7lfjwz6pc8f9p2vv1qk4limc8iina3l5nnf0rjyz"))))
|
|
|
|
(build-system python-build-system)
|
|
|
|
(propagated-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list python-msgpack python-numpy))
|
2020-06-23 15:12:46 +00:00
|
|
|
(home-page "https://github.com/lebedov/msgpack-numpy")
|
|
|
|
(synopsis
|
|
|
|
"Numpy data serialization using msgpack")
|
|
|
|
(description
|
|
|
|
"This package provides encoding and decoding routines that enable the
|
|
|
|
serialization and deserialization of numerical and array data types provided
|
|
|
|
by numpy using the highly efficient @code{msgpack} format. Serialization of
|
|
|
|
Python's native complex data types is also supported.")
|
|
|
|
(license license:bsd-3)))
|
2021-03-12 12:34:13 +00:00
|
|
|
|
2021-06-14 15:17:06 +00:00
|
|
|
(define-public python-ruffus
|
|
|
|
(package
|
|
|
|
(name "python-ruffus")
|
|
|
|
(version "2.8.4")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (pypi-uri "ruffus" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1ai673k1s94s8b6pyxai8mk17p6zvvyi87rl236fs6ls8mpdklvc"))))
|
|
|
|
(build-system python-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(delete 'check)
|
|
|
|
(add-after 'install 'check
|
|
|
|
(lambda* (#:key tests? inputs outputs #:allow-other-keys)
|
|
|
|
(when tests?
|
|
|
|
(add-installed-pythonpath inputs outputs)
|
|
|
|
(with-directory-excursion "ruffus/test"
|
|
|
|
(invoke "bash" "run_all_unit_tests3.cmd"))))))))
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list python-pytest))
|
2021-06-14 15:17:06 +00:00
|
|
|
(home-page "http://www.ruffus.org.uk")
|
|
|
|
(synopsis "Light-weight computational pipeline management")
|
|
|
|
(description
|
|
|
|
"Ruffus is designed to allow scientific and other analyses to be
|
|
|
|
automated with the minimum of fuss and the least effort.")
|
|
|
|
(license license:expat)))
|
|
|
|
|
2021-03-12 12:34:13 +00:00
|
|
|
(define-public python-statannot
|
|
|
|
(package
|
|
|
|
(name "python-statannot")
|
|
|
|
(version "0.2.3")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (pypi-uri "statannot" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1f8c2sylzr7lpjbyqxsqlp9xi8rj3d8c9hfh98x4jbb83zxc4026"))))
|
|
|
|
(build-system python-build-system)
|
|
|
|
(propagated-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list python-numpy python-seaborn python-matplotlib python-pandas
|
|
|
|
python-scipy))
|
2021-03-12 12:34:13 +00:00
|
|
|
(home-page
|
|
|
|
"https://github.com/webermarcolivier/statannot")
|
|
|
|
(synopsis "Add annotations to existing plots generated by seaborn")
|
|
|
|
(description
|
|
|
|
"This is a Python package to compute statistical test and add statistical
|
|
|
|
annotations on an existing boxplots and barplots generated by seaborn.")
|
|
|
|
(license license:expat)))
|
2021-03-12 12:56:12 +00:00
|
|
|
|
|
|
|
(define-public python-upsetplot
|
|
|
|
(package
|
|
|
|
(name "python-upsetplot")
|
2022-01-21 21:40:47 +00:00
|
|
|
(version "0.6.0")
|
2021-03-12 12:56:12 +00:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (pypi-uri "UpSetPlot" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2022-01-21 21:40:47 +00:00
|
|
|
"11zrykwnb00w5spx4mnsnm0f9gwrphdczainpmwkyyi50vipaa2l"))
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
(snippet
|
|
|
|
;; Patch for compatibility with newer setuptools:
|
|
|
|
;; https://github.com/jnothman/UpSetPlot/pull/178
|
|
|
|
'(substitute* "upsetplot/data.py"
|
|
|
|
(("import distutils")
|
|
|
|
"from distutils.version import LooseVersion")
|
|
|
|
(("if distutils\\.version\\.LooseVersion")
|
|
|
|
"if LooseVersion")))))
|
2021-03-12 12:56:12 +00:00
|
|
|
(build-system python-build-system)
|
|
|
|
(arguments
|
2022-01-21 21:40:47 +00:00
|
|
|
'(#:phases
|
2021-03-12 12:56:12 +00:00
|
|
|
(modify-phases %standard-phases
|
|
|
|
(replace 'check
|
2022-01-21 21:40:47 +00:00
|
|
|
(lambda* (#:key tests? #:allow-other-keys)
|
|
|
|
(when tests?
|
|
|
|
(invoke "pytest" "-v" "--doctest-modules")))))))
|
2021-03-12 12:56:12 +00:00
|
|
|
(propagated-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list python-matplotlib python-pandas))
|
2021-03-12 12:56:12 +00:00
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list python-pytest-runner python-pytest-cov))
|
2021-03-12 12:56:12 +00:00
|
|
|
(home-page "https://upsetplot.readthedocs.io")
|
|
|
|
(synopsis "Draw UpSet plots with Pandas and Matplotlib")
|
|
|
|
(description
|
|
|
|
"This is a Python implementation of UpSet plots by Lex et al.
|
|
|
|
UpSet plots are used to visualize set overlaps; like Venn diagrams but more
|
|
|
|
readable.")
|
|
|
|
(license license:bsd-3)))
|
2021-06-01 09:15:56 +00:00
|
|
|
|
|
|
|
(define-public python-vedo
|
|
|
|
(package
|
|
|
|
(name "python-vedo")
|
2022-04-22 20:26:08 +00:00
|
|
|
(version "2022.2.0")
|
2021-06-01 09:15:56 +00:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/marcomusy/vedo")
|
2022-04-22 20:26:08 +00:00
|
|
|
(commit (string-append "v" version))))
|
2021-06-01 09:15:56 +00:00
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2022-04-22 20:26:08 +00:00
|
|
|
"1hhv4xc4bphhd1zrnf7r6fpf65xvkdqmb1lh51qg1xpv91h2az0h"))))
|
2021-06-01 09:15:56 +00:00
|
|
|
(build-system python-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:phases
|
|
|
|
(modify-phases %standard-phases
|
2022-04-22 20:26:08 +00:00
|
|
|
(add-after 'unpack 'fix-tests
|
|
|
|
;; These tests require online data.
|
|
|
|
(lambda _
|
|
|
|
(substitute* "tests/common/test_actors.py"
|
|
|
|
(("^st = .*") "")
|
|
|
|
(("^assert isinstance\\(st\\.GetTexture\\(\\), .*") ""))
|
|
|
|
(delete-file "tests/common/test_pyplot.py")))
|
2021-06-01 09:15:56 +00:00
|
|
|
(add-after 'build 'mpi-setup
|
|
|
|
,%openmpi-setup)
|
|
|
|
(replace 'check
|
2022-04-22 20:25:54 +00:00
|
|
|
(lambda* (#:key tests? inputs outputs #:allow-other-keys)
|
|
|
|
(when tests?
|
|
|
|
(setenv "HOME" (getcwd))
|
|
|
|
(add-installed-pythonpath inputs outputs)
|
|
|
|
(with-directory-excursion "tests"
|
|
|
|
(for-each (lambda (dir)
|
|
|
|
(with-directory-excursion dir
|
|
|
|
(invoke "./run_all.sh")))
|
2022-04-22 20:26:04 +00:00
|
|
|
'("common" "dolfin"))))))
|
|
|
|
;; Disable the sanity check, which fails with the following error:
|
|
|
|
;;
|
2022-04-22 20:26:08 +00:00
|
|
|
;; ...checking requirements: ERROR: vedo==2022.2.0 DistributionNotFound(Requirement.parse('vtk<9.1.0'), {'vedo'})
|
2022-04-22 20:26:04 +00:00
|
|
|
(delete 'sanity-check))))
|
2022-04-22 20:26:08 +00:00
|
|
|
(native-inputs
|
|
|
|
(list pkg-config
|
2022-04-22 20:25:57 +00:00
|
|
|
python-pkgconfig))
|
2021-06-01 09:15:56 +00:00
|
|
|
(propagated-inputs
|
2022-04-22 20:26:08 +00:00
|
|
|
(list fenics
|
|
|
|
python-deprecated
|
|
|
|
python-matplotlib
|
|
|
|
python-numpy
|
2022-04-22 20:25:57 +00:00
|
|
|
vtk))
|
2021-06-01 09:15:56 +00:00
|
|
|
(home-page "https://github.com/marcomusy/vedo")
|
|
|
|
(synopsis
|
|
|
|
"Analysis and visualization of 3D objects and point clouds")
|
|
|
|
(description
|
|
|
|
"@code{vedo} is a fast and lightweight python module for
|
|
|
|
scientific analysis and visualization. The package provides a wide
|
|
|
|
range of functionalities for working with three-dimensional meshes and
|
|
|
|
point clouds. It can also be used to generate high quality
|
|
|
|
two-dimensional renderings such as scatter plots and histograms.
|
2022-04-22 20:26:08 +00:00
|
|
|
@code{vedo} is based on @code{vtk} and @code{numpy}.")
|
2021-06-01 09:15:56 +00:00
|
|
|
;; vedo is released under the Expat license. Included fonts are
|
|
|
|
;; covered by the OFL license and textures by the CC0 license.
|
|
|
|
;; The earth images are in the public domain.
|
|
|
|
(license (list license:expat
|
|
|
|
license:silofl1.1
|
|
|
|
license:cc0
|
|
|
|
license:public-domain))))
|
2021-07-13 09:29:34 +00:00
|
|
|
|
|
|
|
(define-public python-pandas-flavor
|
|
|
|
(package
|
|
|
|
(name "python-pandas-flavor")
|
|
|
|
(version "0.2.0")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (pypi-uri "pandas_flavor" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"12g4av8gpl6l83yza3h97j3f2jblqv69frlidrvdq8ny2rc6awbq"))))
|
|
|
|
(build-system python-build-system)
|
|
|
|
(propagated-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list python-pandas python-xarray))
|
2021-07-13 09:29:34 +00:00
|
|
|
(home-page "https://github.com/Zsailer/pandas_flavor")
|
|
|
|
(synopsis "Write your own flavor of Pandas")
|
|
|
|
(description "Pandas 0.23 added a simple API for registering accessors
|
|
|
|
with Pandas objects. Pandas-flavor extends Pandas' extension API by
|
|
|
|
|
|
|
|
@itemize
|
|
|
|
@item adding support for registering methods as well
|
|
|
|
@item making each of these functions backwards compatible with older versions
|
|
|
|
of Pandas
|
|
|
|
@end itemize")
|
|
|
|
(license license:expat)))
|
2021-07-13 09:30:03 +00:00
|
|
|
|
|
|
|
(define-public python-pingouin
|
|
|
|
(package
|
|
|
|
(name "python-pingouin")
|
2022-04-20 05:20:37 +00:00
|
|
|
(version "0.5.1")
|
2021-07-13 09:30:03 +00:00
|
|
|
(source
|
|
|
|
;; The PyPI tarball does not contain the tests.
|
|
|
|
(origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/raphaelvallat/pingouin")
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2022-04-20 05:20:37 +00:00
|
|
|
"10v3mwcmyc7rd2957cbmfcw66yw2y0fz7zcfyx46q8slbmd1d8d4"))))
|
2021-07-13 09:30:03 +00:00
|
|
|
(build-system python-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
;; On loading, Pingouin uses the outdated package to check if a newer
|
|
|
|
;; version is available on PyPI. This check adds an extra dependency
|
|
|
|
;; and is irrelevant to Guix users. So, disable it.
|
|
|
|
(add-after 'unpack 'remove-outdated-check
|
|
|
|
(lambda _
|
|
|
|
(substitute* "setup.py"
|
|
|
|
(("'outdated',") ""))
|
|
|
|
(substitute* "pingouin/__init__.py"
|
|
|
|
(("^from outdated[^\n]*") "")
|
|
|
|
(("^warn_if_outdated[^\n]*") ""))))
|
|
|
|
(replace 'check
|
|
|
|
(lambda* (#:key tests? #:allow-other-keys)
|
|
|
|
(when tests?
|
|
|
|
(invoke "pytest")))))))
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list python-pytest python-pytest-cov))
|
2021-07-13 09:30:03 +00:00
|
|
|
(propagated-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list python-matplotlib
|
|
|
|
python-mpmath
|
|
|
|
python-numpy
|
|
|
|
python-pandas
|
|
|
|
python-pandas-flavor
|
|
|
|
python-scikit-learn
|
|
|
|
python-scipy
|
|
|
|
python-seaborn
|
|
|
|
python-statsmodels
|
|
|
|
python-tabulate))
|
2021-07-13 09:30:03 +00:00
|
|
|
(home-page "https://pingouin-stats.org/")
|
|
|
|
(synopsis "Statistical package for Python")
|
|
|
|
(description "Pingouin is a statistical package written in Python 3 and
|
|
|
|
based mostly on Pandas and NumPy. Its features include
|
|
|
|
|
|
|
|
@itemize
|
|
|
|
@item ANOVAs: N-ways, repeated measures, mixed, ancova
|
|
|
|
@item Pairwise post-hocs tests (parametric and non-parametric) and pairwise
|
|
|
|
correlations
|
|
|
|
@item Robust, partial, distance and repeated measures correlations
|
|
|
|
@item Linear/logistic regression and mediation analysis
|
|
|
|
@item Bayes Factors
|
|
|
|
@item Multivariate tests
|
|
|
|
@item Reliability and consistency
|
|
|
|
@item Effect sizes and power analysis
|
|
|
|
@item Parametric/bootstrapped confidence intervals around an effect size or a
|
|
|
|
correlation coefficient
|
|
|
|
@item Circular statistics
|
|
|
|
@item Chi-squared tests
|
|
|
|
@item Plotting: Bland-Altman plot, Q-Q plot, paired plot, robust correlation,
|
|
|
|
and more
|
|
|
|
@end itemize")
|
|
|
|
(license license:gpl3)))
|
|
|
|
|
2021-07-28 18:24:02 +00:00
|
|
|
(define-public python-distributed
|
|
|
|
(package
|
|
|
|
(name "python-distributed")
|
2021-12-13 18:23:41 +00:00
|
|
|
(version "2021.11.2")
|
2021-07-28 18:24:02 +00:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
;; The test files are not included in the archive on pypi
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/dask/distributed")
|
|
|
|
(commit version)))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2021-12-13 18:23:41 +00:00
|
|
|
"1p20cbyabzl7rs8y3ydzszsskh4kw088m252ghgairhs0p2f95hl"))
|
|
|
|
;; Delete bundled copy of python-versioneer.
|
|
|
|
(snippet '(delete-file "versioneer.py"))))
|
2021-07-28 18:24:02 +00:00
|
|
|
(build-system python-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:phases
|
|
|
|
(modify-phases %standard-phases
|
2021-12-13 18:23:41 +00:00
|
|
|
(add-after 'unpack 'versioneer
|
|
|
|
(lambda _
|
|
|
|
(invoke "versioneer" "install")))
|
2021-07-28 18:24:02 +00:00
|
|
|
(add-after 'unpack 'fix-references
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
(substitute* '("distributed/comm/tests/test_ucx_config.py"
|
|
|
|
"distributed/tests/test_client.py"
|
|
|
|
"distributed/tests/test_queues.py"
|
|
|
|
"distributed/tests/test_variable.py"
|
|
|
|
"distributed/cli/tests/test_tls_cli.py"
|
|
|
|
"distributed/cli/tests/test_dask_spec.py"
|
|
|
|
"distributed/cli/tests/test_dask_worker.py"
|
|
|
|
"distributed/cli/tests/test_dask_scheduler.py")
|
|
|
|
(("\"dask-scheduler\"")
|
|
|
|
(format #false "\"~a/bin/dask-scheduler\""
|
|
|
|
(assoc-ref outputs "out")))
|
|
|
|
(("\"dask-worker\"")
|
|
|
|
(format #false "\"~a/bin/dask-worker\""
|
|
|
|
(assoc-ref outputs "out"))))))
|
|
|
|
(replace 'check
|
|
|
|
(lambda* (#:key tests? #:allow-other-keys)
|
|
|
|
(when tests?
|
|
|
|
(setenv "DISABLE_IPV6" "1")
|
|
|
|
(invoke "pytest" "-vv" "distributed"
|
|
|
|
"-m" "not slow and not gpu and not ipython and not avoid_ci"
|
|
|
|
"-k"
|
|
|
|
;; TODO: These tests fail for unknown reasons:
|
|
|
|
(string-append
|
2021-10-10 15:04:31 +00:00
|
|
|
;; TimeoutExpired
|
|
|
|
"not test_text"
|
|
|
|
;; AssertionError
|
|
|
|
" and not test_version_option"
|
2021-07-28 18:24:02 +00:00
|
|
|
;; "The 'distributed' distribution was not found"
|
|
|
|
" and not test_register_backend_entrypoint"
|
|
|
|
;; "AttributeError: module 'distributed.dashboard' has no attribute 'scheduler'"
|
|
|
|
" and not test_get_client_functions_spawn_clusters"))))))))
|
|
|
|
(propagated-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list python-click
|
|
|
|
python-cloudpickle
|
|
|
|
python-cryptography
|
|
|
|
python-dask
|
|
|
|
python-msgpack
|
|
|
|
python-psutil
|
|
|
|
python-pyyaml
|
|
|
|
python-setuptools
|
|
|
|
python-sortedcontainers
|
|
|
|
python-tblib
|
|
|
|
python-toolz
|
|
|
|
python-tornado-6
|
|
|
|
python-zict))
|
2021-07-28 18:24:02 +00:00
|
|
|
(native-inputs
|
2021-12-13 18:23:41 +00:00
|
|
|
(list python-pytest python-versioneer))
|
2021-07-28 18:24:02 +00:00
|
|
|
(home-page "https://distributed.dask.org")
|
|
|
|
(synopsis "Distributed scheduler for Dask")
|
|
|
|
(description "Dask.distributed is a lightweight library for distributed
|
|
|
|
computing in Python. It extends both the @code{concurrent.futures} and
|
|
|
|
@code{dask} APIs to moderate sized clusters.")
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
2021-07-28 18:29:21 +00:00
|
|
|
(define-public python-modin
|
|
|
|
(package
|
|
|
|
(name "python-modin")
|
|
|
|
(version "0.10.1")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
;; The archive on pypi does not include all required files.
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/modin-project/modin")
|
|
|
|
(commit version)))
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"128ghfb9ncmnn8km409xjcdppvn9nr9jqw8rkvsfavh7wnwlk509"))))
|
|
|
|
(build-system python-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-after 'unpack 'make-files-writable
|
|
|
|
(lambda _
|
|
|
|
(for-each make-file-writable (find-files "."))))
|
2022-01-12 13:44:39 +00:00
|
|
|
(add-after 'unpack 'loosen-requirements
|
|
|
|
(lambda _
|
|
|
|
(substitute* "setup.py"
|
|
|
|
;; Don't depend on a specific version of Pandas.
|
|
|
|
(("pandas==")
|
|
|
|
"pandas>="))))
|
2021-07-28 18:29:21 +00:00
|
|
|
(replace 'check
|
|
|
|
(lambda* (#:key tests? #:allow-other-keys)
|
|
|
|
(when tests?
|
|
|
|
(setenv "MODIN_ENGINE" "dask")
|
|
|
|
(invoke "python" "-m" "pytest"
|
|
|
|
"modin/pandas/test/test_concat.py")
|
|
|
|
(setenv "MODIN_ENGINE" "python")
|
|
|
|
(invoke "python" "-m" "pytest"
|
|
|
|
"modin/pandas/test/test_concat.py")))))))
|
|
|
|
(propagated-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list python-cloudpickle
|
|
|
|
python-dask
|
|
|
|
python-distributed
|
|
|
|
python-numpy
|
|
|
|
python-packaging
|
|
|
|
python-pandas))
|
2021-07-28 18:29:21 +00:00
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
(list python-coverage
|
|
|
|
python-jinja2
|
|
|
|
python-lxml
|
|
|
|
python-matplotlib
|
|
|
|
python-msgpack
|
|
|
|
python-openpyxl
|
|
|
|
python-psutil
|
|
|
|
python-pyarrow
|
|
|
|
python-pytest
|
|
|
|
python-pytest-benchmark
|
|
|
|
python-pytest-cov
|
|
|
|
python-pytest-xdist
|
|
|
|
python-scipy
|
|
|
|
python-sqlalchemy
|
|
|
|
python-tables
|
|
|
|
python-tqdm
|
|
|
|
python-xarray
|
|
|
|
python-xlrd))
|
2021-07-28 18:29:21 +00:00
|
|
|
(home-page "https://github.com/modin-project/modin")
|
|
|
|
(synopsis "Make your pandas code run faster")
|
|
|
|
(description
|
|
|
|
"Modin uses Ray or Dask to provide an effortless way to speed up your
|
|
|
|
pandas notebooks, scripts, and libraries. Unlike other distributed DataFrame
|
|
|
|
libraries, Modin provides seamless integration and compatibility with existing
|
|
|
|
pandas code.")
|
|
|
|
(license license:asl2.0)))
|
2022-03-31 12:33:25 +00:00
|
|
|
|
|
|
|
(define-public python-numpy-groupies
|
|
|
|
(package
|
|
|
|
(name "python-numpy-groupies")
|
|
|
|
(version "0.9.14")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (pypi-uri "numpy_groupies" version))
|
|
|
|
(sha256
|
|
|
|
(base32 "000qz0z78rs3l6y0dd2vzvd2lx3mczm2762whwsdnhz6c35axdq1"))))
|
|
|
|
(build-system python-build-system)
|
|
|
|
(native-inputs
|
|
|
|
(list python-pytest
|
|
|
|
python-pytest-runner
|
|
|
|
python-numba
|
|
|
|
python-numpy))
|
|
|
|
(home-page "https://github.com/ml31415/numpy-groupies")
|
|
|
|
(synopsis "Tools for group-indexing operations: aggregated sum and more")
|
|
|
|
(description
|
|
|
|
"This package provides optimized tools for group-indexing operations:
|
|
|
|
aggregated sum and more.")
|
|
|
|
(license license:bsd-3)))
|
2022-05-06 08:33:23 +00:00
|
|
|
|
|
|
|
(define-public python-traittypes
|
|
|
|
(package
|
|
|
|
(name "python-traittypes")
|
|
|
|
(version "0.2.1")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (pypi-uri "traittypes" version))
|
|
|
|
(sha256
|
|
|
|
(base32 "1mlv93irdrgxrhnhq3ksi9585d55bpi4mv9dha4p8gkkjiia4vxy"))))
|
|
|
|
(build-system python-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(replace 'check
|
|
|
|
(lambda* (#:key tests? #:allow-other-keys)
|
|
|
|
(when tests?
|
|
|
|
;; This one test fails because it doesn't raise an expected
|
|
|
|
;; exception.
|
|
|
|
(invoke "pytest" "-vv" "-k" "not test_bad_values")))))))
|
|
|
|
(propagated-inputs (list python-traitlets))
|
|
|
|
(native-inputs
|
|
|
|
(list python-numpy
|
|
|
|
python-pandas
|
|
|
|
python-nose
|
|
|
|
python-pytest
|
|
|
|
python-xarray))
|
|
|
|
(home-page "https://github.com/jupyter-widgets/traittypes")
|
|
|
|
(synopsis "Trait types for NumPy, SciPy and friends")
|
|
|
|
(description "The goal of this package is to provide a reference
|
|
|
|
implementation of trait types for common data structures used in the scipy
|
|
|
|
stack such as numpy arrays or pandas and xarray data structures. These are
|
|
|
|
out of the scope of the main traitlets project but are a common requirement to
|
|
|
|
build applications with traitlets in combination with the scipy stack.")
|
|
|
|
(license license:bsd-3)))
|
2022-05-20 12:49:27 +00:00
|
|
|
|
|
|
|
(define-public python-aplus
|
|
|
|
(package
|
|
|
|
(name "python-aplus")
|
|
|
|
(version "0.11.0")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (pypi-uri "aplus" version))
|
|
|
|
(sha256
|
|
|
|
(base32 "1rznc26nlp641rn8gpdngfp79a3fji38yavqakxi35mx2da04msg"))))
|
|
|
|
(build-system python-build-system)
|
|
|
|
(home-page "https://github.com/xogeny/aplus")
|
|
|
|
(synopsis "Promises/A+ for Python")
|
|
|
|
(description "This package is an implementation of the Promises/A+
|
|
|
|
specification and test suite in Python.")
|
|
|
|
(license license:expat)))
|