timezonefinder
This is a python package for looking up the corresponding timezone for given coordinates on earth entirely offline.
Quick Guide:
pip install timezonefinder
from timezonefinder import TimezoneFinder
tf = TimezoneFinder() # reuse
query_points = [(13.358, 52.5061), ...]
for lng, lat in query_points:
tz = tf.timezone_at(lng=lng, lat=lat) # 'Europe/Berlin'
For more refer to the Documentation.
Also check:
ruby port: timezone_finder