Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

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


Release history Release notifications

This version
History Node

0.0.4

History Node

0.0.3

History Node

0.0.2

History Node

0.0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
tzgeo-0.0.4-py2.py3-none-any.whl (17.0 MB) Copy SHA256 hash SHA256 Wheel 2.7 Nov 16, 2016
tzgeo-0.0.4.tar.gz (17.0 MB) Copy SHA256 hash SHA256 Source None Nov 16, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page