sheet_df
Google sheet to dataframe
Overview
This Python program connects to the google sheets api and creates a pandas dataframe from the target sheet.
Usage
df = read_google_sheet_into_dataframe(sheet_id, range_name, credentials_path)
Config
You must have SHEET_ID` and RANGE_NAME` env vars. You will also need a credentials.json from google. The credentials_path arg defaults to “credentials.json”
DEV
Create venv
python -m venv env
Activate venv
unix
source env/bin/activate
windows
env\Scripts\activate.bat
Install Packages
pip install -r requirements.txt
Test
make test
Format
make format
make lint
Version & Release
make bumpversion part=<major/minor/patch>
make release
note Don’t forget to git push with –tags
pre-commit
Setup
pre-commit install
Run all
make pre-commit
Metadata
Release files for sheet-df 0.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 |
|---|---|---|---|---|
| sheet_df-0.0.1.tar.gz | 5.4 kB | Without provenance | Details for sheet_df-0.0.1.tar.gz |
Release files / sheet_df-0.0.1.tar.gz
| Download URL | sheet_df-0.0.1.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aa24e8de99e2b7d346383f4122f454d8c88e9a84e7eaf25813ccfff1f5e69eb9
|
|
BLAKE2b-256 checksum How to use checksums |
1779a169c0b087b2afad0d6ac3e0ffc4cdec5745b73e35c0230ee4f9c489cbec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.14.0 pkginfo/1.9.6 requests/2.28.2 setuptools/58.1.0 requests-toolbelt/0.10.1 tqdm/4.65.0 CPython/3.9.16
|
Security for sheet-df 0.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.