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 details)
Built Distribution
tzgeo-0.0.4-py2.py3-none-any.whl
(17.0 MB
view details)
File details
Details for the file tzgeo-0.0.4.tar.gz
.
File metadata
- Download URL: tzgeo-0.0.4.tar.gz
- Upload date:
- Size: 17.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 719ccf2e00c742f801c16ccee0ddcea1f0ee8d8d98aff8f76701cb2fc0e4967a |
|
MD5 | 4501c1663cb5a8bff0d4bc16f78834a3 |
|
BLAKE2b-256 | 8e6bae7e32d6094e7cda92c6e8b50c76fa7e863c1b4b62ebb3a623ff99501375 |
File details
Details for the file tzgeo-0.0.4-py2.py3-none-any.whl
.
File metadata
- Download URL: tzgeo-0.0.4-py2.py3-none-any.whl
- Upload date:
- Size: 17.0 MB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5ba14efbb15922699aef46fb483f3a8cec150b16016c7c452d4e36b09ef2ffa |
|
MD5 | c089fd7c05205be8875e4cf2c5f5749d |
|
BLAKE2b-256 | 6a740b0d2316be7ded5fa3f9ee8b2b77da5c2c2b72543903d29fe2ba615d0513 |