eyeseast / geocode-sqlite

Geocode rows in a SQLite database table
Apache License 2.0
231 stars 6 forks source link

Need a progress bar #5

Closed eyeseast closed 3 years ago

eyeseast commented 4 years ago

Especially when rate limiting, which is now the default, geocoding a table is slow. With a one-second delay, a 300 row table takes five minutes to finish, at best.

eyeseast commented 4 years ago

A progress bar needs an iterable and a total length: https://click.palletsprojects.com/en/7.x/utils/#showing-progress-bars

I think I'd want to add a version of geocode_table that yields geocoded results. That might also be good for integrating with Datasette, too, but that might require being async.