3 ms·
For me, the google api client libraries, and AWS Lambda. That last one isn't totally Django related, but we use it for certain service calls, and it'd be nicer
by squeaky-clean 10y ago
For me, the google api client libraries, and AWS Lambda. That last one isn't totally Django related, but we use it for certain service calls, and it'd be nicer to be able to maintain one version of the language across the django app and related services.
We ended writing a service in PHP to use Google's APIs, and are mostly using Scala or JS instead of Python for the Lambda services because this project is basically a ton of unicode mangling, and you can pry Python 3's sane unicode support from my cold dead hands! But the libraries still aren't totally perfect. It just takes on dependency being out of date to screw your plans.
- Alex3917 10y agoThe Google API Client is at least Python 3.4 compatible: https://github.com/google/google-api-python-client/ https://github.com/google/google-api-python-client/ I see only one Py3 bug is the open issues. And I think even their ancillary library Python Flags is now officially Py3 compatible, even though there has been a Py3 fork of it for years.
- squeaky-clean 10y agoNice! Looks that was just added in December, prior to that they had a statement saying it would probably work in 3.3+ but wasn't tested. I didn't mean the one literally called google-api-python-client though (forgot they had that, ha). The googleads-python-lib is the critical one for me. PyPI says it supports 3+, but do one search in the repo for "print" and you'll see that's clearly not true. Looking through the history, seems like they've claimed support for it for a while. We've tried it twice and had issues both times, though I never tried it in Py2, so maybe it just has problems in general.
- tedmiston 10y agoI agree on Lambda. There's a "hack" of running Python 3 on AWS Lambda via subprocess until it's officially supported. http://stackoverflow.com/questions/36143563/using-python-3-with-aws-lamba http://stackoverflow.com/questions/36143563/using-python-3-w...