def get_week_timestamp(year, week): d = Week(year, week).monday() return calendar.timegm(d.timetuple())