Skip to main content

This is a python package which helps to read the data from Google Spreadsheets.

Project description

GSSHEET26

Sheets to Python

Introduction

This is an python package which helps us to read the data of google spread sheets


Library Used

I have used the gspread and oauth2client service to authorize and make API calls to Google Cloud Services.

Importing Library

pip install gspread oauth2client

Features of gspread library

  1. Google Sheets API v4.
  2. Open a spreadsheet by title, key or url.
  3. Read, write, and format cell ranges.
  4. Sharing and access control.
  5. Batching updates.

About oauth2client

This library will help us to get the client credientials a to read the data of specific Spread Sheet.


LET'S GET STARTED

How to Install

 pip install gssheet26

The name of this package is "gssheet26" and you can use this package to read the data from GOOGLE SPREADSHEETS in JSON format and then using pandas you can manipulate the data in table using DataFrames

Function to read the data

To read the data from google spreadsheet you have to use getdata(jsfile, gsfile) function and inside the function you have to give the path of your JSON file and the name of your GOOGLE SPREADSHEETS. For example:- I want to read the data from Greendeck Assignment file. So Here How it should be written.

getdata("your_JSON_Path", "Greendeck Assignment")
### Links from where I've taken help 
 [medium.com](https://medium.com/analytics-vidhya/how-to-read-and-write-data-to-google-spreadsheet-using-python-ebf54d51a72c). 

# License

This package is distributed under the [MIT license](https://opensource.org/licenses/MIT).



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

gssheet26-0.0.2.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

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

gssheet26-0.0.2-py2-none-any.whl (3.8 kB view details)

Uploaded Python 2

File details

Details for the file gssheet26-0.0.2.tar.gz.

File metadata

  • Download URL: gssheet26-0.0.2.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/2.7.17

File hashes

Hashes for gssheet26-0.0.2.tar.gz
Algorithm Hash digest
SHA256 6d9b5b1ced4d0b771d1ac4d83174a03b834ff393c8dbfd8b010278c310863792
MD5 9e7e1e3c19adc828d262d5653b7d481b
BLAKE2b-256 a22cbc780deb99453b37907c769d2b259e7a93aa1192e2a71b9200113c5b2bc0

See more details on using hashes here.

File details

Details for the file gssheet26-0.0.2-py2-none-any.whl.

File metadata

  • Download URL: gssheet26-0.0.2-py2-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/2.7.17

File hashes

Hashes for gssheet26-0.0.2-py2-none-any.whl
Algorithm Hash digest
SHA256 f8d24b258cdb34d4f163662b808133f46baa317275e6175508ab26717cb9ff22
MD5 d1935400afd75a8a8b8b2f74467ffb7c
BLAKE2b-256 a32f2b5e336805357288ddd9f73db3ff2f5771e53bf401794af525ffda78f595

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