summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorCarson Woods <carsonwoods@users.noreply.github.com>2022-11-02 14:42:10 -0400
committerGitHub <noreply@github.com>2022-11-02 12:42:10 -0600
commit0661c1f531a5a9ea4d69388a944d138e7e0bd578 (patch)
treecbd6aec3f58ef324a00cf3eb9a18f6cced7a19cc /var
parent4b549560f9a5143971efc87d9e111505f71b22b0 (diff)
downloadspack-0661c1f531a5a9ea4d69388a944d138e7e0bd578.tar.gz
spack-0661c1f531a5a9ea4d69388a944d138e7e0bd578.tar.bz2
spack-0661c1f531a5a9ea4d69388a944d138e7e0bd578.tar.xz
spack-0661c1f531a5a9ea4d69388a944d138e7e0bd578.zip
Package: add new package py-fitter (#33652)
* Add new python package * Fix isort style issues * Add additional dependencies * Add additional dependencies * Remove comments * Add additional explicit dependencies
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-fitter/package.py29
1 files changed, 29 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-fitter/package.py b/var/spack/repos/builtin/packages/py-fitter/package.py
new file mode 100644
index 0000000000..b3640e2f61
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-fitter/package.py
@@ -0,0 +1,29 @@
+# Copyright 2013-2022 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.package import *
+
+
+class PyFitter(PythonPackage):
+ """fitter package provides a simple class to identify the distribution
+ from which a data samples is generated from. It uses 80 distributions
+ from Scipy and allows you to plot the results to check what is the
+ most probable distribution and the best parameters."""
+
+ homepage = "https://github.com/cokelaer/fitter"
+ pypi = "fitter/fitter-1.5.1.tar.gz"
+
+ maintainers = ["carsonwoods"]
+
+ version("1.5.1", sha256="893b35ad0a84c3b96b63ec203a6a79effdba98777aed966ae61709f5e1e8cf99")
+
+ depends_on("py-setuptools", type="build")
+
+ depends_on("py-pandas", type=("build", "run"))
+ depends_on("py-numpy", type=("build", "run"))
+ depends_on("py-scipy@0.18:", type=("build", "run"))
+ depends_on("py-tqdm", type=("build", "run"))
+ depends_on("py-joblib", type=("build", "run"))
+ depends_on("py-click", type=("build", "run"))
+ depends_on("py-matplotlib", type=("build", "run"))