Skip to main content

Installation

Installation with pip

pip install GreenDeck-GsheetsTest==0.0.17

To run the file clients_secrets.json file is required in the root directory. For example in a Mac the root directory is "/Users/username" therefore the "client_secrets.json" file will be searched at this location.
Download the client_secrets.json file from the github repository and save it in the root directory.

Dependency

matplot
pandas
gsheets

Usage

To use the package in the terminal the following steps need to be performed. First enter the python environment before brginning to execute these commands.

In order to use the package it needs to be imported using the command

import GreenDeck

After this the module needs to be imported using the command

from GreenDeck import GsheetsTest

Lastly you need to call the login method in order to start using the package.

GsheetsTest.login()

Sample

screenshot-run-program

Run-through

After calling the login() method if the user has not logged in then the default browser is opened where user can login using his/her Google Account and the data is stored in the storage.json file which then omits the process of logging in again every time the program is run.

screenshot-login-screen

Result

screenshot-login-success

After getting this result on the web browser. Close the browser and go back to the terminal where the program was being executed. You will see a list of all the sheets that are present or have been added to that Google Account. These sheets are numbered and for further operations you can select one of the sheets from the list by entering their corresponding number.

screenshot-list-sheet

The sheet corresponding to the entered number is accessed and the column names of that sheet are displayed. Following which user is asked to select the column to be taken as x-axis and y-axis.

screenshot-list-column

The columns entered are then plot on the graph with the corresponding columns for x-axis and y-axis.

screenshot-result-graph

Methods

login()

This method is used for logging in the user. After logging in the user this method gets all the sheets available at the GoogleSheets account and calls the list_sheet() method.

list_sheet()

This method takes a list of all sheets as the input and prints all these sheet objects and asks the user to select one of the sheets. This selected sheet is then passed onto the plot_graph method.

plot_graph()

This method takes the google sheet object as the input and then displays all the column names in the sheet. Then the user is asked to select a column for x-axis and y-axis. The cholumns selected are then plot on a graph.

License

MIT License . For more details, please read the LICENSE file.

Metadata

Release files for GreenDeck-GsheetsTest 0.0.17

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for GreenDeck-GsheetsTest 0.0.17
File Size Uploaded Provenance Actions
GreenDeck_GsheetsTest-0.0.17.tar.gz 3.1 kB Without provenance Details for GreenDeck_GsheetsTest-0.0.17.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for GreenDeck-GsheetsTest 0.0.17
File Interpreter ABI Platform Actions
GreenDeck_GsheetsTest-0.0.17-py3-none-any.whl Python 3 none any Details for GreenDeck_GsheetsTest-0.0.17-py3-none-any.whl

Total release size: 7.3 kB

Release files / GreenDeck_GsheetsTest-0.0.17.tar.gz

Download URL GreenDeck_GsheetsTest-0.0.17.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
9162f33130d4bbd6ee6664911be51116ccc285ec49c7595c4133b78544413ea4
BLAKE2b-256 checksum
How to use checksums
48476119084f054141142b7d9c084859199083f2328e3093bb2e61bc95af5734
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

Release files / GreenDeck_GsheetsTest-0.0.17-py3-none-any.whl

Download URL GreenDeck_GsheetsTest-0.0.17-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e7f8d1ce956e1a4a895a5cc85ba21c2253d9ec23bc5fc15497084ec8aedf46f3
BLAKE2b-256 checksum
How to use checksums
916ab8b0c0c5e56b6a512d07e47d762989c513d895ed8b022ca8ca1c22bd188c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

Security for GreenDeck-GsheetsTest 0.0.17

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page