summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-tadasets.spec257
-rw-r--r--sources1
3 files changed, 259 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..d57a903 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/tadasets-0.0.4.tar.gz
diff --git a/python-tadasets.spec b/python-tadasets.spec
new file mode 100644
index 0000000..013aa6a
--- /dev/null
+++ b/python-tadasets.spec
@@ -0,0 +1,257 @@
+%global _empty_manifest_terminate_build 0
+Name: python-tadasets
+Version: 0.0.4
+Release: 1
+Summary: Great data sets for Topological Data Analysis.
+License: MIT
+URL: https://tadasets.scikit-tda.org
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/85/31/2848ac75c41a504bc978aeabfa27a3a8737c074d4e51aaaf12aaea8eedff/tadasets-0.0.4.tar.gz
+BuildArch: noarch
+
+Requires: python3-numpy
+Requires: python3-matplotlib
+Requires: python3-sphinx
+Requires: python3-nbsphinx
+Requires: python3-sphinx-better-theme
+Requires: python3-sphinxcontrib-fulltoc
+Requires: python3-pytest
+Requires: python3-scipy
+
+%description
+[![PyPI version](https://badge.fury.io/py/tadasets.svg)](https://badge.fury.io/py/tadasets)
+[![Build Status](https://travis-ci.org/scikit-tda/tadasets.svg?branch=master)](https://travis-ci.org/scikit-tda/tadasets)
+[![Codecov](https://codecov.io/gh/scikit-tda/tadasets/branch/master/graph/badge.svg)](https://codecov.io/gh/scikit-tda/tadasets)
+[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
+
+
+# TaDAsets
+Data sets apt for Topological Data Analysis. This project is a part of scikit-tda.
+
+## Motivation
+
+At SoCG 2018, there was discussion about the need for data sets for two main purposes
+- Benchmarking new algorithms
+- Demonstrating benefits of TDA
+
+## Data generation
+
+We provide constructors for some synthetic data sets that are popular in development and testing of TDA techniques.
+
+* Torus
+* Klein Bottle
+* Swiss Roll
+
+## Setup and Usage
+
+You can install from Pypi
+```
+pip install tadasets
+```
+
+or from source
+
+```
+git clone https://github.com/scikit-tda/tadasets
+cd tadasets
+pip install -e .
+```
+
+Examples of usage is
+
+```
+import tadasets
+data = tadasets.sphere(n=1000, r=10)
+tadasets.plot3d(data)
+```
+
+or
+
+```
+import tadasets
+data = tadasets.swiss_roll(n=1000, r=10)
+tadasets.plot3d(data)
+```
+
+## Contributions
+
+This package is in the very early stages of development. As I think of shapes and data sets, I add them. If you have ideas, please do suggest them in an issue and submit a pull request! All contributions are welcome.
+
+
+
+
+%package -n python3-tadasets
+Summary: Great data sets for Topological Data Analysis.
+Provides: python-tadasets
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-tadasets
+[![PyPI version](https://badge.fury.io/py/tadasets.svg)](https://badge.fury.io/py/tadasets)
+[![Build Status](https://travis-ci.org/scikit-tda/tadasets.svg?branch=master)](https://travis-ci.org/scikit-tda/tadasets)
+[![Codecov](https://codecov.io/gh/scikit-tda/tadasets/branch/master/graph/badge.svg)](https://codecov.io/gh/scikit-tda/tadasets)
+[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
+
+
+# TaDAsets
+Data sets apt for Topological Data Analysis. This project is a part of scikit-tda.
+
+## Motivation
+
+At SoCG 2018, there was discussion about the need for data sets for two main purposes
+- Benchmarking new algorithms
+- Demonstrating benefits of TDA
+
+## Data generation
+
+We provide constructors for some synthetic data sets that are popular in development and testing of TDA techniques.
+
+* Torus
+* Klein Bottle
+* Swiss Roll
+
+## Setup and Usage
+
+You can install from Pypi
+```
+pip install tadasets
+```
+
+or from source
+
+```
+git clone https://github.com/scikit-tda/tadasets
+cd tadasets
+pip install -e .
+```
+
+Examples of usage is
+
+```
+import tadasets
+data = tadasets.sphere(n=1000, r=10)
+tadasets.plot3d(data)
+```
+
+or
+
+```
+import tadasets
+data = tadasets.swiss_roll(n=1000, r=10)
+tadasets.plot3d(data)
+```
+
+## Contributions
+
+This package is in the very early stages of development. As I think of shapes and data sets, I add them. If you have ideas, please do suggest them in an issue and submit a pull request! All contributions are welcome.
+
+
+
+
+%package help
+Summary: Development documents and examples for tadasets
+Provides: python3-tadasets-doc
+%description help
+[![PyPI version](https://badge.fury.io/py/tadasets.svg)](https://badge.fury.io/py/tadasets)
+[![Build Status](https://travis-ci.org/scikit-tda/tadasets.svg?branch=master)](https://travis-ci.org/scikit-tda/tadasets)
+[![Codecov](https://codecov.io/gh/scikit-tda/tadasets/branch/master/graph/badge.svg)](https://codecov.io/gh/scikit-tda/tadasets)
+[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
+
+
+# TaDAsets
+Data sets apt for Topological Data Analysis. This project is a part of scikit-tda.
+
+## Motivation
+
+At SoCG 2018, there was discussion about the need for data sets for two main purposes
+- Benchmarking new algorithms
+- Demonstrating benefits of TDA
+
+## Data generation
+
+We provide constructors for some synthetic data sets that are popular in development and testing of TDA techniques.
+
+* Torus
+* Klein Bottle
+* Swiss Roll
+
+## Setup and Usage
+
+You can install from Pypi
+```
+pip install tadasets
+```
+
+or from source
+
+```
+git clone https://github.com/scikit-tda/tadasets
+cd tadasets
+pip install -e .
+```
+
+Examples of usage is
+
+```
+import tadasets
+data = tadasets.sphere(n=1000, r=10)
+tadasets.plot3d(data)
+```
+
+or
+
+```
+import tadasets
+data = tadasets.swiss_roll(n=1000, r=10)
+tadasets.plot3d(data)
+```
+
+## Contributions
+
+This package is in the very early stages of development. As I think of shapes and data sets, I add them. If you have ideas, please do suggest them in an issue and submit a pull request! All contributions are welcome.
+
+
+
+
+%prep
+%autosetup -n tadasets-0.0.4
+
+%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-tadasets -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.4-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..ccb9b06
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+1ab93de2fe9dbbedc188432d8356f7e6 tadasets-0.0.4.tar.gz