def group_to_principal(group):
    if group in (Everyone, Authenticated) or group.startswith('group:'):
        return group
    elif group == 'everyone':
        return Everyone
    elif group == 'authenticated':
        return Authenticated
    else:
        return 'group:' + group
Send data to the socket. The socket must be connected to a
dataset/ETHPy150Open mathcamp/pypicloud/pypicloud/access/base.py/group_to_principal--crossover with--dataset/ETHPy150Open javgh/greenaddress-pos-tools/nfc/llcp/socket.py/Socket.send