diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-10 06:08:29 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-10 06:08:29 +0000 |
| commit | 6c9c8b7f3ddf3e3d3ab05b5a8d4257874e4a71a9 (patch) | |
| tree | 422aefbaa0d10f7574ad33a9a35b5e481086af14 /python-gcloud-connectors.spec | |
| parent | 646112e048cbb54640c6aefbb17b61cb1a7baaf4 (diff) | |
automatic import of python-gcloud-connectors
Diffstat (limited to 'python-gcloud-connectors.spec')
| -rw-r--r-- | python-gcloud-connectors.spec | 253 |
1 files changed, 253 insertions, 0 deletions
diff --git a/python-gcloud-connectors.spec b/python-gcloud-connectors.spec new file mode 100644 index 0000000..3d6b728 --- /dev/null +++ b/python-gcloud-connectors.spec @@ -0,0 +1,253 @@ +%global _empty_manifest_terminate_build 0 +Name: python-gcloud-connectors +Version: 0.1.92 +Release: 1 +Summary: Python utilities to simplify connection with Google APIs +License: MIT +URL: https://github.com/pualien/py-gcloud-connector +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/b6/76/d21f8bd48c1988c7b54da8d946e9c87dca99193b0f2aa5d6ce1c1cc60990/gcloud-connectors-0.1.92.tar.gz +BuildArch: noarch + +Requires: python3-cachetools +Requires: python3-gspread-pandas +Requires: python3-httplib2 +Requires: python3-oauth2client +Requires: python3-gspread +Requires: python3-numpy +Requires: python3-pandas +Requires: python3-brotli +Requires: python3-Cython +Requires: python3-docutils +Requires: python3-google-api-python-client +Requires: python3-importlib-metadata +Requires: python3-keyring +Requires: python3-lockfile +Requires: python3-lxml +Requires: python3-mock +Requires: python3-ordereddict +Requires: python3-protobuf +Requires: python3-pyOpenSSL +Requires: python3-simplejson +Requires: python3-toml +Requires: python3-unicodedataplus +Requires: python3-usercustomize +Requires: python3-zipp +Requires: python3-tornado +Requires: python3-cryptography +Requires: python3-pyarrow +Requires: python3-fastparquet +Requires: python3-retry +Requires: python3-google-cloud-bigquery +Requires: python3-google-cloud-bigquery-storage +Requires: python3-gcsfs +Requires: python3-google-analytics-data +Requires: python3-db-dtypes + +%description + + +# GCLOUD CONNECTORS +[](https://pypi.org/project/gcloud-connectors/) +[](https://github.com/pualien/py-gcloud-connectors/actions) +[](https://pypi.org/project/gcloud-connectors/) +[](https://pypi.org/project/gcloud-connectors/) + +Python utilities to simplify connection with Google APIs + +## Where to get it +The source code is currently hosted on GitHub at: +https://github.com/pualien/py-gcloud-connectors + +Binary installers for the latest released version are available at the [Python +package index](https://pypi.org/project/gcloud-connectors/). + +```sh +pip install gcloud-connectors +``` + +## Usage + +Be sure to check out the [documentation](https://pualien.github.io/py-gcloud-connectors). + +## Google Wrappers +- `BigQueryConnector`: read and cast pandas DataFrame from BigQuery + +- `GAnalyticsConnector`: unsample data and return pandas DataFrame from Google Analytics + +- `GDriveConnector`: download, upload, search and rename files from Google Drive + +- `GSCConnector`: get data from Google Search Console + +- `GSheetsConnector`: read and upload pandas DataFrame from / to Google Spreadsheet + +- `GStorageConnector`: write pandas DataFrame in parquet format to Google Cloud Storage, recursive delete, copy files and folders between buckets + +- `GAnalytics4Connector`: return pandas DataFrame from Google Analytics 4 reports + + + +### Bonus + +- `ForeignExchangeRatesConverter`: get currency conversion rates + +- `LTVCalculator`: compute Customer Lifetime Value + +- `pd_utils`: derive quarter, month column from date in pandas DataFrame + + +%package -n python3-gcloud-connectors +Summary: Python utilities to simplify connection with Google APIs +Provides: python-gcloud-connectors +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-gcloud-connectors + + +# GCLOUD CONNECTORS +[](https://pypi.org/project/gcloud-connectors/) +[](https://github.com/pualien/py-gcloud-connectors/actions) +[](https://pypi.org/project/gcloud-connectors/) +[](https://pypi.org/project/gcloud-connectors/) + +Python utilities to simplify connection with Google APIs + +## Where to get it +The source code is currently hosted on GitHub at: +https://github.com/pualien/py-gcloud-connectors + +Binary installers for the latest released version are available at the [Python +package index](https://pypi.org/project/gcloud-connectors/). + +```sh +pip install gcloud-connectors +``` + +## Usage + +Be sure to check out the [documentation](https://pualien.github.io/py-gcloud-connectors). + +## Google Wrappers +- `BigQueryConnector`: read and cast pandas DataFrame from BigQuery + +- `GAnalyticsConnector`: unsample data and return pandas DataFrame from Google Analytics + +- `GDriveConnector`: download, upload, search and rename files from Google Drive + +- `GSCConnector`: get data from Google Search Console + +- `GSheetsConnector`: read and upload pandas DataFrame from / to Google Spreadsheet + +- `GStorageConnector`: write pandas DataFrame in parquet format to Google Cloud Storage, recursive delete, copy files and folders between buckets + +- `GAnalytics4Connector`: return pandas DataFrame from Google Analytics 4 reports + + + +### Bonus + +- `ForeignExchangeRatesConverter`: get currency conversion rates + +- `LTVCalculator`: compute Customer Lifetime Value + +- `pd_utils`: derive quarter, month column from date in pandas DataFrame + + +%package help +Summary: Development documents and examples for gcloud-connectors +Provides: python3-gcloud-connectors-doc +%description help + + +# GCLOUD CONNECTORS +[](https://pypi.org/project/gcloud-connectors/) +[](https://github.com/pualien/py-gcloud-connectors/actions) +[](https://pypi.org/project/gcloud-connectors/) +[](https://pypi.org/project/gcloud-connectors/) + +Python utilities to simplify connection with Google APIs + +## Where to get it +The source code is currently hosted on GitHub at: +https://github.com/pualien/py-gcloud-connectors + +Binary installers for the latest released version are available at the [Python +package index](https://pypi.org/project/gcloud-connectors/). + +```sh +pip install gcloud-connectors +``` + +## Usage + +Be sure to check out the [documentation](https://pualien.github.io/py-gcloud-connectors). + +## Google Wrappers +- `BigQueryConnector`: read and cast pandas DataFrame from BigQuery + +- `GAnalyticsConnector`: unsample data and return pandas DataFrame from Google Analytics + +- `GDriveConnector`: download, upload, search and rename files from Google Drive + +- `GSCConnector`: get data from Google Search Console + +- `GSheetsConnector`: read and upload pandas DataFrame from / to Google Spreadsheet + +- `GStorageConnector`: write pandas DataFrame in parquet format to Google Cloud Storage, recursive delete, copy files and folders between buckets + +- `GAnalytics4Connector`: return pandas DataFrame from Google Analytics 4 reports + + + +### Bonus + +- `ForeignExchangeRatesConverter`: get currency conversion rates + +- `LTVCalculator`: compute Customer Lifetime Value + +- `pd_utils`: derive quarter, month column from date in pandas DataFrame + + +%prep +%autosetup -n gcloud-connectors-0.1.92 + +%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-gcloud-connectors -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.92-1 +- Package Spec generated |
