Live data from Hacker News

Google Spreadsheets and Python

twilio.com

31–40 of 143 posts

Re: Google Spreadsheets and Python

#31
post #25

I build HasGluten [1], fully backed by a spreadsheet. Code is at [2], unfortunately not very up to date... it was my first react project. [1] http://hagluten.com [2] https://github.com/hasgluten/hasgluten

You have a small typo in the link to your site. [1] should be http://hasgluten.com

Re: Google Spreadsheets and Python

#32

Having run an (internal) app that is deeply integrated with Google Sheets for about a year, I think that Sheets is good and bad. It's _extremely_ powerful for allowing business users to easily get access to and manipulate data manually. Downside is that it really struggles past a few thousand rows when you've got more than 20 or so columns. Definitely good for a quick and dirty way to expose data to internal users, b…

hear hear! this was my experience too. I was ready to switch to using gsheets as my entire application UI layer when the scaling problems and desyncing started hitting me.

still fantastic for quick-and-dirty tools and prototypes though.

Re: Google Spreadsheets and Python

#33

Interesting to choose this over simpler storage, such as sqlite. I suppose you get offsite backups for free.

(author here) Main advantage in our usecase is getting the CUD interface for free.

For free ? Where would the python code run ?

Re: Google Spreadsheets and Python

#35
post #17

https://gspread.readthedocs.io/en/latest/ is great, but it's limited in what kinds of things it can set (formatting, notes, etc.). One other option is to create an endpoint on script.google.com which can access a much richer SpreadsheetApp API: https://developers.google.com/apps-script/reference/spreadsh... . You can POST to it using an auth token from the same service account oauth creds (though you need to add driv…

One thing to note is that the new version (v4) of the Sheets API can access the same fancy functionality that Apps Script can. So if gspread moves to that (which e.g. https://github.com/burnash/gspread/issues/435 alludes to), some of those limitations will go away. (And the sync thing is neat!)

https://github.com/nithinmurali/pygsheets uses APIv4; someone couldn't wait!

Re: Google Spreadsheets and Python

#37
A friend who works at the Dallas Animal Shelter (a non-profit) asked me to help automate their process of generating reports from data gathered via Google Forms, which they were doing by hand every month... As a developer who is used to high technical investment into complex systems, I had to take a completely different approach to storing their information.

Google Forms + Spreadsheet + Python works perfectly for use cases like this: it is free, scaling isn't a concern, users can view and modify data at any time, and users can create Google Forms at any time. If you are trying to help a non-profit and aren't planning on maintaining their systems long-term, this is a great approach.

Code for the project: https://github.com/georgeaf99/das-care-contact-forms

Re: Google Spreadsheets and Python

#39

Having run an (internal) app that is deeply integrated with Google Sheets for about a year, I think that Sheets is good and bad. It's _extremely_ powerful for allowing business users to easily get access to and manipulate data manually. Downside is that it really struggles past a few thousand rows when you've got more than 20 or so columns. Definitely good for a quick and dirty way to expose data to internal users, b…

If anyone from Google is reading this: please add a database (yes, like a cloud version of MS ACCESS) in the Google Docs/Drive suite. Has anyone looked at "Fusion Tables?" A google search reveals that is what it is supposed to be.

Something a la Microsoft Access? (but obviously integrated in their online suite)
Post reply on HN