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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
49c33aff6708314bc3ec83d3adbd745fb5783557276b3144fd4a40750d4521c6
|
|
| MD5 |
83c72f68414bc06ab88930963b40f87a
|
|
| BLAKE2b-256 |
9b8671fafcef86e0b0eb166c30092f918d1a1ea4132768ac31e232bdf59de6c5
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb8a76048772d377a9fef693505616f008c1a246fd909ed8ad440731b3222d53
|
|
| MD5 |
bebb176828e5b7dd7fc42ea643de5c67
|
|
| BLAKE2b-256 |
b0b6ee122d1757905e04cae4729603972ad228eae823234a7cec78ffc21985d9
|