InseeFrLab / pynsee

pynsee package contains tools to easily search and download french data from INSEE and IGN APIs
https://pynsee.readthedocs.io/en/latest/
MIT License
67 stars 8 forks source link

Update ``get_location`` documentation and add caching #171

Closed tfardet closed 1 year ago

tfardet commented 1 year ago

Fixes #168 and adds caching to _get_location_openstreetmap.

I also cleaned up some imports and bare except clauses. Finally, I moved the get_location directly as a method and removed its former file.

You can ignore the two test files, I just checked them and my editor autoremoves trailing whitespaces.

tfardet commented 1 year ago

Failure in 3.10 seems unrelated to the PR (call to get_geodata which has not been modified)... not sure whether it's worth restarting the test... @hadrilec I'll let you decide on that.

hadrilec commented 1 year ago

I restarted the one which failed, it looks fine now