diff options
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-dataprofiler.spec | 115 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 117 insertions, 0 deletions
@@ -0,0 +1 @@ +/DataProfiler-0.8.9.tar.gz diff --git a/python-dataprofiler.spec b/python-dataprofiler.spec new file mode 100644 index 0000000..04a157e --- /dev/null +++ b/python-dataprofiler.spec @@ -0,0 +1,115 @@ +%global _empty_manifest_terminate_build 0 +Name: python-DataProfiler +Version: 0.8.9 +Release: 1 +Summary: What is in your data? Detect schema, statistics and entities in almost any file. +License: Apache License, Version 2.0 +URL: https://github.com/capitalone/data-profiler +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/12/0b/299643869b4ca22693510b9bf367e3e952845dbebc65155430a28b22a733/DataProfiler-0.8.9.tar.gz +BuildArch: noarch + +Requires: python3-h5py +Requires: python3-wheel +Requires: python3-numpy +Requires: python3-pandas +Requires: python3-dateutil +Requires: python3-pytz +Requires: python3-pyarrow +Requires: python3-chardet +Requires: python3-fastavro +Requires: python3-snappy +Requires: python3-charset-normalizer +Requires: python3-psutil +Requires: python3-scipy +Requires: python3-requests +Requires: python3-networkx +Requires: python3-typing-extensions +Requires: python3-scikit-learn +Requires: python3-keras +Requires: python3-rapidfuzz +Requires: python3-tqdm +Requires: python3-matplotlib +Requires: python3-seaborn +Requires: python3-tensorflow +Requires: python3-tensorflow +Requires: python3-tensorflow-macos +Requires: python3-scikit-learn +Requires: python3-keras +Requires: python3-rapidfuzz +Requires: python3-tqdm +Requires: python3-tensorflow +Requires: python3-tensorflow +Requires: python3-tensorflow-macos +Requires: python3-matplotlib +Requires: python3-seaborn + +%description +# Install +**To install the full package from pypi**: `pip install DataProfiler[full]` +If you want to install the ml dependencies without generating reports use `DataProfiler[ml]` +If the ML requirements are too strict (say, you don't want to install tensorflow), you can install a slimmer package with `DataProfiler[reports]`. The slimmer package disables the default sensitive data detection / entity recognition (labler) + +%package -n python3-DataProfiler +Summary: What is in your data? Detect schema, statistics and entities in almost any file. +Provides: python-DataProfiler +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-DataProfiler +# Install +**To install the full package from pypi**: `pip install DataProfiler[full]` +If you want to install the ml dependencies without generating reports use `DataProfiler[ml]` +If the ML requirements are too strict (say, you don't want to install tensorflow), you can install a slimmer package with `DataProfiler[reports]`. The slimmer package disables the default sensitive data detection / entity recognition (labler) + +%package help +Summary: Development documents and examples for DataProfiler +Provides: python3-DataProfiler-doc +%description help +# Install +**To install the full package from pypi**: `pip install DataProfiler[full]` +If you want to install the ml dependencies without generating reports use `DataProfiler[ml]` +If the ML requirements are too strict (say, you don't want to install tensorflow), you can install a slimmer package with `DataProfiler[reports]`. The slimmer package disables the default sensitive data detection / entity recognition (labler) + +%prep +%autosetup -n DataProfiler-0.8.9 + +%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-DataProfiler -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.8.9-1 +- Package Spec generated @@ -0,0 +1 @@ +7ec086425fa1ef5aca004dba0695504c DataProfiler-0.8.9.tar.gz |
