A package to export Google Sheet to CSV via API
Project description
sheet2csv
Python package to transform Google Sheet to CSV.
Install
pip install git+https://github.com/slo-covid-19/sheet2csv.git
Example
import os
import sheet2csv
SHEET_ID = "PUT_ID_OF_SHEET_HERE"
RANGE_STATS = "SheetName!A3:ZZ"
GOOGLE_API_KEY = os.environ["GOOGLE_API_KEY"]
# First row of range will be become header row of CSV
sheet2csv.sheet2csv(
id=SHEET_ID, range=RANGE_STATS, api_key=GOOGLE_API_KEY, filename="export.csv",
)
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
sheet2csv-1.0.2.tar.gz
(3.1 kB
view hashes)
Built Distribution
Close
Hashes for sheet2csv-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c44831a13a0e29c8903478e9abb7e27f56d20737c4ce088fa483fdce841a67a |
|
MD5 | 6bfa06a9fc8d775586304826556ed576 |
|
BLAKE2b-256 | 4930cb7342648c5f85ec39ded641521724b45bb1819a77c36d0293c2740b9440 |