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 optional dependencies for increased performance
from timezonefinder import TimezoneFinder
tf = TimezoneFinder()
tz = tf.timezone_at(lng=13.358, lat=52.5061) # returns 'Europe/Berlin'
For more refer to the Documentation.
Also check:
ruby port: timezone_finder