%global _empty_manifest_terminate_build 0
Name: python-pyhelpers
Version: 1.5.0
Release: 1
Summary: An open-source toolkit for facilitating Python users' data manipulation tasks.
License: GPLv3+
URL: https://github.com/mikeqfu/pyhelpers
Source0: https://mirrors.aliyun.com/pypi/web/packages/b8/4d/88a14bfef0cb19051d0ff51822ea2635d16f7a9525d50cfb5ae6b3da6e97/pyhelpers-1.5.0.tar.gz
BuildArch: noarch
Requires: python3-numpy
Requires: python3-pyproj
Requires: python3-Shapely
Requires: python3-pandas
Requires: python3-requests
Requires: python3-SQLAlchemy
Requires: python3-psycopg2
%description
# PyHelpers
[](https://docs.python.org/3/)
[](https://pyhelpers.readthedocs.io/en/latest/?badge=latest)
[](https://github.com/mikeqfu/pyhelpers/blob/master/LICENSE)
[](https://www.codacy.com/gh/mikeqfu/pyhelpers/dashboard?utm_source=github.com&utm_medium=referral&utm_content=mikeqfu/pyhelpers&utm_campaign=Badge_Grade)
[](https://zenodo.org/badge/latestdoi/173177909)
PyHelpers is a lightweight open-source Python package designed as a versatile toolkit for simplifying data (pre)processing tasks. It offers a comprehensive range of practical utilities to facilitate common data manipulation operations. These utilities encompass the ability to read and write file-like objects, efficiently handle various data types such as geographical and textual data, and establish streamlined communication with relational databases like PostgreSQL and Microsoft SQL Server.
## Installation
To install the latest release of pyhelpers from [PyPI](https://pypi.org/project/pyhelpers/) via [pip](https://pip.pypa.io/en/stable/cli/pip/):
```bash
pip install --upgrade pyhelpers
```
For more information, please refer to [Installation](https://pyhelpers.readthedocs.io/en/latest/installation.html).
## Documentation
The full PyHelpers documentation (including detailed examples and a quick-start tutorial) is hosted on [ReadTheDocs](https://readthedocs.org/projects/pyhelpers/): [[HTML](https://pyhelpers.readthedocs.io/en/latest/)\] \[[PDF](https://pyhelpers.readthedocs.io/_/downloads/en/latest/pdf/)].
## Cite as
Fu, Q. (2020). PyHelpers: an open-source toolkit for facilitating Python users' data manipulation tasks. Zenodo. [doi:10.5281/zenodo.4017438](https://doi.org/10.5281/zenodo.4017438)
```bibtex
@software{qian_fu_pyhelpers_4017438,
author = {Qian Fu},
title = {{PyHelpers: an open-source toolkit for facilitating
Python users' data manipulation tasks}},
year = 2020,
publisher = {Zenodo},
doi = {10.5281/zenodo.4017438},
url = {https://doi.org/10.5281/zenodo.4017438}
}
```
(Please also refer to the export options from [Zenodo](https://zenodo.org/search?page=1&size=20&q=conceptrecid:%224017438%22&sort=-version&all_versions=True) to reference the specific version of PyHelpers as appropriate.)
## Contributors
## License
PyHelpers is licensed under [GNU General Public License v3](https://github.com/mikeqfu/pyhelpers/blob/master/LICENSE) or later (GPLv3+).
%package -n python3-pyhelpers
Summary: An open-source toolkit for facilitating Python users' data manipulation tasks.
Provides: python-pyhelpers
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
%description -n python3-pyhelpers
# PyHelpers
[](https://docs.python.org/3/)
[](https://pyhelpers.readthedocs.io/en/latest/?badge=latest)
[](https://github.com/mikeqfu/pyhelpers/blob/master/LICENSE)
[](https://www.codacy.com/gh/mikeqfu/pyhelpers/dashboard?utm_source=github.com&utm_medium=referral&utm_content=mikeqfu/pyhelpers&utm_campaign=Badge_Grade)
[](https://zenodo.org/badge/latestdoi/173177909)
PyHelpers is a lightweight open-source Python package designed as a versatile toolkit for simplifying data (pre)processing tasks. It offers a comprehensive range of practical utilities to facilitate common data manipulation operations. These utilities encompass the ability to read and write file-like objects, efficiently handle various data types such as geographical and textual data, and establish streamlined communication with relational databases like PostgreSQL and Microsoft SQL Server.
## Installation
To install the latest release of pyhelpers from [PyPI](https://pypi.org/project/pyhelpers/) via [pip](https://pip.pypa.io/en/stable/cli/pip/):
```bash
pip install --upgrade pyhelpers
```
For more information, please refer to [Installation](https://pyhelpers.readthedocs.io/en/latest/installation.html).
## Documentation
The full PyHelpers documentation (including detailed examples and a quick-start tutorial) is hosted on [ReadTheDocs](https://readthedocs.org/projects/pyhelpers/): [[HTML](https://pyhelpers.readthedocs.io/en/latest/)\] \[[PDF](https://pyhelpers.readthedocs.io/_/downloads/en/latest/pdf/)].
## Cite as
Fu, Q. (2020). PyHelpers: an open-source toolkit for facilitating Python users' data manipulation tasks. Zenodo. [doi:10.5281/zenodo.4017438](https://doi.org/10.5281/zenodo.4017438)
```bibtex
@software{qian_fu_pyhelpers_4017438,
author = {Qian Fu},
title = {{PyHelpers: an open-source toolkit for facilitating
Python users' data manipulation tasks}},
year = 2020,
publisher = {Zenodo},
doi = {10.5281/zenodo.4017438},
url = {https://doi.org/10.5281/zenodo.4017438}
}
```
(Please also refer to the export options from [Zenodo](https://zenodo.org/search?page=1&size=20&q=conceptrecid:%224017438%22&sort=-version&all_versions=True) to reference the specific version of PyHelpers as appropriate.)
## Contributors
## License
PyHelpers is licensed under [GNU General Public License v3](https://github.com/mikeqfu/pyhelpers/blob/master/LICENSE) or later (GPLv3+).
%package help
Summary: Development documents and examples for pyhelpers
Provides: python3-pyhelpers-doc
%description help
# PyHelpers
[](https://docs.python.org/3/)
[](https://pyhelpers.readthedocs.io/en/latest/?badge=latest)
[](https://github.com/mikeqfu/pyhelpers/blob/master/LICENSE)
[](https://www.codacy.com/gh/mikeqfu/pyhelpers/dashboard?utm_source=github.com&utm_medium=referral&utm_content=mikeqfu/pyhelpers&utm_campaign=Badge_Grade)
[](https://zenodo.org/badge/latestdoi/173177909)
PyHelpers is a lightweight open-source Python package designed as a versatile toolkit for simplifying data (pre)processing tasks. It offers a comprehensive range of practical utilities to facilitate common data manipulation operations. These utilities encompass the ability to read and write file-like objects, efficiently handle various data types such as geographical and textual data, and establish streamlined communication with relational databases like PostgreSQL and Microsoft SQL Server.
## Installation
To install the latest release of pyhelpers from [PyPI](https://pypi.org/project/pyhelpers/) via [pip](https://pip.pypa.io/en/stable/cli/pip/):
```bash
pip install --upgrade pyhelpers
```
For more information, please refer to [Installation](https://pyhelpers.readthedocs.io/en/latest/installation.html).
## Documentation
The full PyHelpers documentation (including detailed examples and a quick-start tutorial) is hosted on [ReadTheDocs](https://readthedocs.org/projects/pyhelpers/): [[HTML](https://pyhelpers.readthedocs.io/en/latest/)\] \[[PDF](https://pyhelpers.readthedocs.io/_/downloads/en/latest/pdf/)].
## Cite as
Fu, Q. (2020). PyHelpers: an open-source toolkit for facilitating Python users' data manipulation tasks. Zenodo. [doi:10.5281/zenodo.4017438](https://doi.org/10.5281/zenodo.4017438)
```bibtex
@software{qian_fu_pyhelpers_4017438,
author = {Qian Fu},
title = {{PyHelpers: an open-source toolkit for facilitating
Python users' data manipulation tasks}},
year = 2020,
publisher = {Zenodo},
doi = {10.5281/zenodo.4017438},
url = {https://doi.org/10.5281/zenodo.4017438}
}
```
(Please also refer to the export options from [Zenodo](https://zenodo.org/search?page=1&size=20&q=conceptrecid:%224017438%22&sort=-version&all_versions=True) to reference the specific version of PyHelpers as appropriate.)
## Contributors
## License
PyHelpers is licensed under [GNU General Public License v3](https://github.com/mikeqfu/pyhelpers/blob/master/LICENSE) or later (GPLv3+).
%prep
%autosetup -n pyhelpers-1.5.0
%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-pyhelpers -f filelist.lst
%dir %{python3_sitelib}/*
%files help -f doclist.lst
%{_docdir}/*
%changelog
* Fri Jun 09 2023 Python_Bot - 1.5.0-1
- Package Spec generated