Awesome Open Source
Awesome Open Source

timezonefinder

https://github.com/jannikmi/timezonefinder/actions/workflows/build.yml/badge.svg?branch=master documentation status https://img.shields.io/circleci/project/github/conda-forge/timezonefinder-feedstock/master.svg?label=noarch pre-commit total PyPI downloads latest version on PyPI latest version on Conda

This is a fast and lightweight python package for looking up the corresponding timezone for given coordinates on earth entirely offline.

Quick Guide:

pip install timezonefinder[numba] # also installs numba -> x100 speedup
from timezonefinder import TimezoneFinder

tf = TimezoneFinder()
latitude, longitude = 52.5061, 13.358
tf.timezone_at(lng=longitude, lat=latitude)  # returns 'Europe/Berlin'

For more refer to the Documentation.

Also check:

PyPI

online GUI and API

conda-forge feedstock

ruby port: timezone_finder

download stats


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Python (1,142,969
Geolocation (1,023
Location (674
Timezone (363
Coordinates (179
Related Projects