users = [
    {
        "id": 1,
        "first_name": "Mandy",
        "last_name": "Gowan",
        "email": "<EMAIL>",
        "gender": "Female",
        "ip_address": "192.168.127.12",
        "salary": 119885
    },
    {
        "id": 2,
        "first_name": "Janessa",
        "last_name": "Cotterell",
        "email": "<EMAIL>",
        "gender": "Female",
        "ip_address": "192.168.127.12",
        "salary": 107629
    },
    {
        "id": 3,
        "first_name": "Lucila",
        "last_name": "Grover",
        "email": "<EMAIL>",
        "gender": "Female",
        "ip_address": "192.168.127.12",

        "salary": 115304
    },
    {
        "id": 4,
        "first_name": "Hilary",
        "last_name": "Crose",
        "email": "<EMAIL>",
        "gender": "Female",
        "ip_address": "172.16.17.32",

        "salary": 99121
    },
    {
        "id": 5,
        "first_name": "Stacee",
        "last_name": "Brailsford",
        "email": "<EMAIL>",
        "gender": "Female",
        "ip_address": "172.16.31.10",

        "salary": 80294
    },
    {
        "id": 6,
        "first_name": "Jasen",
        "last_name": "Franzini",
        "email": "<EMAIL>",
        "gender": "Male",
        "ip_address": "172.16.31.10",

        "salary": 78373
    },
    {
        "id": 7,
        "first_name": "Vasili",
        "last_name": "Simester",
        "email": "<EMAIL>",
        "gender": "Male",
        "ip_address": "172.16.58.3",

        "salary": 78404
    },
    {
        "id": 8,
        "first_name": "Lind",
        "last_name": "Geerits",
        "email": "<EMAIL>",
        "gender": "Male",
        "ip_address": "172.16.31.10",

        "salary": 50979
    },
    {
        "id": 9,
        "first_name": "Darbee",
        "last_name": "Kiebes",
        "email": "<EMAIL>",
        "gender": "Male",
        "ip_address": "172.16.17.32",

        "salary": 62609
    },
    {
        "id": 10,
        "first_name": "Britte",
        "last_name": "Bradbury",
        "email": "<EMAIL>",
        "gender": "Male",
        "ip_address": "172.16.31.10",

        "salary": 67997
    },
    {
        "id": 11,
        "first_name": "Orsola",
        "last_name": "Phlipon",
        "email": "<EMAIL>",
        "gender": "Female",
        "ip_address": "172.16.58.3",

        "salary": 121529
    },
    {
        "id": 12,
        "first_name": "Layton",
        "last_name": "Punshon",
        "email": "<EMAIL>",
        "gender": "Male",
        "ip_address": "172.16.17.32",

        "salary": 84051
    },
    {
        "id": 13,
        "first_name": "Geneva",
        "last_name": "Aberdein",
        "email": "<EMAIL>",
        "gender": "Agender",
        "ip_address": "172.16.17.32",

        "salary": 76272
    },
    {
        "id": 14,
        "first_name": "Karilynn",
        "last_name": "Fleckno",
        "email": "<EMAIL>",
        "gender": "Polygender",
        "ip_address": "172.16.31.10",

        "salary": 116241
    },
    {
        "id": 15,
        "first_name": "Rosabelle",
        "last_name": "McGerraghty",
        "email": "<EMAIL>",
        "gender": "Male",
        "ip_address": "172.16.58.3",

        "salary": 99056
    },
    {
        "id": 16,
        "first_name": "Wiley",
        "last_name": "Valerius",
        "email": "<EMAIL>",
        "gender": "Male",
        "ip_address": "172.16.17.32",

        "salary": 99011
    },
    {
        "id": 17,
        "first_name": "Edeline",
        "last_name": "Laville",
        "email": "<EMAIL>",
        "gender": "Polygender",
        "ip_address": "253.8.105.251",

        "salary": 62710
    },
    {
        "id": 18,
        "first_name": "Vincent",
        "last_name": "Ewbank",
        "email": "<EMAIL>",
        "gender": "Female",
        "ip_address": "255.130.161.255",

        "salary": 95113
    },
    {
        "id": 19,
        "first_name": "Timoteo",
        "last_name": "Lyburn",
        "email": "<EMAIL>",
        "gender": "Male",
        "ip_address": "192.168.127.12",

        "salary": 121935
    },
    {
        "id": 20,
        "first_name": "Cly",
        "last_name": "Coaster",
        "email": "<EMAIL>",
        "gender": "Male",
        "ip_address": "172.16.17.32",

        "salary": 85496
    },
    {
        "id": 21,
        "first_name": "Seline",
        "last_name": "Cosford",
        "email": "<EMAIL>",
        "gender": "Non-binary",
        "ip_address": "241.108.116.8",

        "salary": 115061
    },
    {
        "id": 22,
        "first_name": "Gardener",
        "last_name": "Brangan",
        "email": "<EMAIL>",
        "gender": "Polygender",
        "ip_address": "252.222.19.169",

        "salary": 68313
    },
    {
        "id": 23,
        "first_name": "Syman",
        "last_name": "Cadogan",
        "email": "<EMAIL>",
        "gender": "Male",
        "ip_address": "192.168.127.12",

        "salary": 54965
    },
    {
        "id": 24,
        "first_name": "Wolfgang",
        "last_name": "Rusk",
        "email": "<EMAIL>",
        "gender": "Non-binary",
        "ip_address": "172.16.31.10",

        "salary": 51932
    },
    {
        "id": 25,
        "first_name": "Windham",
        "last_name": "Slowley",
        "email": "<EMAIL>",
        "gender": "Male",
        "ip_address": "192.168.3.11",

        "salary": 94147
    }
]

def get_users():
    return users

def get_200_users():
    results =[]
    for num in range(8):
        for curuser in users:
            results.append(curuser)
    return results


def from_list(data):
    for row in data:
        yield row

def get_number_of_25_group_users(num):

    for num in range(num):
        for curuser in users:
            yield curuser
users = [
    {
        "id": 1,
        "first_name": "Mandy",
        "last_name": "Gowan",
        "email": "<EMAIL>",
        "gender": "Female",
        "ip_address": "192.168.127.12",
        "salary": 119885
    },
    {
        "id": 2,
        "first_name": "Janessa",
        "last_name": "Cotterell",
        "email": "<EMAIL>",
        "gender": "Female",
        "ip_address": "192.168.127.12",
        "salary": 107629
    },
    {
        "id": 3,
        "first_name": "Lucila",
        "last_name": "Grover",
        "email": "<EMAIL>",
        "gender": "Female",
        "ip_address": "192.168.127.12",

        "salary": 115304
    },
    {
        "id": 4,
        "first_name": "Hilary",
        "last_name": "Crose",
        "email": "<EMAIL>",
        "gender": "Female",
        "ip_address": "172.16.17.32",

        "salary": 99121
    },
    {
        "id": 5,
        "first_name": "Stacee",
        "last_name": "Brailsford",
        "email": "<EMAIL>",
        "gender": "Female",
        "ip_address": "172.16.31.10",

        "salary": 80294
    },
    {
        "id": 6,
        "first_name": "Jasen",
        "last_name": "Franzini",
        "email": "<EMAIL>",
        "gender": "Male",
        "ip_address": "172.16.31.10",

        "salary": 78373
    },
    {
        "id": 7,
        "first_name": "Vasili",
        "last_name": "Simester",
        "email": "<EMAIL>",
        "gender": "Male",
        "ip_address": "172.16.58.3",

        "salary": 78404
    },
    {
        "id": 8,
        "first_name": "Lind",
        "last_name": "Geerits",
        "email": "<EMAIL>",
        "gender": "Male",
        "ip_address": "172.16.31.10",

        "salary": 50979
    },
    {
        "id": 9,
        "first_name": "Darbee",
        "last_name": "Kiebes",
        "email": "<EMAIL>",
        "gender": "Male",
        "ip_address": "172.16.17.32",

        "salary": 62609
    },
    {
        "id": 10,
        "first_name": "Britte",
        "last_name": "Bradbury",
        "email": "<EMAIL>",
        "gender": "Male",
        "ip_address": "172.16.31.10",

        "salary": 67997
    },
    {
        "id": 11,
        "first_name": "Orsola",
        "last_name": "Phlipon",
        "email": "<EMAIL>",
        "gender": "Female",
        "ip_address": "172.16.58.3",

        "salary": 121529
    },
    {
        "id": 12,
        "first_name": "Layton",
        "last_name": "Punshon",
        "email": "<EMAIL>",
        "gender": "Male",
        "ip_address": "172.16.17.32",

        "salary": 84051
    },
    {
        "id": 13,
        "first_name": "Geneva",
        "last_name": "Aberdein",
        "email": "<EMAIL>",
        "gender": "Agender",
        "ip_address": "172.16.17.32",

        "salary": 76272
    },
    {
        "id": 14,
        "first_name": "Karilynn",
        "last_name": "Fleckno",
        "email": "<EMAIL>",
        "gender": "Polygender",
        "ip_address": "172.16.31.10",

        "salary": 116241
    },
    {
        "id": 15,
        "first_name": "Rosabelle",
        "last_name": "McGerraghty",
        "email": "<EMAIL>",
        "gender": "Male",
        "ip_address": "172.16.58.3",

        "salary": 99056
    },
    {
        "id": 16,
        "first_name": "Wiley",
        "last_name": "Valerius",
        "email": "<EMAIL>",
        "gender": "Male",
        "ip_address": "172.16.17.32",

        "salary": 99011
    },
    {
        "id": 17,
        "first_name": "Edeline",
        "last_name": "Laville",
        "email": "<EMAIL>",
        "gender": "Polygender",
        "ip_address": "253.8.105.251",

        "salary": 62710
    },
    {
        "id": 18,
        "first_name": "Vincent",
        "last_name": "Ewbank",
        "email": "<EMAIL>",
        "gender": "Female",
        "ip_address": "255.130.161.255",

        "salary": 95113
    },
    {
        "id": 19,
        "first_name": "Timoteo",
        "last_name": "Lyburn",
        "email": "<EMAIL>",
        "gender": "Male",
        "ip_address": "192.168.127.12",

        "salary": 121935
    },
    {
        "id": 20,
        "first_name": "Cly",
        "last_name": "Coaster",
        "email": "<EMAIL>",
        "gender": "Male",
        "ip_address": "172.16.17.32",

        "salary": 85496
    },
    {
        "id": 21,
        "first_name": "Seline",
        "last_name": "Cosford",
        "email": "<EMAIL>",
        "gender": "Non-binary",
        "ip_address": "241.108.116.8",

        "salary": 115061
    },
    {
        "id": 22,
        "first_name": "Gardener",
        "last_name": "Brangan",
        "email": "<EMAIL>",
        "gender": "Polygender",
        "ip_address": "252.222.19.169",

        "salary": 68313
    },
    {
        "id": 23,
        "first_name": "Syman",
        "last_name": "Cadogan",
        "email": "<EMAIL>",
        "gender": "Male",
        "ip_address": "192.168.127.12",

        "salary": 54965
    },
    {
        "id": 24,
        "first_name": "Wolfgang",
        "last_name": "Rusk",
        "email": "<EMAIL>",
        "gender": "Non-binary",
        "ip_address": "172.16.31.10",

        "salary": 51932
    },
    {
        "id": 25,
        "first_name": "Windham",
        "last_name": "Slowley",
        "email": "<EMAIL>",
        "gender": "Male",
        "ip_address": "192.168.3.11",

        "salary": 94147
    }
]

def get_users():
    return users

def get_200_users():
    results =[]
    for num in range(8):
        for curuser in users:
            results.append(curuser)
    return results


def from_list(data):
    for row in data:
        yield row

def get_number_of_25_group_users(num):

    for num in range(num):
        for curuser in users:
            yield curuser