diff options
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-data-genie.spec | 155 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 157 insertions, 0 deletions
@@ -0,0 +1 @@ +/data-genie-1.3.9.tar.gz diff --git a/python-data-genie.spec b/python-data-genie.spec new file mode 100644 index 0000000..cf9280d --- /dev/null +++ b/python-data-genie.spec @@ -0,0 +1,155 @@ +%global _empty_manifest_terminate_build 0 +Name: python-data-genie +Version: 1.3.9 +Release: 1 +Summary: A small genie to generate test data +License: MIT License +URL: https://github.com/mkeshav/data-genie.git +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/ee/1d/cf30c06adeb44d54e548ed0d74ef51171c11c736281aa8d02e8ed5fbc7d3/data-genie-1.3.9.tar.gz +BuildArch: noarch + +Requires: python3-pandas +Requires: python3-jinja2 +Requires: python3-markovify +Requires: python3-lark-parser +Requires: python3-data-science-types + +%description +[](https://circleci.com/gh/mkeshav/data-genie) +[](https://badge.fury.io/py/data-genie) +[](https://data-genie.readthedocs.io/en/latest/?badge=latest) +[](https://www.codacy.com/gh/mkeshav/data-genie/dashboard?utm_source=github.com&utm_medium=referral&utm_content=mkeshav/data-genie&utm_campaign=Badge_Grade) +[](https://www.codacy.com/gh/mkeshav/data-genie/dashboard?utm_source=github.com&utm_medium=referral&utm_content=mkeshav/data-genie&utm_campaign=Badge_Coverage) + +# Data Genie + +Genie that can satisfy your data wish. + +## QuickStart + +- `python3 -m pip install data-genie` +- Detailed [Documentation](https://data-genie.readthedocs.io) + +## Supported Formats + +- Fixed Width +- Delimited (CSV) +- JSON + +## Data quality + +`dqc` module allows to write data quality checks on pandas data frame. + + + + +%package -n python3-data-genie +Summary: A small genie to generate test data +Provides: python-data-genie +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-data-genie +[](https://circleci.com/gh/mkeshav/data-genie) +[](https://badge.fury.io/py/data-genie) +[](https://data-genie.readthedocs.io/en/latest/?badge=latest) +[](https://www.codacy.com/gh/mkeshav/data-genie/dashboard?utm_source=github.com&utm_medium=referral&utm_content=mkeshav/data-genie&utm_campaign=Badge_Grade) +[](https://www.codacy.com/gh/mkeshav/data-genie/dashboard?utm_source=github.com&utm_medium=referral&utm_content=mkeshav/data-genie&utm_campaign=Badge_Coverage) + +# Data Genie + +Genie that can satisfy your data wish. + +## QuickStart + +- `python3 -m pip install data-genie` +- Detailed [Documentation](https://data-genie.readthedocs.io) + +## Supported Formats + +- Fixed Width +- Delimited (CSV) +- JSON + +## Data quality + +`dqc` module allows to write data quality checks on pandas data frame. + + + + +%package help +Summary: Development documents and examples for data-genie +Provides: python3-data-genie-doc +%description help +[](https://circleci.com/gh/mkeshav/data-genie) +[](https://badge.fury.io/py/data-genie) +[](https://data-genie.readthedocs.io/en/latest/?badge=latest) +[](https://www.codacy.com/gh/mkeshav/data-genie/dashboard?utm_source=github.com&utm_medium=referral&utm_content=mkeshav/data-genie&utm_campaign=Badge_Grade) +[](https://www.codacy.com/gh/mkeshav/data-genie/dashboard?utm_source=github.com&utm_medium=referral&utm_content=mkeshav/data-genie&utm_campaign=Badge_Coverage) + +# Data Genie + +Genie that can satisfy your data wish. + +## QuickStart + +- `python3 -m pip install data-genie` +- Detailed [Documentation](https://data-genie.readthedocs.io) + +## Supported Formats + +- Fixed Width +- Delimited (CSV) +- JSON + +## Data quality + +`dqc` module allows to write data quality checks on pandas data frame. + + + + +%prep +%autosetup -n data-genie-1.3.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-data-genie -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 1.3.9-1 +- Package Spec generated @@ -0,0 +1 @@ +3be23752974e5ed05f8deb4d04ab6493 data-genie-1.3.9.tar.gz |
