Project description
'gdplot' is a library to generate charts of predefined format and produce a chart of specific nature, i.e average sales and timeperiod, using the data available in google sheets. It requires your google credentials and the file access to produce a chart.
- No credentials saved
Links
GitHub: https://github.com/sumankumar0091/gdplot
PyPI: https://pypi.org/project/gdplot/
Documentation:
Issue Tracker:https://github.com/sumankumar0091/gdplot/issues
Download:
Installation
This package runs under Python3.5+, use pip to install:
- $ pip install gdplot
Get google Credentials
Log into the Google Developers Console with the Google account to the spreadsheets you want to access. Create (or select) a project and enable the Drive API and Sheets API (under Google Apps APIs).
Go to the Credentials for your project and create New credentials > OAuth client ID > of type Other. In the list of your OAuth 2.0 client IDs click Download JSON for the Client ID you just created. Save the file as client_secrets.json in your home directory (user directory). Another file, named storage.json in this example, will be created after successful authorization to cache OAuth data. On you first usage of gsheets with this file (holding the client secrets), your webbrowser will be opened, asking you to log in with your Google account to authorize this client read access to all its Google Drive files and Google Sheets.
If this does not work refer to link under See also section.
Usage
Syntax:
> import gdplot as gd
> gd.create_chart($credentials, $URL)
e.g.:
> import gdplot as gd
> gd.create_chart(/gcp_credentials/client_secret.json, https://docs.google.com/spreadsheets/d/1pzmXgLMMMWdsfuNuq3a15tP7kbsHpijVAU0BGAJrOAP/edit#gid=0)
See also
'' https://medium.com/swlh/google-drive-api-with-python-part-i-set-up-credentials-1f729cb0372b (Source: https://medium.com/@billydharmawan) https://medium.com/@osanda.deshan/getting-google-oauth-access-token-using-google-apis-18b2ba11a11a (Source: https://medium.com/@osanda.deshan) ''
License
This package is distributed under the MIT license.
Metadata
Release files for gdplot 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gdplot-1.0.1.tar.gz | 2.5 kB | Without provenance | Details for gdplot-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gdplot-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for gdplot-1.0.1-py3-none-any.whl |
Total release size: 5.7 kB
Release files / gdplot-1.0.1.tar.gz
| Download URL | gdplot-1.0.1.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2f361d1d63818e257f41ed8941b0c75b4f80a12c812f903eced0fe89fb7cfcd0
|
|
BLAKE2b-256 checksum How to use checksums |
d9189046542491aead7244d67af2bdcf9c879b8c73ab51188bbd41aaee177720
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
|
Release files / gdplot-1.0.1-py3-none-any.whl
| Download URL | gdplot-1.0.1-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
71737ef07097c81d5447edc627a2ab8dfdc1940a7104bf3e5eb5da2695ae511d
|
|
BLAKE2b-256 checksum How to use checksums |
43a5f3ae285735a2a7b4c4df645d30d2683d574da1629e2f86cfa6a129acec54
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
|
Security for gdplot 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.