title: Way to get local standard time offset for at a given location and date in Python
body: <p>I am looking for a way to, given a location (i.e. a lon/lat pair) and date, find out the UTC offset at that location at that time, <em>ignoring DST</em>. In other words, if a location remained in standard time all year, what would the UTC offset be? This UTC offset could still change over time, because many places have changed their actual timezone throughout history.</p>
  <p>Ignoring DST is what is causing me issues. I am able to get the UTC offset for a some <code>lon</code>, <code>lat</code>, and <code>date</code> values like this:</p>
  <pre><code>tf           = timezonefinder.TimezoneFinder()
  timezone_str = tf.certain_timezone_at(lat = lat, lng = lon)
  tz           = pytz.timezone(timezone_str)
  utc_offset   = tz.utcoffset(date).total_seconds()/60/60
  </code></pre>
  <p>But pytz automatically accounts for daylights saving time changes. The <code>is_dst</code> parameter which can be passed to <code>utcoffset</code> was promising initially, but after looking through <a href="https://pypi.org/project/pytz/" rel="nofollow noreferrer">the docs</a>, it appears as if this parameter is usually ignored, except for ambiguous cases.</p>
  <p>The <code>._tzinfos</code> class of pytz timezone objects seems to have some promising information...but I'm not sure how to parse through it.</p>