def remote_addr_ip(request):
    return request.META.get('REMOTE_ADDR') or None
Turns a key into a form that the Trie will return e.g. in keys().
dataset/ETHPy150Open ulule/django-safety/safety/resolvers.py/remote_addr_ip--crossover with--dataset/ETHPy150Open google/pygtrie/test.py/TrieTestCase.KeyFromKey