From 6c9c8b7f3ddf3e3d3ab05b5a8d4257874e4a71a9 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 10 May 2023 06:08:29 +0000 Subject: automatic import of python-gcloud-connectors --- .gitignore | 1 + python-gcloud-connectors.spec | 253 ++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 255 insertions(+) create mode 100644 python-gcloud-connectors.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..fede081 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/gcloud-connectors-0.1.92.tar.gz 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://github.com/pualien/py-gcloud-connectors/blob/master/images/logo.png?raw=true) + +# GCLOUD CONNECTORS +[![PyPI Latest Release](https://img.shields.io/pypi/v/gcloud-connectors.svg)](https://pypi.org/project/gcloud-connectors/) +[![PyPI Build](https://github.com/pualien/py-gcloud-connectors/workflows/PyPI%20Build/badge.svg)](https://github.com/pualien/py-gcloud-connectors/actions) +[![PyPI - Downloads](https://img.shields.io/pypi/dm/gcloud-connectors)](https://pypi.org/project/gcloud-connectors/) +[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/gcloud-connectors.svg)](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://github.com/pualien/py-gcloud-connectors/blob/master/images/logo.png?raw=true) + +# GCLOUD CONNECTORS +[![PyPI Latest Release](https://img.shields.io/pypi/v/gcloud-connectors.svg)](https://pypi.org/project/gcloud-connectors/) +[![PyPI Build](https://github.com/pualien/py-gcloud-connectors/workflows/PyPI%20Build/badge.svg)](https://github.com/pualien/py-gcloud-connectors/actions) +[![PyPI - Downloads](https://img.shields.io/pypi/dm/gcloud-connectors)](https://pypi.org/project/gcloud-connectors/) +[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/gcloud-connectors.svg)](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://github.com/pualien/py-gcloud-connectors/blob/master/images/logo.png?raw=true) + +# GCLOUD CONNECTORS +[![PyPI Latest Release](https://img.shields.io/pypi/v/gcloud-connectors.svg)](https://pypi.org/project/gcloud-connectors/) +[![PyPI Build](https://github.com/pualien/py-gcloud-connectors/workflows/PyPI%20Build/badge.svg)](https://github.com/pualien/py-gcloud-connectors/actions) +[![PyPI - Downloads](https://img.shields.io/pypi/dm/gcloud-connectors)](https://pypi.org/project/gcloud-connectors/) +[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/gcloud-connectors.svg)](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 - 0.1.92-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..1ccae5b --- /dev/null +++ b/sources @@ -0,0 +1 @@ +2a0b50b890dd6f8d7b01a7838d70665c gcloud-connectors-0.1.92.tar.gz -- cgit v1.2.3