Skip to main content

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 fore from PyPi;
  • recieve a file credentials.json from her line manager and copy it to ~/crgoauth folder. This file contains the JpN application's credentials. The security context for the credentials is https://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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fore_cloudreach-0.0.1.dev7.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fore_cloudreach-0.0.1.dev7-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file fore_cloudreach-0.0.1.dev7.tar.gz.

File metadata

  • Download URL: fore_cloudreach-0.0.1.dev7.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for fore_cloudreach-0.0.1.dev7.tar.gz
Algorithm Hash digest
SHA256 c445ca18b7409aec8e0d7c701795cb1fd7e24d207f0ebf9a70c9f423bfbce08b
MD5 781cf63a01848daa8b2615a20b95416c
BLAKE2b-256 a650228bce3b54a2069c087316fbd3f2849694585cd1320b10f06cae0ff05366

See more details on using hashes here.

File details

Details for the file fore_cloudreach-0.0.1.dev7-py3-none-any.whl.

File metadata

File hashes

Hashes for fore_cloudreach-0.0.1.dev7-py3-none-any.whl
Algorithm Hash digest
SHA256 640787fa4fee55cd04e7d03e0f0882154eafd8e5987167e29238d1845bf86ff1
MD5 fe3a0f586530f31ba1128b7f5fcde7bd
BLAKE2b-256 de0c278d7e4f95715ed9cdcf277c6c869379960fcacd66b0c1c21033e657de4b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page