Skip to main content

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!


The easiest way to install is using pip:

pip install tzgeo


Using tzgeo is very simple!

>>> import tzgeo
>>> tzgeo.tz_lookup(39.888724, -75.107952)

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.

Files for tzgeo, version 0.0.4
Filename, size File type Python version Upload date Hashes
Filename, size tzgeo-0.0.4-py2.py3-none-any.whl (17.0 MB) File type Wheel Python version 2.7 Upload date Hashes View
Filename, size tzgeo-0.0.4.tar.gz (17.0 MB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page