code: def bbox(hashcode):
      
      lat, lon, lat_length, lon_length = _decode_c2i(hashcode)
  
      if hasattr(float, "fromhex"):
          latitude_delta = 180.0/(1 << lat_length)
          longitude_delta = 360.0/(1 << lon_length)
          latitude = _int_to_float_hex(lat, lat_length) * 90.0
          longitude = _int_to_float_hex(lon, lon_length) * 180.0
          return {"s": latitude, "w": longitude, "n": latitude+latitude_delta, "e": longitude+longitude_delta}
  
      ret = {}
      if lat_length:
          ret['n'] = 180.0*(lat+1-(1 << (lat_length-1)))/(1 << lat_length)
          ret['s'] = 180.0*(lat-(1 << (lat_length-1)))/(1 << lat_length)
      else:  # can't calculate the half with bit shifts (negative shift)
          ret['n'] = 90.0
          ret['s'] = -90.0
  
      if lon_length:
          ret['e'] = 360.0*(lon+1-(1 << (lon_length-1)))/(1 << lon_length)
          ret['w'] = 360.0*(lon-(1 << (lon_length-1)))/(1 << lon_length)
      else:  # can't calculate the half with bit shifts (negative shift)
          ret['e'] = 180.0
          ret['w'] = -180.0
  
      return ret
docs: decode a hashcode and get north, south, east and west border.