A package to convert ZIP codes to time zones and get geographic coordinates.
Project description
This is a python package for looking up the corresponding timezone for given coordinates on earth entirely offline.
Quick Guide:
pip install ziptimezone
import ziptimezone as zpt
zpt.get_lat_long_for_zip('02138') # returns a tuple (42.377, -71.1256)
zpt.get_timezone_by_zip('02138') # returns 'Eastern' the timezone has been reduced to the more popular zones fo United States Regions
zpt.get_timezone_for_many_zips(['02138', '85260']) # returns a dictionary, {'02138': 'Eastern', '85260': 'Mountain'}
For more refer to the Documentation.
Also check:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ziptimezone-0.10.10.tar.gz
(5.6 kB
view hashes)
Built Distribution
Close
Hashes for ziptimezone-0.10.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62d623a6f71f12fe2cbc905859211ffc43adfccf9e0153408b201476ef5b8e27 |
|
MD5 | de8978d01798b42cb1787ac13361f5b5 |
|
BLAKE2b-256 | a81ee60fd8d9ed7b3c9f4f18905ca058b842e0c69dcd5bee570e55b78dde5282 |