Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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