diff options
Diffstat (limited to 'python-pingouin.spec')
-rw-r--r-- | python-pingouin.spec | 137 |
1 files changed, 137 insertions, 0 deletions
diff --git a/python-pingouin.spec b/python-pingouin.spec new file mode 100644 index 0000000..4b4139b --- /dev/null +++ b/python-pingouin.spec @@ -0,0 +1,137 @@ +%global _empty_manifest_terminate_build 0 +Name: python-pingouin +Version: 0.5.5 +Release: 1 +Summary: Pingouin: statistical package for Python +License: GPL-3.0 +URL: https://pingouin-stats.org/index.html +Source0: https://files.pythonhosted.org/packages/0e/3d/14a779790bac2d03a0d8f82c1857fc83c0ef8b1b77542b884808e55ee839/pingouin-0.5.5.tar.gz +BuildArch: noarch + +Requires: (python3-matplotlib) +Requires: (python3-numpy) +Requires: (python3-pandas>=1.5) +Requires: (python3-pandas-flavor) +Requires: (python3-scikit-learn>=1.2) +Requires: (python3-scipy) +Requires: (python3-seaborn) +Requires: (python3-statsmodels) +Requires: (python3-tabulate) +Requires: (python3-sphinx>7.0.0) +Requires: (python3-pydata-sphinx-theme) +Requires: (python3-numpydoc) +Requires: (python3-sphinx-copybutton) +Requires: (python3-sphinx-design) +Requires: (python3-sphinx-notfound-page) +Requires: (python3-pytest>=6) +Requires: (python3-pytest-cov) +Requires: (python3-codecov) +Requires: (python3-openpyxl) +Requires: (python3-mpmath) +Requires: (python3-coverage[toml]>=5.3) + +%description +**Pingouin** is an open-source statistical package written in Python 3 and based mostly on Pandas and NumPy. Some of its main features are listed below. For a full list of available functions, please refer to the `API documentation <https://pingouin-stats.org/build/html/api.html#>`_. +1. ANOVAs: N-ways, repeated measures, mixed, ancova +2. Pairwise post-hocs tests (parametric and non-parametric) and pairwise correlations +3. Robust, partial, distance and repeated measures correlations +4. Linear/logistic regression and mediation analysis +5. Bayes Factors +6. Multivariate tests +7. Reliability and consistency +8. Effect sizes and power analysis +9. Parametric/bootstrapped confidence intervals around an effect size or a correlation coefficient +10. Circular statistics +11. Chi-squared tests +12. Plotting: Bland-Altman plot, Q-Q plot, paired plot, robust correlation... +Pingouin is designed for users who want **simple yet exhaustive statistical functions**. +For example, the :code:`ttest_ind` function of SciPy returns only the T-value and the p-value. By contrast, +the :code:`ttest` function of Pingouin returns the T-value, the p-value, the degrees of freedom, the effect size (Cohen's d), the 95% confidence intervals of the difference in means, the statistical power and the Bayes Factor (BF10) of the test. + +%package -n python3-pingouin +Summary: Pingouin: statistical package for Python +Provides: python-pingouin +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-wheel +%description -n python3-pingouin +**Pingouin** is an open-source statistical package written in Python 3 and based mostly on Pandas and NumPy. Some of its main features are listed below. For a full list of available functions, please refer to the `API documentation <https://pingouin-stats.org/build/html/api.html#>`_. +1. ANOVAs: N-ways, repeated measures, mixed, ancova +2. Pairwise post-hocs tests (parametric and non-parametric) and pairwise correlations +3. Robust, partial, distance and repeated measures correlations +4. Linear/logistic regression and mediation analysis +5. Bayes Factors +6. Multivariate tests +7. Reliability and consistency +8. Effect sizes and power analysis +9. Parametric/bootstrapped confidence intervals around an effect size or a correlation coefficient +10. Circular statistics +11. Chi-squared tests +12. Plotting: Bland-Altman plot, Q-Q plot, paired plot, robust correlation... +Pingouin is designed for users who want **simple yet exhaustive statistical functions**. +For example, the :code:`ttest_ind` function of SciPy returns only the T-value and the p-value. By contrast, +the :code:`ttest` function of Pingouin returns the T-value, the p-value, the degrees of freedom, the effect size (Cohen's d), the 95% confidence intervals of the difference in means, the statistical power and the Bayes Factor (BF10) of the test. + +%package help +Summary: Development documents and examples for pingouin +Provides: python3-pingouin-doc +%description help +**Pingouin** is an open-source statistical package written in Python 3 and based mostly on Pandas and NumPy. Some of its main features are listed below. For a full list of available functions, please refer to the `API documentation <https://pingouin-stats.org/build/html/api.html#>`_. +1. ANOVAs: N-ways, repeated measures, mixed, ancova +2. Pairwise post-hocs tests (parametric and non-parametric) and pairwise correlations +3. Robust, partial, distance and repeated measures correlations +4. Linear/logistic regression and mediation analysis +5. Bayes Factors +6. Multivariate tests +7. Reliability and consistency +8. Effect sizes and power analysis +9. Parametric/bootstrapped confidence intervals around an effect size or a correlation coefficient +10. Circular statistics +11. Chi-squared tests +12. Plotting: Bland-Altman plot, Q-Q plot, paired plot, robust correlation... +Pingouin is designed for users who want **simple yet exhaustive statistical functions**. +For example, the :code:`ttest_ind` function of SciPy returns only the T-value and the p-value. By contrast, +the :code:`ttest` function of Pingouin returns the T-value, the p-value, the degrees of freedom, the effect size (Cohen's d), the 95% confidence intervals of the difference in means, the statistical power and the Bayes Factor (BF10) of the test. + +%prep +%autosetup -n pingouin-0.5.5 + +%build +%pyproject_build + +%install +%pyproject_install +install -d -m755 %{buildroot}/%{_pkgdocdir} +if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi +if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi +if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi +if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi +pushd %{buildroot} +touch filelist.lst +if [ -d usr/lib64 ]; then + find usr/lib64 -type f -printf "\"/%h/%f\"\n" >> filelist.lst +fi +if [ -d usr/bin ]; then + find usr/bin -type f -printf "\"/%h/%f\"\n" >> filelist.lst +fi +if [ -d usr/sbin ]; then + find usr/sbin -type f -printf "\"/%h/%f\"\n" >> filelist.lst +fi +touch doclist.lst +if [ -d usr/share/man ]; then + find usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lst +fi +popd +mv %{buildroot}/filelist.lst . +mv %{buildroot}/doclist.lst . + +%files -n python3-pingouin -f filelist.lst +%{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon Nov 11 2024 Python_Bot <Python_Bot@openeuler.org> - 0.5.5-1 +- Package Spec generated |