def algorithm_from_text(text):
    
    value = _algorithm_by_text.get(text.upper())
    if value is None:
        value = int(text)
    return value
Convert text into a DNSSEC algorithm value
dataset/ETHPy150Open catap/namebench/nb_third_party/dns/dnssec.py/algorithm_from_text