package to ingest data in Google Sheets file for FInOps reporting
Project description
FORE stand for Fin Ops REporter
Autentication and authorization Overview
This package will be published on PyPi as downloadable package.
The main purpose of it is to Oauth2 authenticate a user of the Jupiter Notebook (JpN) that will need access to Google Sheets application. The security context is the current macOS user who use the Jupiter notebook and is logged in with Google's account.
In order to ustilize the Google's Sheets API the JpN code would need to:
- enable Google Sheet API in the GCP project where the application is registered.
- install the package
forefrom PyPi; - recieve a file
credentials.jsonfrom her line manager and copy it to~/crgoauthfolder. This file contains the JpN application's credentials. The security context for the credentials ishttps://www.googleapis.com/auth/spreadsheets; - Logging in the Cloudreach's google account and in the prompted window authorized the JpN application to access the Google Sheets API.
As of the initial version, the authentication of the user is performed over the Google's SignIn of the currently logged user in the Google account in the browser.
The authentication token is stored in a subfolder crgoauth in the current user's folder on the local machine (macOS tested). For every authentication attempt the token will be taken from the file from that location only.
In order to work with Google's Sheets API, a credentials file is required as well as outcome of registering this library as desktop application in Google Cloud.
The credentials file is always sought in the subfolder crgoauth of the current user's folder on the local machine.
TODO [dev]: to implemnt posibility to store the token and application credentials into Secret MAnager.
HowTos
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fore_cloudreach-0.0.1.dev8.tar.gz.
File metadata
- Download URL: fore_cloudreach-0.0.1.dev8.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
74e63d59b77509549abb7da41ef015deb2740e8ef5e8c4e26c336a954fd5f1a2
|
|
| MD5 |
07a2982891323c27b88a24ddbdd45910
|
|
| BLAKE2b-256 |
4f2cae2d0182d304ae09f4962a8581b1ddeb67c69287295eafe65ee00db47fc6
|
File details
Details for the file fore_cloudreach-0.0.1.dev8-py3-none-any.whl.
File metadata
- Download URL: fore_cloudreach-0.0.1.dev8-py3-none-any.whl
- Upload date:
- Size: 10.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ec2574ced8540c1d2157a5f997a70089f607d4e5370272f56a6b2d0eb0397e4f
|
|
| MD5 |
5d4b09abd3c93c71ba5f5d8d1d12c8e4
|
|
| BLAKE2b-256 |
b01d31b31283555983d77932c1490571855e55e06c5154b33320e12c23d0055b
|