zipcode - lightweight python library to query city/state name by zip code? -


pretty simple here, i'm looking lightweight library allow me lookup city/state pairing given zip code. using django fwiw. in advance.

try pyzipcode. example home page:

>>> pyzipcode import zipcodedatabase >>> zcdb = zipcodedatabase() >>> zipcode = zcdb[54115] >>> zipcode.zip u'54115' >>> zipcode.city u'de pere' >>> zipcode.state u'wi' >>> zipcode.longitude -88.078959999999995 >>> zipcode.latitude 44.42042 >>> zipcode.timezone -6 

Comments

Popular posts from this blog

c# - SVN Error : "svnadmin: E205000: Too many arguments" -

c# - Copy ObservableCollection to another ObservableCollection -

All overlapping substrings matching a java regex -