def nn_symbols():
    value = ctypes.c_int()
    name_value_pairs = []
    i = 0
    while True:
        name = _nn_symbol(i, ctypes.byref(value))
        if name is None:
            break
        i += 1
        name_value_pairs.append((name.decode('ascii'), value.value))
    return name_value_pairs
https://gist.github.com/jaytaylor/3660565
dataset/ETHPy150Open tonysimpson/nanomsg-python/_nanomsg_ctypes/__init__.py/nn_symbols--crossover with--dataset/ETHPy150Open vintasoftware/django-role-permissions/rolepermissions/utils.py/camelToSnake