Giter VIP home page Giter VIP logo

apiclient's People

Contributors

daverck avatar dwf avatar jwcooper avatar shazow avatar wolever avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

apiclient's Issues

urllib3 not installed

I just called pip install apiclient, which worked fine. But then I tried to run import apiclient but I was told ImportError: No module named urllib3. Now I see it in setup.py so I don't quite know why it wasn't installed as a dependency with pip.

Just so you're aware of this!

mysterious TODO in base.py

base.py#L46 has a mysterious TODO comment:

    def _compose_url(self, path, params=None):
        # TODO: fix this, as per our conversation at Oct. 4, 2011, 05:10 UTC
        p = {self.API_KEY_PARAM: self.api_key}

        if params:
            p.update(params)

        return self.BASE_URL + path + '?' + urlencode(p)

Could you explain this to the general public (or just me, whichever) so we can think about a fix for whatever the problem is?

Add python3 support

Hopefully it's as easy as running 2to3

  File "foo.py", line 6, in <module>
    from apiclient.discovery import build as google_service_build
  File "/home/ubuntu/environment3/lib/python3.4/site-packages/apiclient/__init__.py", line 1, in <module>
    from .base import APIClient, APIClient_SharedSecret
  File "/home/ubuntu/environment3/lib/python3.4/site-packages/apiclient/base.py", line 4, in <module>
    from urllib import urlencode
ImportError: cannot import name 'urlencode'

Replace urllib3 by requests

Do you consider a good idea to do that replacement? Since requests lib is considered a very good option to handle http/https communication, i thought it was a good feature to work on.
I'll be working in this for a personal project. If you like this idea, i can maybe send you a pull request once is done.

new version needs to be released

1.0.2 was released in October of 2011. There have been several commits since then, and a new version needs to be released to apply the changes to PyPI. I personally have been affected by the issue fixed in ee95622 when trying to use pandas functions that depend on apiclient. There are also two good PRs waiting to be merged - the addition of tests and tox would be nice, even if development isn't moving very quickly ๐Ÿ˜€

So, even if you don't merge the new PRs, could you release 1.0.3? I'm currently pip installing via github, which I'd rather not do in the long run. All it would take would be to update setup.py with the new version, CHANGES.rst with a note or two on the new release and its date, draft a release on Github, and push to PyPI.

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.