From 94595416c8107053309c9e8dc6474bc1d20f3a96 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Thu, 18 May 2023 06:15:00 +0000 Subject: automatic import of python-applpy --- .gitignore | 1 + python-applpy.spec | 195 +++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 197 insertions(+) create mode 100644 python-applpy.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..26cf6ba 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/APPLPy-0.4.12.tar.gz diff --git a/python-applpy.spec b/python-applpy.spec new file mode 100644 index 0000000..2007e2f --- /dev/null +++ b/python-applpy.spec @@ -0,0 +1,195 @@ +%global _empty_manifest_terminate_build 0 +Name: python-APPLPy +Version: 0.4.12 +Release: 1 +Summary: open source computational probability software +License: LICENSE.txt +URL: https://pypi.python.org/pypi/APPLPy/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/a3/cf/11a75d2f9c74ce613223f9a940d966e410838538310a4c1e26693f3a3cf3/APPLPy-0.4.12.tar.gz +BuildArch: noarch + + +%description +APPLPy +A Probability Programming Language -- Python Edition + +What is APPLPy? + +APPLPy stands for A Probability Programming Language -- Python Edition. The primary goal of APPLPy is to provide an open-source conceptual probability package capable of manipulating random variables symbolically. Although the Python implementation is a recent development, a version based on the Maple computer algebra system has been used for over a decade. The Maple implementation, called APPL, has been successfully integrated into mathematical statistics and computing courses at the College of William and Mary, the United States Military Academy and Colorado College, while also facilitating research in areas ranging from order statistics to queuing theory. The hope of APPLPy is to make the computational capabilities of APPL available to researchers and educators on an open-source platform. + +The current capabilities of APPLPy include: + +1. Conversion between PDF,CDF,SF,HF,CHF and IDF representations of random variables +2. Computation of expected values, with both numeric and symbolic output +3. Plotting distributions, including piece-wise distributions +4. One-to-one and many-to-one transformations of piecewise distributions +5. Random Variable Algebra (Sums/Differences/Products/Division) +6. Random sampling from distributions +7. Bootstrapping data sets +8. Bayesian inference with ad-hoc prior distributions +9. Computation of distributions for M/M/s queues +10. Analysis of Discrete Time Markov Chains + +How is APPLPy Used? + +Although APPLPy can be used for a variety of purposes, it is best suited to fill three special roles. First, it enables students to gain an intuitive understanding of mathematical statistics by automating tedious, calculus-intensive algorithms. As such, students can experiment with different models without having to perform difficult derivations or produce ad-hoc code. Second, it allows students to check hand derived results. This aids the learning process by providing a quick and reliable answer key. Finally, it allows researchers to explore systems whose properties would be intractable to derive by hand. As mentioned above, the Maple-based APPL software has already spawned a variety of insightful research. APPLPy has the potential to continue along this pathway. The simplicity of APPLPy's syntax allow users to explore stochastic models with ease. + +INSTALLATION: + +ApplPy requires the following dependencies in order to run properly: + +1. SymPy +2. Matplotlib + +The latests stable release of both of these packages can be downloading +from the python package index at https://pypi.python.org/pypi + +The latest working edition of APPLPy is available on GitHub and the latest +stable release is available from the python package index. To install the +software, open the directory where APPLPy has been downloaded and type +the following command + +$ python setup.py install + +If you have any comments or suggestions for APPLPy, feel free to contact the author at mthw.wm.robinson@gmail.com. Users with Python experience are encouraged to get in touch and contribute. + +%package -n python3-APPLPy +Summary: open source computational probability software +Provides: python-APPLPy +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-APPLPy +APPLPy +A Probability Programming Language -- Python Edition + +What is APPLPy? + +APPLPy stands for A Probability Programming Language -- Python Edition. The primary goal of APPLPy is to provide an open-source conceptual probability package capable of manipulating random variables symbolically. Although the Python implementation is a recent development, a version based on the Maple computer algebra system has been used for over a decade. The Maple implementation, called APPL, has been successfully integrated into mathematical statistics and computing courses at the College of William and Mary, the United States Military Academy and Colorado College, while also facilitating research in areas ranging from order statistics to queuing theory. The hope of APPLPy is to make the computational capabilities of APPL available to researchers and educators on an open-source platform. + +The current capabilities of APPLPy include: + +1. Conversion between PDF,CDF,SF,HF,CHF and IDF representations of random variables +2. Computation of expected values, with both numeric and symbolic output +3. Plotting distributions, including piece-wise distributions +4. One-to-one and many-to-one transformations of piecewise distributions +5. Random Variable Algebra (Sums/Differences/Products/Division) +6. Random sampling from distributions +7. Bootstrapping data sets +8. Bayesian inference with ad-hoc prior distributions +9. Computation of distributions for M/M/s queues +10. Analysis of Discrete Time Markov Chains + +How is APPLPy Used? + +Although APPLPy can be used for a variety of purposes, it is best suited to fill three special roles. First, it enables students to gain an intuitive understanding of mathematical statistics by automating tedious, calculus-intensive algorithms. As such, students can experiment with different models without having to perform difficult derivations or produce ad-hoc code. Second, it allows students to check hand derived results. This aids the learning process by providing a quick and reliable answer key. Finally, it allows researchers to explore systems whose properties would be intractable to derive by hand. As mentioned above, the Maple-based APPL software has already spawned a variety of insightful research. APPLPy has the potential to continue along this pathway. The simplicity of APPLPy's syntax allow users to explore stochastic models with ease. + +INSTALLATION: + +ApplPy requires the following dependencies in order to run properly: + +1. SymPy +2. Matplotlib + +The latests stable release of both of these packages can be downloading +from the python package index at https://pypi.python.org/pypi + +The latest working edition of APPLPy is available on GitHub and the latest +stable release is available from the python package index. To install the +software, open the directory where APPLPy has been downloaded and type +the following command + +$ python setup.py install + +If you have any comments or suggestions for APPLPy, feel free to contact the author at mthw.wm.robinson@gmail.com. Users with Python experience are encouraged to get in touch and contribute. + +%package help +Summary: Development documents and examples for APPLPy +Provides: python3-APPLPy-doc +%description help +APPLPy +A Probability Programming Language -- Python Edition + +What is APPLPy? + +APPLPy stands for A Probability Programming Language -- Python Edition. The primary goal of APPLPy is to provide an open-source conceptual probability package capable of manipulating random variables symbolically. Although the Python implementation is a recent development, a version based on the Maple computer algebra system has been used for over a decade. The Maple implementation, called APPL, has been successfully integrated into mathematical statistics and computing courses at the College of William and Mary, the United States Military Academy and Colorado College, while also facilitating research in areas ranging from order statistics to queuing theory. The hope of APPLPy is to make the computational capabilities of APPL available to researchers and educators on an open-source platform. + +The current capabilities of APPLPy include: + +1. Conversion between PDF,CDF,SF,HF,CHF and IDF representations of random variables +2. Computation of expected values, with both numeric and symbolic output +3. Plotting distributions, including piece-wise distributions +4. One-to-one and many-to-one transformations of piecewise distributions +5. Random Variable Algebra (Sums/Differences/Products/Division) +6. Random sampling from distributions +7. Bootstrapping data sets +8. Bayesian inference with ad-hoc prior distributions +9. Computation of distributions for M/M/s queues +10. Analysis of Discrete Time Markov Chains + +How is APPLPy Used? + +Although APPLPy can be used for a variety of purposes, it is best suited to fill three special roles. First, it enables students to gain an intuitive understanding of mathematical statistics by automating tedious, calculus-intensive algorithms. As such, students can experiment with different models without having to perform difficult derivations or produce ad-hoc code. Second, it allows students to check hand derived results. This aids the learning process by providing a quick and reliable answer key. Finally, it allows researchers to explore systems whose properties would be intractable to derive by hand. As mentioned above, the Maple-based APPL software has already spawned a variety of insightful research. APPLPy has the potential to continue along this pathway. The simplicity of APPLPy's syntax allow users to explore stochastic models with ease. + +INSTALLATION: + +ApplPy requires the following dependencies in order to run properly: + +1. SymPy +2. Matplotlib + +The latests stable release of both of these packages can be downloading +from the python package index at https://pypi.python.org/pypi + +The latest working edition of APPLPy is available on GitHub and the latest +stable release is available from the python package index. To install the +software, open the directory where APPLPy has been downloaded and type +the following command + +$ python setup.py install + +If you have any comments or suggestions for APPLPy, feel free to contact the author at mthw.wm.robinson@gmail.com. Users with Python experience are encouraged to get in touch and contribute. + +%prep +%autosetup -n APPLPy-0.4.12 + +%build +%py3_build + +%install +%py3_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} +if [ -d usr/lib ]; then + find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst +fi +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-APPLPy -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Thu May 18 2023 Python_Bot - 0.4.12-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..700f92a --- /dev/null +++ b/sources @@ -0,0 +1 @@ +9a62a40a9f2e22a7129ef84038627646 APPLPy-0.4.12.tar.gz -- cgit v1.2.3