def algorithm_from_text(text):
    
    value = _algorithm_by_text.get(text.upper())
    if value is None:
        value = int(text)
    return value
Run a command with a timeout after which it will be forcibly killed.
dataset/ETHPy150Open catap/namebench/nb_third_party/dns/dnssec.py/algorithm_from_text--crossover with--dataset/ETHPy150Open Khan/alertlib/timeout.py/run_with_timeout