diff options
author | Jen Herting <jen@herting.cc> | 2021-12-15 21:56:13 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-15 18:56:13 -0800 |
commit | 3b4c62266154159a952a21b616cbe4aac2ca827e (patch) | |
tree | a7741fa2208a62a7fb1bfb0d966d6e1ad16656b9 /var | |
parent | ba87593afd76645ef10b91bd9a7fa35c73cb9c65 (diff) | |
download | spack-3b4c62266154159a952a21b616cbe4aac2ca827e.tar.gz spack-3b4c62266154159a952a21b616cbe4aac2ca827e.tar.bz2 spack-3b4c62266154159a952a21b616cbe4aac2ca827e.tar.xz spack-3b4c62266154159a952a21b616cbe4aac2ca827e.zip |
New package: py-copulas (#27920)
Co-authored-by: Sid Pendelberry <sid@rit.edu>
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-copulas/package.py | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-copulas/package.py b/var/spack/repos/builtin/packages/py-copulas/package.py new file mode 100644 index 0000000000..fa19e4251b --- /dev/null +++ b/var/spack/repos/builtin/packages/py-copulas/package.py @@ -0,0 +1,28 @@ +# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack import * + + +class PyCopulas(PythonPackage): + """Copulas is a Python library for modeling multivariate + distributions and sampling from them using copula + functions. Given a table containing numerical data, we can + use Copulas to learn the distribution and later on generate + new synthetic rows following the same statistical + properties.""" + + homepage = "https://github.com/sdv-dev/Copulas" + pypi = "copulas/copulas-0.6.0.tar.gz" + + version('0.6.0', sha256='9de6cc738769db19794fc18e2f506a4b5ee17e6902519c0842a4698c0efb6749') + + depends_on('python@3.6:', type=('build', 'run')) + depends_on('py-setuptools', type='build') + depends_on('py-matplotlib@3.2:3', type=('build', 'run')) + depends_on('py-numpy@1.18:1.19', type=('build', 'run'), when='^python@3.6') + depends_on('py-numpy@1.20:1', type=('build', 'run'), when='^python@3.7:') + depends_on('py-pandas@1.1.3:1', type=('build', 'run')) + depends_on('py-scipy@1.5.4:1', type=('build', 'run')) |