MacHu-GWU / uszipcode-project

USA zipcode programmable database, includes up-to-date census and geometry information.
MIT License
231 stars 49 forks source link

allow the sqlite download url to be specified via init #30

Closed DovetailJohn closed 4 years ago

DovetailJohn commented 5 years ago

Recently the datahub.io website was down, this allows the user to cache the sqlite to a hosted location and use that.

search = SearchEngine(simple_zipcode=True, download_url='https://my.cache.com/uszipcode_simple_db.sqlite')

codecov-io commented 5 years ago

Codecov Report

Merging #30 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #30   +/-   ##
=======================================
  Coverage   99.22%   99.22%           
=======================================
  Files           4        4           
  Lines         386      386           
=======================================
  Hits          383      383           
  Misses          3        3
Impacted Files Coverage Δ
uszipcode/search.py 98.84% <100%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update c00866e...2b88ba5. Read the comment docs.

MacHu-GWU commented 5 years ago

@DovetailJohn Good idea, will review it tomorrow!