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

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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: ansh997-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 ansh997-0.1.0.tar.gz
Algorithm Hash digest
SHA256 49c33aff6708314bc3ec83d3adbd745fb5783557276b3144fd4a40750d4521c6
MD5 83c72f68414bc06ab88930963b40f87a
BLAKE2b-256 9b8671fafcef86e0b0eb166c30092f918d1a1ea4132768ac31e232bdf59de6c5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ansh997-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 ansh997-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cb8a76048772d377a9fef693505616f008c1a246fd909ed8ad440731b3222d53
MD5 bebb176828e5b7dd7fc42ea643de5c67
BLAKE2b-256 b0b6ee122d1757905e04cae4729603972ad228eae823234a7cec78ffc21985d9

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