Get the timezone for a location
Project description
tzgeo is a library with one simple purpose - to convert a lat/lon to a timezone - really fast!
Installation
The easiest way to install is using pip:
pip install tzgeo
Usage
Using tzgeo is very simple!
>>> import tzgeo >>> tzgeo.tz_lookup(39.888724, -75.107952) u'America/New_York'
If the location is invalid, or points at the ocean, tz_lookup will return None.
More Information
More information can be found on the project’s github page
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tzgeo-0.0.4.tar.gz
(17.0 MB
view hashes)
Built Distribution
tzgeo-0.0.4-py2.py3-none-any.whl
(17.0 MB
view hashes)
Close
Hashes for tzgeo-0.0.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5ba14efbb15922699aef46fb483f3a8cec150b16016c7c452d4e36b09ef2ffa |
|
MD5 | c089fd7c05205be8875e4cf2c5f5749d |
|
BLAKE2b-256 | 6a740b0d2316be7ded5fa3f9ee8b2b77da5c2c2b72543903d29fe2ba615d0513 |