Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pualien/py-gcloud-connectors
Utilities to simplify connection with Google APIs
https://github.com/pualien/py-gcloud-connectors
bigquery data-analysis google-analytics google-analytics-4 google-cloud google-cloud-platform google-cloud-storage pandas python
Last synced: about 1 month ago
JSON representation
Utilities to simplify connection with Google APIs
- Host: GitHub
- URL: https://github.com/pualien/py-gcloud-connectors
- Owner: pualien
- Created: 2020-04-15T13:04:38.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-10-08T12:22:27.000Z (about 1 month ago)
- Last Synced: 2024-10-08T15:11:59.412Z (about 1 month ago)
- Topics: bigquery, data-analysis, google-analytics, google-analytics-4, google-cloud, google-cloud-platform, google-cloud-storage, pandas, python
- Language: Python
- Homepage: https://pualien.github.io/py-gcloud-connectors/
- Size: 2.66 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![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/)
[![Cumulative Downloads](https://static.pepy.tech/badge/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-connectorsBinary 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