Skip to main content

Plot data from Google sheets

Project description

SpreadG

SpreadG is a small wrapper around the Google Sheets API (v4) and gspread 3.6.0 to provide more convenient access to Google Sheets from Python scripts and plot graphs with the help of Matplotlib.

Turn on the API, download an OAuth client ID as JSON file, and start working.

Installation

# pip install -r requirement.txt
pip install spreadg

This will also install google-api-python-client and its dependencies, notably httplib2 and oauth2client, as required dependencies.

Quickstart

from spreadg import *
data=dataloader('credentials.json', "Sheetname")
df=to_df(data)
fig = plotter(df, X, y)
fig.savefig("something.png")

author: Himanshu Pal
mailto: palhimanshu997[at]gmail[.]com

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

spreadg-0.1.0.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

spreadg-0.1.0-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file spreadg-0.1.0.tar.gz.

File metadata

  • Download URL: spreadg-0.1.0.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.2

File hashes

Hashes for spreadg-0.1.0.tar.gz
Algorithm Hash digest
SHA256 14314bffa045bf8b5ada478ee894185fa54b39d94d354f0fc8e0a20181966e92
MD5 c78f723dd583ec0d3564bb50d91edb5d
BLAKE2b-256 b394313e4bb48830c9cedf190c0c3dd07b14d26ccefbeeec86e0c6c030c4a02a

See more details on using hashes here.

File details

Details for the file spreadg-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: spreadg-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.2

File hashes

Hashes for spreadg-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d3851351da510a19ef06dd133098c53ed3adf1ac77a2e70e04e1d7b237b56ba8
MD5 38a3dab57b8e6c32c86bd2ccea14388f
BLAKE2b-256 5d087b5945834ac93e97b72b0d256b08d5d23a843c60c7426a748541e7b0f7d5

See more details on using hashes here.

Supported by

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