Switch from `requests` to `httpx`
httpx is a modern, fully type annotated HTTP python client that has both sync and async clients implemented.
I guess it will be great to switch to it, and it should be pretty easy cause it is fully compatible with requests public interface.
And as far as it has async support it should be easier to implement #368.
If you would like to upvote the priority of this issue, please comment below or react with :+1: so we can see what is popular when we triage.
@uriyyo Thank you for opening this issue. 🙏 Please check out these other resources that might help you get to a resolution in the meantime:
- Check the issue tracker - bugs and feature requests for Google Maps Platform APIs and SDKs
- Open a support case - Get 1:1 support in Cloud Console.
- Discord - chat with other developers
- StackOverflow - use the
google-mapstag
This is an automated message, feel free to ignore.
Getting the speed of this client up would be great, it is very slow at the moment, managing only 5 requests per second, well below the limits
I would like to implement this, if nobody else is already working on it? *EDIT: @wangela given python doesn't have builtin async functionality, would this really be a worthwhile endeavour?
Thanks
Hello there,
Sorry to barge in, There's an alternative you may be interested in. https://github.com/jawah/niquests
This is a drop-in-worthy replacement for Requests that ships with modern capabilities and allows you a painless transition. I can answer any concerns you may have.