pydata/pandas — pull request #8936 by tshauck (2014-11-29 21:17:54+00:00)
Title: ENH: Adds gcs module for IO with Google Cloud Storage

Hi,

This isn't ready for primetime yet, but I wanted to see if there was feedback, since it would be a new io module.

Basic usage:
```
import pandas.io.gcs as gcs
import pandas as pd
import numpy as np

df = pd.DataFrame({
'a': np.random.normal(size=1e4),
'b': np.random.normal(size=1e4)
})

gcs.to_gcs(df, "th-code", "pandas2.csv", "eighth-physics-623", to_gcs_kwargs={'resumable': True}, to_csv_kwargs={'index': False})
i = gcs.from_gcs("th-code", "pandas2.csv", "eighth-physics-623")
```

This borrows some of the connection patterns from `gbq`, though it can do service account auth in addition to OAuth2WebServer auth. Might be nice at some point to centralize google api connection stuff. If this is accepted the code to connect to google's APIs will be in 3 places.

I'm not sure everything this would need to be accepted, besides tests...