From 938307853368158002ea0e59386e9efe5a7b078f Mon Sep 17 00:00:00 2001 From: Jamie Taylor Date: Wed, 22 Mar 2023 17:48:26 +0000 Subject: [PATCH] 0.12.0 - Add support for reverse-geocoding to NUTS regions - Use pathlib.Path throughout when working with files - Fix bugs in gmaps.py --- .gitignore | 1 + Docs/build/html/_modules/geocode/geocode.html | 70 +++++---- README.md | 116 +++++++-------- Tests/test_geocode.py | 41 +++++- docs/build/doctrees/environment.pickle | Bin 44958 -> 46674 bytes docs/build/doctrees/modules.doctree | Bin 53378 -> 67043 bytes docs/build/html/.buildinfo | 2 +- docs/build/html/_modules/index.html | 2 +- .../html/_static/documentation_options.js | 2 +- docs/build/html/genindex.html | 8 +- docs/build/html/index.html | 2 +- docs/build/html/modules.html | 23 ++- docs/build/html/objects.inv | Bin 400 -> 406 bytes docs/build/html/search.html | 2 +- docs/build/html/searchindex.js | 2 +- docs/source/conf.py | 2 +- example.py | 42 +++--- geocode/bng2latlon.py | 11 +- geocode/cache_manager.py | 21 +-- geocode/cpo.py | 18 +-- geocode/eurostat.py | 136 ++++++++++++++++++ geocode/geocode.py | 66 +++++---- geocode/gmaps.py | 28 ++-- geocode/latlons2gsp.py | 11 +- geocode/latlons2llsoa.py | 11 +- geocode/ngeso.py | 17 +-- geocode/ons_nrs.py | 59 +++----- geocode/postcodes2latlon.py | 11 +- geocode/utilities.py | 7 +- geocode/version.py | 2 +- setup.py | 4 +- 31 files changed, 468 insertions(+), 249 deletions(-) create mode 100644 geocode/eurostat.py diff --git a/.gitignore b/.gitignore index f168604..5245a68 100644 --- a/.gitignore +++ b/.gitignore @@ -106,3 +106,4 @@ venv.bak/ # Project specific *.p geocode/google_maps/key.txt +geocode/cache/key.txt diff --git a/Docs/build/html/_modules/geocode/geocode.html b/Docs/build/html/_modules/geocode/geocode.html index a7c30b9..6533c70 100644 --- a/Docs/build/html/_modules/geocode/geocode.html +++ b/Docs/build/html/_modules/geocode/geocode.html @@ -3,7 +3,7 @@ - geocode.geocode — Geocode 0.11.1 documentation + geocode.geocode — Geocode 0.12.0 documentation