Package: gsheet-plots
gsheetplots_gheetplot is small wrapper aroundGoogle Sheet API,PandasandMatplotlibprovideaccesstoGoogle Sheetand help to plot graph with desired axis by user .To accessGoogle Sheetone need toTurn_on_the_API, download service credinatial JSON file and useread_spreadsheet()to read spreadsheet and underneath it takes the help ofgspread,ServiceAccountCredentialsto create connection withGoogle Sheet APIand function convert it into a dataframe which can be used data analysis .Table of contentsLinkInstallationQuickstartLanguages_and_APISee_AlsoContactLicenseLinkGitHub :https://github.com/abhii1/SheetplotPyPi :Documention :https://github.com/abhii1/SheetplotDownload :https://github.com/abhii1/SheetplotInstallationThis package runs underPython 3.5+,usepipto installpip install gsheetplotThis will install gsheetplot module you need to installgspreadRequirements:Python 2.7+ or Python 3+pipinstallgspreadyou  need install oauth2client to useServiceAccountCredentialspipinstalloauth2clientQuickstartLog into theGoogle Developers consolewith the google account whose spreadsheets you want to access . Create(or select) a project and enable theDrive APPandSheet APIunder (Google Apps APIs).Steps for turn on API1__Go to google API console2__  create new project3__ Click Enable API. Search for and enable the Google Drive API.4__ Create credentials for a Web Server to access Application Data.5__ Name the service account and grant it a Project Role of Editor.6__ Download the JSON file
7__ Copy the JSON file to your code directory and rename it to client_secret.jsonthis some how its looklike


                          {

                          "type": "service_account",

                          "project_id": "spreadsheet-291117",

                          "private_key_id":_________________,

                          "private_key":  _______ here will be some key,

                          "client_email": "________________,

                          "client_id": __________________________,

                          [auth_uri]("https://accounts.google.com/o/oauth2/auth"),

                          [token_uri]("https://oauth2.googleapis.com/token"),

                          [auth_provider_x509_cert_url]("https://www.googleapis.com/oauth2/v1/certs"),

                          [client_x509_cert_url](https://www.googleapis.com/robot/v1/metadata/x509/spreadsheet%40spreadsheet-291117.iam.gserviceaccount.com"),

                          }8__ if you spread sheet is private then you have give drop client_email of JSON file to share with client fileCreate a object to acces member function and convert into dataframe#import libaryfromplotgraphimportGET#url of the spreadsheetconnection_url='https://docs.google.com/spreadsheets/d/1077QfadB_V_Nl8-jomsb62RYyrs0_Is-IGlVRl8QF2I/edit?usp=sharing'#servicecrendiatl JSON filedriveouth_json='spreadsheetouth.json'#creating a object to access member function>>>dataframeObj=GET.read_sheet_to_dataframe(connection_url,driveouth_json)#converting to dataframedataframe=dataframeobj.read_spreadsheet()Option for user input#tuple for X axis and y axisX,Y=dataframe.select_axis()plot graph with user input#input from user>>>X,Y=dataframe.select_axis()#calling plot functionplot=r.plot_chart(g,X,Y,'line',imagename='test')you can provide range of data example from (200,500)plot=r.plot_chart(g,X,Y,'line',range=(200,500),imagename='test')imagename is name of image that will saved in system you can make empty alsoplot=r.plot_chart(g,X,Y,'line')diffrent kind of plot#plot kdeplot=r.plot_chart(g,X,Y,'kde')Languages_and_APISee_alsoGoogle Sheets API: Read, write, and format data in Sheets. The latest version of the Sheets API lets developers programmaticallyPandas: pandas is a software library written for the Python programming language for data manipulation and analysisgspread: Python wrapper, currently using the XML-basedlegacy v3 APIexampleJupyter notebookusing gspread_ to fetch a sheet into a pandas DataFramematplotlib: Matplotlib is a plotting library for the Python programming language and its numerical mathematics extension NumPyContactCreated by Abhishek pratap singhLicenseThis package is distributed under theMIT license_.# gsheetplotgheetplot is small wrapper aroundGoogle Sheet API,PandasandMatplotlibprovideaccesstoGoogle Sheetand help to plot graph with desired axis by user .To accessGoogle Sheetone need toTurn_on_the_API, download service credinatial JSON file and useread_spreadsheet()to read spreadsheet and underneath it takes the help ofgspread,ServiceAccountCredentialsto create connection withGoogle Sheet APIand function convert it into a dataframe which can be used data analysis .Table of contentsLinkInstallationQuickstartLanguages_and_APISee_AlsoContactLicenseLinkGitHub :PyPi:Documention:DownloadInstallationThis package runs underPython 3.5+,usepipto installpip install gsheetplotThis will install gsheetplot module you need to installgspreadRequirements:Python 2.7+ or Python 3+pipinstallgspreadyou  need install oauth2client to useServiceAccountCredentialspipinstalloauth2clientQuickstartLog into theGoogle Developers consolewith the google account whose spreadsheets you want to access . Create(or select) a project and enable theDrive APPandSheet APIunder (Google Apps APIs).Steps for turn on API1__Go to google API console2__  create new project3__ Click Enable API. Search for and enable the Google Drive API.4__ Create credentials for a Web Server to access Application Data.5__ Name the service account and grant it a Project Role of Editor.6__ Download the JSON file
7__ Copy the JSON file to your code directory and rename it to client_secret.jsonthis some how its looklike


                          {

                          "type": "service_account",

                          "project_id": "spreadsheet-291117",

                          "private_key_id":_________________,

                          "private_key":  _______ here will be some key,

                          "client_email": "________________,

                          "client_id": __________________________,

                          [auth_uri]("https://accounts.google.com/o/oauth2/auth"),

                          [token_uri]("https://oauth2.googleapis.com/token"),

                          [auth_provider_x509_cert_url]("https://www.googleapis.com/oauth2/v1/certs"),

                          [client_x509_cert_url](https://www.googleapis.com/robot/v1/metadata/x509/spreadsheet%40spreadsheet-291117.iam.gserviceaccount.com"),

                          }8__ if you spread sheet is private then you have give drop client_email of JSON file to share with client fileCreate a object to acces member function and convert into dataframe#import libary>>>fromgsheetplotimportGET#url of the spreadsheetconnection_url='https://docs.google.com/spreadsheets/d/1077QfadB_V_Nl8-jomsb62RYyrs0_Is-IGlVRl8QF2I/edit?usp=sharing'#servicecrendiatl JSON filedriveouth_json='spreadsheetouth.json'#creating a object to access member function>>>dataframeObj=GET.read_sheet_to_dataframe(connection_url,driveouth_json)#converting to dataframedataframe=dataframeobj.read_spreadsheet()Option for user input#tuple for X axis and y axisX,Y=dataframe.select_axis()plot graph with user input#input from user>>>X,Y=dataframe.select_axis()#calling plot functionplot=r.plot_chart(g,X,Y,'line',imagename='test')you can provide range of data example from (200,500)plot=r.plot_chart(g,X,Y,'line',range=(200,500),imagename='test')imagename is name of image that will saved in system you can make empty alsoplot=r.plot_chart(g,X,Y,'line')diffrent kind of plot#plot kdeplot=r.plot_chart(g,X,Y,'kde')Languages_and_APISee_also*Google Sheets APIhelp you to under stand how enable API*Pandasfor more information in data manupulations and other feature*gspreadPython wrapper, currently using the XML-basedlegacy v3 APIexampleJupyter notebookusing gspread_ to fetch a sheet into a pandas DataFrame*matplotlibit will provide helpfull feature to change title,label ,color etc of graph*ServiceAccountCredentialsit will help to understand about connection of API in pythonContactCreated by Abhishek pratap singhLicenseThis package is distributed under theMIT license_.