pyzipcode icon indicating copy to clipboard operation
pyzipcode copied to clipboard

No longer maintained! See https://bitbucket.org/vangheem/pyzipcode

Results 14 pyzipcode issues
Sort by recently updated
recently updated
newest added

Master branch: ``` In [3]: %timeit pyzipcode.ZipCodeDatabase().find_zip(state='CA') 10 loops, best of 3: 32 ms per loop ``` This PR: ``` In [2]: %timeit pyzipcode.ZipCodeDatabase().find_zip(state='CA') 10 loops, best of 3: 25.6...

Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/p3/_g1l8f5j52z3yrncqqftl3jc0000gn/T/pip-build-o8xznxad/pysqlite/

This PR adds `33966` to the zipcode database (it was missing and bumps the version number to 0.5. I simply executed the following command: ``` INSERT into Zipcodes (zip, city,...

I want to get time zone from different zip codes I have and it works fine with most of them but it fails with some of them. I have given...

This small change makes pyzipcode independent from pysqlite, which is the only dependency that is not Python 3 friendly. Fixes #7

Thanks for supporting Python 3. However, I noticed that this is a fork. Is it on PyPI?

I ran 2to3 -w which seemed to work.

zipcode = zcdb[92395] Traceback (most recent call last): File "", line 1, in File "/Users/ushnishde/anaconda/lib/python2.7/site-packages/pyzipcode/**init**.py", line 167, in **getitem** raise IndexError("Couldn't find zipcode: '%s'" % zipcode) IndexError: Couldn't find zipcode:...

Using relative import for settings so that unit test can be run with: ``` python -m unittest pyzipcode.tests ```