maxbbraun / accent

Accent Smart Picture Frame
https://accent.ink
MIT License
199 stars 16 forks source link

Remove workarounds for Astral geocoder #5

Closed maxbbraun closed 5 years ago

maxbbraun commented 5 years ago

The Astral library uses requests for its geocoder, which does not work well with App Engine and requires some workarounds. To remove them:

  1. Write a version of astral.GoogleGeocoder that uses google.appengine.api.urlfetch.fetch() instead of requests.get().
  2. Use this new geocoder in sun.
  3. Remove the monkeypatch.
  4. Remove dependencies on requests, requests-toolbelt, and ssl.