Smart_open: Support for GCS

Created on 12 Jun 2018  路  7Comments  路  Source: RaRe-Technologies/smart_open

Do you have plans to support the Google Cloud Storage protocol gcs://

Hacktoberfest medium difficult wishlist

Most helpful comment

Sounds like a good idea to me. No concrete plans yet -- do you want to implement this?

All 7 comments

Sounds like a good idea to me. No concrete plans yet -- do you want to implement this?

I am working on adding GCS support and wanted to ask a question before I get too deep into the code. I can create a new issue and repost the question there if this is the wrong place to ask it.

Will future smart-open releases support Python 2.7?

I don't think so. There is little value of spending effort supporting a language that even the language creators no longer support (Py2.7 end of life is Jan 1 2020).

That said, the library doesn't depend on the Python version _that_ much, so the effort of maintaining support for 2.7 is probably much less than for e.g. gensim.

Why do you ask?

GCS support will just require a substantial amount of code to be added (similar to the amount of S3, maybe more since there is not a good mocking framework for GCS) and I wasn't sure how much I should focus on backwards compatibility. We can revisit this once I've actually completed the code and submitted a PR.

In general, aim for Py3. It's unlikely you'll finish this before the end of the year, and Py2 will be gone by then.

Can we close this?

Yes, thank you for following up.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ivanhigueram picture ivanhigueram  路  5Comments

rileypeterson picture rileypeterson  路  4Comments

ziky90 picture ziky90  路  3Comments

MartinThoma picture MartinThoma  路  3Comments

ivan-yankovyi picture ivan-yankovyi  路  4Comments