read google sheets, use them for sites
Project description
# sheetsite: sheets for sites
Manage your website or directory with a google sheet.
Features:
Copy a private google sheet to local json (or excel).
Strip specially marked columns or cells from the spreadsheet.
Handy for keeping a static website up-to-date with information kept in a google sheet, when not all of that information should be made public.
## Usage
pip install sheetsite
[Obtain OAuth2 credentials from Google Developers Console](http://gspread.readthedocs.org/en/latest/oauth2.html) - thanks to gspread developers for creating this documentation!
Find the key of the sheet you care about from its url (e.g. 2LvBgFe…F2qAIuBk).
Make sure you share the sheet with the email address in the OAuth2 credentials. Read-only permission is fine.
sheetsite.py –credential credential.json 2LvBgFe…F2qAIuBk output.json (or output.xls)
Build a website around the json, as for example http://datacommons.coop/tap/ = https://github.com/datacommons/tap
## Privacy
By default, sheetsite will strip:
Any columns whose name is in parentheses, e.g. (Private Notes)
Any cells or text within cells surrounded by double parentheses, e.g. ((private@email.address))
## License
sheetsite is distributed under the MIT License.
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.