faker.providers.pythonΒΆ

fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types)
# {'elizabeth71@gmail.com', 'RvhRiYfvSnhUjlGPuYdp', -672154739642.0, datetime.datetime(2006, 9, 2, 4, 52, 25), 'hEVNfkjVzbNODjuTiCQY', 'curzdLMyPLzNLhFlfifx', 'GdPYeqpqGtKrLDNJIpGb', 'bZmgfvPFuWQBeimyQjEO', 'http://smith.info/explore/list/categories/terms.jsp', 'simpsonvernon@yahoo.com'}

fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types)
# {'https://miller.com/tag/search/search/index/', 'bWhgWwCkneVcMGYYDJTb', 5958, 7274, datetime.datetime(1983, 9, 14, 18, 29, 38), 'gYlifddqMVLICECPePlB', datetime.datetime(2008, 1, 3, 21, 55, 49), 'pRIoKiVVhfnpraOWOVJp', 'RnqLgHfrZriYTKsRsoxI', 'LpBdFHhKphxkqngfTbEA', 'https://www.charles.com/post.asp', 'carrollshane@gonzalez.com'}

fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types)
# (   'xrlzzzPzEAoePhRCmSKE',
#     'ZNjSQOhSwDTSQdvoFmxU',
#     5389,
#     'GPEqLEOWoaiBcTGSIYYP',
#     'stRXxcprpscXdQBJDkrs',
#     1872,
#     'xrose@hotmail.com')

fake.pybool()
# True

fake.pystr(min_chars=None, max_chars=20)
# 'DmYWyXSjOnMFROfQxOTY'

fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types)
# [   'CjGtUHxSXMokENpmrLas',
#     'chICvhrdRWRkXvWdtnfG',
#     'https://miller.com/tags/explore/terms/',
#     5741,
#     'WgHpZIfjVEYyGKfWURLS',
#     'shines@love.info',
#     4370,
#     106,
#     'ajSSFsiYCdUbpfdmutbV',
#     90318653205.69,
#     -4625.66]

fake.pyint()
# 2973

fake.pydecimal(left_digits=None, right_digits=None, positive=False)
# Decimal('-4830963.31249174')

fake.pystruct(count=10, *value_types)
# (   [   6732,
#         'IWswzvjWgSaavIkpILVf',
#         'nsQvPyRyMxTzpKgonEDz',
#         'wcqdxrOZhlGWQBYuaYcH',
#         'dpgHordBdKVSuxqEvATZ',
#         Decimal('-889078173.55'),
#         datetime.datetime(1994, 1, 11, 7, 41, 24),
#         7927,
#         7790,
#         'lfaHZkdAIzVKFxqxuGND'],
#     {   'action': 'qgqvZnfOCTtFCeedXMqE',
#         'among': 8689,
#         'animal': 'ACUHGnGgwwuzjFoeKVdR',
#         'argue': -9472459865345.4,
#         'bar': 'http://www.smith.org/category/explore/tags/terms.htm',
#         'before': 7858,
#         'group': 2873,
#         'later': 3151,
#         'successful': 'http://www.zuniga-morton.com/category/categories/privacy/',
#         'time': -3643988402904.44},
#     {   'ask': {   2: 'RWodKiYFRivUzkSpoZtE',
#                    3: [1235, 'SGZFOWUjJDzayCVCjwYv', 3156],
#                    4: {   2: 'qnUbQumNvtkElGcdDYMB',
#                           3: Decimal('-75507362.88847'),
#                           4: ['dAoQzGFcBIaUvbcwRyxT', 'WiqizyHFKAbKLAOtbUMi']}},
#         'attorney': {   0: 2593,
#                         1: [   Decimal('-5490948769347.7'),
#                                Decimal('784.951331887'),
#                                'EAwDjTvSccPCgfLIYHOy'],
#                         2: {   0: 7929,
#                                1: 1637,
#                                2: [   'PTTLsibhPkVKgOrYIkyJ',
#                                       'http://www.walton-rich.com/login/']}},
#         'by': {   9: 'aDLdgoTSnpxwYcJnBueB',
#                   10: [   'meganrichards@gmail.com',
#                           7998442856.81321,
#                           'https://peterson.com/main/'],
#                   11: {   9: 'xsNILerFstGBkksnupqs',
#                           10: 7105,
#                           11: ['cZBNhNQaUtzhFMdiKMrN', 3373]}},
#         'free': {   8: datetime.datetime(2003, 6, 18, 21, 47, 16),
#                     9: [6776, 140, 2305],
#                     10: {   8: Decimal('-469.981592'),
#                             9: 'http://cordova.com/register/',
#                             10: [   0.0,
#                                     'http://www.dunlap-rosales.com/tags/app/main/register.html']}},
#         'late': {   4: 'CTdHilRUMJHCkgIqriae',
#                     5: [   'yyJFCEytIRMbPeGHvJyt',
#                            'https://roberts.biz/register/',
#                            6626],
#                     6: {   4: 'RYWSbjmmAdTnhXFeFLNh',
#                            5: 'McgNQBNBZPWWaVjWkKoW',
#                            6: ['lfvzpdoxpByfnfGkdRcB', -803196067597210.0]}},
#         'mean': {   7: 'cdavis@gmail.com',
#                     8: [   4250741194647.8,
#                            'vJmxGRcDlHYYVZaJiKHk',
#                            'JPYzjogebgYPVpyxPAev'],
#                     9: {   7: Decimal('-244599875209797.0'),
#                            8: 7662,
#                            9: ['qPJYnZupZIlkMjJyEyxQ', 'mikeflynn@yahoo.com']}},
#         'score': {   5: 7355,
#                      6: [-45879051083.0, 'DtORuxQyvzQgDLoiokOk', 8657],
#                      7: {   5: 'VcbcvKlxLekkiqhNCDvs',
#                             6: 2193,
#                             7: ['johnsonjohn@yahoo.com', 6005]}},
#         'tax': {   3: 'TtrRpvuqceieItGpqItk',
#                    4: [   datetime.datetime(1988, 9, 12, 4, 0, 4),
#                           4843,
#                           'ewmHnzrHyHZZHbFIpeEO'],
#                    5: {   3: 3544239335778.3,
#                           4: 59694.17,
#                           5: [-8675176.1907, 'john96@wright.com']}},
#         'tell': {   1: datetime.datetime(1995, 8, 2, 3, 0, 38),
#                     2: [Decimal('-4.0'), -594266.21, 188],
#                     3: {   1: 30782403819359.0,
#                            2: -211460072863.2,
#                            3: [-3802652.92, 'kZbDIsLoJTrYeamULBRw']}},
#         'write': {   6: 3507,
#                      7: [   datetime.datetime(1983, 2, 4, 8, 18, 23),
#                             'ivwFxhWKycyQOucjwrdC',
#                             'kwwYQBxglHhGKPkkSSbV'],
#                      8: {   6: 'http://brown.com/about/',
#                             7: 'jonathancox@chambers.info',
#                             8: [   'IOKAaPcKoXiULkAEGsWG',
#                                    'phfFMTtlwsfIFJOyybNY']}}})

fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types)
# {   'dream': -92.15,
#     'important': 661132706.4,
#     'light': 4318,
#     'professional': 'http://www.mcdonald.com/login/',
#     'recognize': 9384,
#     'sure': Decimal('165236481.0'),
#     'whom': 6711}

fake.pyfloat(left_digits=None, right_digits=None, positive=False)
# -179514.776599