%global _empty_manifest_terminate_build 0 Name: python-addrmatcher Version: 0.0.2.5.10 Release: 1 Summary: Australian Address Matcher to Regions License: MIT License URL: https://github.com/uts-mdsi-ilab2-synergy/addrmatcher Source0: https://mirrors.nju.edu.cn/pypi/web/packages/01/83/b5f379f51c45c2827c24cb6b11c6b9774f688f99dfd6a22611556867fb81/addrmatcher-0.0.2.5.10.tar.gz BuildArch: noarch Requires: python3-rapidfuzz Requires: python3-scikit-learn Requires: python3-pyarrow Requires: python3-numpy Requires: python3-pandas Requires: python3-colorama Requires: python3-requests Requires: python3-Pillow %description Addrmatcher is an open-source Python software for matching input string addresses to the most similar street addresses and the geo coordinates inputs to the nearest street addresses. The result provides not only the matched addresses, but also the respective country’s different levels of regions for instance - in Australia, government administrative regions, statistical areas and suburb in which the address belongs to. The Addrmatcher library is built to work with rapidfuzz, scikit-learn, pandas, numpy and provides user-friendly output. It supports python version 3.6 and above. It runs on all popular operating systems, and quick to install and is free of charge. In this initial release, the scope of input data and matching capability are limited to Australian addresses only. The Addrmatcher library will see the opportunity to scale the matching beyond Australia in future. The package offers two matching capabilities - * __address-based matching__ accepts string address as argument. * __coordinate-based matching__ takes geo coordinate (latitude and longititude) as input. The development team achieved the optimal speed of matching less than one second for each address and each pair of coordinate input. The reference dataset is built upon GNAF(Geocoded National Address File) and ASGS(Australian Statistical Geography Standard) for the Australian addresses. The package users will require to download the optimised format of reference dataset into the working direcory once the package has been installed. %package -n python3-addrmatcher Summary: Australian Address Matcher to Regions Provides: python-addrmatcher BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-addrmatcher Addrmatcher is an open-source Python software for matching input string addresses to the most similar street addresses and the geo coordinates inputs to the nearest street addresses. The result provides not only the matched addresses, but also the respective country’s different levels of regions for instance - in Australia, government administrative regions, statistical areas and suburb in which the address belongs to. The Addrmatcher library is built to work with rapidfuzz, scikit-learn, pandas, numpy and provides user-friendly output. It supports python version 3.6 and above. It runs on all popular operating systems, and quick to install and is free of charge. In this initial release, the scope of input data and matching capability are limited to Australian addresses only. The Addrmatcher library will see the opportunity to scale the matching beyond Australia in future. The package offers two matching capabilities - * __address-based matching__ accepts string address as argument. * __coordinate-based matching__ takes geo coordinate (latitude and longititude) as input. The development team achieved the optimal speed of matching less than one second for each address and each pair of coordinate input. The reference dataset is built upon GNAF(Geocoded National Address File) and ASGS(Australian Statistical Geography Standard) for the Australian addresses. The package users will require to download the optimised format of reference dataset into the working direcory once the package has been installed. %package help Summary: Development documents and examples for addrmatcher Provides: python3-addrmatcher-doc %description help Addrmatcher is an open-source Python software for matching input string addresses to the most similar street addresses and the geo coordinates inputs to the nearest street addresses. The result provides not only the matched addresses, but also the respective country’s different levels of regions for instance - in Australia, government administrative regions, statistical areas and suburb in which the address belongs to. The Addrmatcher library is built to work with rapidfuzz, scikit-learn, pandas, numpy and provides user-friendly output. It supports python version 3.6 and above. It runs on all popular operating systems, and quick to install and is free of charge. In this initial release, the scope of input data and matching capability are limited to Australian addresses only. The Addrmatcher library will see the opportunity to scale the matching beyond Australia in future. The package offers two matching capabilities - * __address-based matching__ accepts string address as argument. * __coordinate-based matching__ takes geo coordinate (latitude and longititude) as input. The development team achieved the optimal speed of matching less than one second for each address and each pair of coordinate input. The reference dataset is built upon GNAF(Geocoded National Address File) and ASGS(Australian Statistical Geography Standard) for the Australian addresses. The package users will require to download the optimised format of reference dataset into the working direcory once the package has been installed. %prep %autosetup -n addrmatcher-0.0.2.5.10 %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-addrmatcher -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Tue May 30 2023 Python_Bot - 0.0.2.5.10-1 - Package Spec generated