import pickle


def rpkl(dict_path):
    """read pickle file

    Args:
        dict_path(str): pickle file path

    Returns:
        dict_object(dict): pickle file object

    Examples:
        >>> rpkl("test.pkl")
        {'a': 1, 'b': 2}
    """
    with open(dict_path, "rb") as f:
        dict_object = pickle.load(f)
    return dict_object