def get_asterisks_for_pvalues(p_value: float) -> str:
    """Receives the p-value and returns asterisks string.

    Args:
        p_value: A float that represents a p-value.

    Returns:
        p_text: A string containing an asterisk representation of the p-value significance.
    """
    if p_value > 0.05:
        p_text = 'ns'  # above threshold => not significant
    elif p_value < 1e-4:
        p_text = '****'
    elif p_value < 1e-3:
        p_text = '***'
    elif p_value < 1e-2:
        p_text = '**'
    else:
        p_text = '*'

    return p_text