def get_period_alias(offset_str):
 return _offset_to_period_map.get(offset_str, None)

def get_period_alias ( offset_str ) : return _offset_to_period_map . get ( offset_str , None )
alias to closest period strings bq->q etc .