google-api-python-client icon indicating copy to clipboard operation
google-api-python-client copied to clipboard

Python 3

Open rozling opened this issue 12 years ago • 87 comments

Request for Python 3 support (continuing on from https://code.google.com/p/google-api-python-client/issues/detail?id=57). My use case is for using the popular editor Sublime Text 3 to interact with the Google API.

rozling avatar May 06 '14 13:05 rozling

Is there any reason we can't consolidate around the most promising fork? Is there one?

cjerdonek avatar Jan 23 '15 00:01 cjerdonek

Anyone tried with the lib2to3? I am sure supported errors like these one are common:

  File "C:\Python33\lib\site-packages\googleapiclient\discovery.py", line 208
    except ValueError, e:
                     ^
SyntaxError: invalid syntax

This line should be except ValueError as e: as lib2to3 automatically changes.

llrs avatar Feb 02 '15 09:02 llrs

@llrs See https://github.com/google/google-api-python-client/pull/25

methane avatar Feb 02 '15 09:02 methane

:+1:

NotSqrt avatar Feb 02 '15 15:02 NotSqrt

Bit dumbfounded to find out I can't use Google APIs with Python 3 already, so adding my +1.

willmoy avatar Feb 07 '15 21:02 willmoy

adding my +1 to this! Google does support py3.3+ in oauth2client, so why not here too?

ghost avatar Feb 07 '15 23:02 ghost

:+1:

joyofdata avatar Feb 13 '15 13:02 joyofdata

+1. I'll experiment with @pferate's fork for now.

RandomInsano avatar Feb 15 '15 05:02 RandomInsano

I've been using that one quite successfully. However, I only use the calendar functionality. Be sure to use the version of oauthclient mentioned in that thread.

JelteF avatar Feb 15 '15 12:02 JelteF

+1

dandesousa avatar Feb 15 '15 19:02 dandesousa

+1

jackgolding avatar Feb 20 '15 07:02 jackgolding

+1

fsufitch avatar Feb 20 '15 16:02 fsufitch

+1

gijoecool avatar Feb 21 '15 17:02 gijoecool

Big +1 to this.

sloria avatar Feb 24 '15 05:02 sloria

+1

Hard to sell people on using good technologies like discovery documents when the tools aren't there to support them.

cnelson avatar Mar 04 '15 00:03 cnelson

+1

meng-fu avatar Mar 05 '15 00:03 meng-fu

Please test #64 with your script instead of posting more +1.

methane avatar Mar 05 '15 01:03 methane

@methan How i can do those tests?

iDevPy avatar Mar 05 '15 04:03 iDevPy

  1. Checkout #64 and install it.
  2. Run your program using google-api-python-client.

methane avatar Mar 05 '15 04:03 methane

@methane I've been running my code under @pferate's fork for sometime now and it's working fine.

-Chris

cnelson avatar Mar 05 '15 14:03 cnelson