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
ansh997-0.0.3.tar.gz
(2.8 kB
view details)
Built Distribution
File details
Details for the file ansh997-0.0.3.tar.gz
.
File metadata
- Download URL: ansh997-0.0.3.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 | 7f68868f577011d45bc68a7d0d009278bee09e150493bc4fdf958eff204c1550 |
|
MD5 | a5f7653a7c7c7b91639b157055c6f310 |
|
BLAKE2b-256 | a6cf98defae76760ce0512d87f6192621944f5798ed29419dd1aa29780c16be2 |
File details
Details for the file ansh997-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: ansh997-0.0.3-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 | e156d604e5a4fd8d980a3f1cf4af009d60f2802408fd7c87eb99fbfcea069ebb |
|
MD5 | f31db66f8ee2fc75cd0e1e15dd0f207f |
|
BLAKE2b-256 | 0673bbd25c8185a3f75751cd412fc86a600f796c99174313c80757570b9dc988 |