faker.providers.pythonΒΆ

fake.pyint()
# 7882

fake.pystruct(count=10, *value_types)
# (   [   'orQNBgohtdQvQYVZcArw',
#         4229,
#         'http://hamilton-church.org/',
#         31705522.0,
#         1309,
#         'zkOkehfnGhnfcLDwKKOH',
#         730730.37,
#         'ThNrtNhbHcAsjGfSdEes',
#         'dGYsNIJQIqanjxkjlYMm',
#         'TclhhaHeBaNHVtIdhDUf'],
#     {   'business': datetime.datetime(1974, 12, 4, 20, 37, 42),
#         'despite': 'SDiUxidtcRBxytOyUSgm',
#         'difficult': 'lorijones@wright-miller.biz',
#         'fish': 'VAgysQwriOEomkPKDehp',
#         'manage': 'https://hood.com/privacy/',
#         'occur': 5452,
#         'out': datetime.datetime(2005, 3, 15, 10, 30, 39),
#         'policy': Decimal('-76903927878.29'),
#         'truth': 'gbTQddmYYHQUJNCCgUMS',
#         'upon': 734930056.0},
#     {   'answer': {   5: 'DTjTNMJPazamVYJygVCA',
#                       6: [   datetime.datetime(1990, 9, 8, 19, 44, 16),
#                              'KQwlSIhXzqVRwxZWPCOm',
#                              datetime.datetime(1975, 2, 9, 5, 22, 39)],
#                       7: {   5: 'darrylschneider@yahoo.com',
#                              6: 'TpsUeZaQHNvzjMcGCKXp',
#                              7: [8513, 'jkXgIBTaoyPXMjhzpMJA']}},
#         'bag': {   9: 'andrewgreen@yahoo.com',
#                    10: [   'OkQjHKZiGkwWYQhVPFGo',
#                            datetime.datetime(1988, 10, 31, 2, 49, 6),
#                            1751],
#                    11: {   9: 'tpnqLQPbmBfSHwAelsrB',
#                            10: 'tgryUjSmnudgMhYDcRfv',
#                            11: [1248, 'LMnzBlqRXgfaMhLVlMvO']}},
#         'computer': {   4: 1178,
#                         5: ['oortiz@ward.com', 'hZZgKTNAUdpCKyzEHosU', 4.3024],
#                         6: {   4: 'FQtapTkBNyJxQRBvhdGX',
#                                5: 'AKKGzMYSOvwzDEfqjoWP',
#                                6: [   'nFwKIjwxdMquoBuOwcrr',
#                                       datetime.datetime(2001, 11, 23, 5, 24, 6)]}},
#         'easy': {   2: datetime.datetime(1970, 10, 1, 5, 40, 10),
#                     3: [   'kFYDTBdAsjxINJonyBKR',
#                            'wseKeTMtGrhXVmmojvXn',
#                            'uxTSieBtCAStchimuPFC'],
#                     4: {   2: 'http://griffin.com/search/about/',
#                            3: 'bmartinez@hotmail.com',
#                            4: [8519, datetime.datetime(1972, 6, 29, 2, 3, 2)]}},
#         'environmental': {   1: 'oflpTqOgdWzhLeyRvbFe',
#                              2: [   Decimal('30639992034175.2'),
#                                     19,
#                                     'PlNgAzwoqUFGgtaydmYb'],
#                              3: {   1: 4270,
#                                     2: Decimal('-78038562462.7'),
#                                     3: [   'WXrYdHJmZllboabwSTif',
#                                            'AhiyJoMypMzVdXSmGPfr']}},
#         'green': {   8: 'MmQVjhCwuWytCWicpMvO',
#                      9: [   'mGmxwMDuCjeGMsjiXvfQ',
#                             'xyoder@cherry.org',
#                             'StesKhpIBjnkXWUnLZVK'],
#                      10: {   8: datetime.datetime(2013, 2, 21, 6, 56, 54),
#                              9: Decimal('-997572591.804609'),
#                              10: [   'kvYipqDCWAJXgFztvoyA',
#                                      'ifptkgEUQbHgJrHWvFrj']}},
#         'growth': {   0: 'timothy50@green-buckley.com',
#                       1: [   'QFGQZRyBrXDuQggYxSxG',
#                              'http://clark.org/terms/',
#                              'GELeeLKOkKfpiznNGfJp'],
#                       2: {   0: datetime.datetime(1975, 8, 31, 14, 57, 12),
#                              1: 'rodriguezkelly@yahoo.com',
#                              2: [-4643115.6073, 86.371768284]}},
#         'keep': {   7: 'TUfMizzjBwEYaiLPfScN',
#                     8: ['YNCFClWJFNkCKVaZrKqZ', 'xrobinson@hotmail.com', 9508],
#                     9: {   7: datetime.datetime(2001, 7, 28, 5, 48, 27),
#                            8: 'pEyntAVRRryPCCyFHknW',
#                            9: [Decimal('38643.682661415'), 45]}},
#         'seven': {   6: 7966,
#                      7: [   Decimal('496372.77745'),
#                             'http://sellers-walker.info/search/',
#                             'tEtygYaOcXLyBUInnoHr'],
#                      8: {   6: 1468,
#                             7: datetime.datetime(1990, 11, 19, 7, 8, 2),
#                             8: [   'EECmqyWKYWxjdWQRxbtY',
#                                    'jfarrell@lewis-lawrence.info']}},
#         'side': {   3: 'lbnImlCfZXzfxbVsAMfy',
#                     4: [Decimal('37042521614.3'), 'zEYGROtZcOcPOcEjaOnR', 1616],
#                     5: {   3: 'http://lee.com/',
#                            4: 'hvnbzRLrDwwGbitPXQFn',
#                            5: ['adampetty@hotmail.com', 5175]}}})

fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types)
# (   7168,
#     'NmmWgyLnhAaZswjNaDFa',
#     Decimal('3417554484.65'),
#     'gHayYgHGfUPzWztHyHKz',
#     6056,
#     'icSZdZyzsxFxMmWUDwXE',
#     Decimal('-6055.744'),
#     'TXoKDjXwYPsqsiiRfeMj',
#     'http://www.white.com/list/tags/main/login/',
#     'jrhDzNuNKoJRfezGukxJ',
#     Decimal('2.78118625375642'))

fake.pybool()
# False

fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types)
# {3968, 'http://durham-maldonado.net/explore/wp-content/tag/login.jsp', 'CYZlDZTwpmGOKNHWcHhN', 'http://woodard.com/blog/category/about.php', Decimal('-5237176.56167'), 4783, 659297337708497.0, 'https://nelson.com/blog/main.html', 'wwwDLPUlGuDvXYrRSKKX', 'NUoyXjtPeYqAwvotInkw', 'krvfdDCYKQpAYmVwVqje', 'IoKzmoHLtRsQAtFjqZeH'}

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

fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types)
# {Decimal('-523242055274975.0'), 'TjvTmvotIEuozgBHaxYx', 'snVIMIuEFRLFbIpggcZn', 9085, 3021, 'http://chang.com/main/main/search.jsp', 'DWYUpYpsviEGYtjvIJYH', datetime.datetime(2018, 12, 4, 20, 2, 40), datetime.datetime(1977, 4, 17, 13, 58, 25), Decimal('60.841')}

fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types)
# [   'hYxkfUXXfhqPqwQRAVWt',
#     'gOfjuammSzXKznHoGZwm',
#     Decimal('4793920256.4'),
#     'bjames@yahoo.com',
#     410072643.0,
#     8169,
#     2111,
#     'ZDQtzRMRRwSiukkCeUnU']

fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types)
# {   'agent': -7304497.23,
#     'because': datetime.datetime(1984, 12, 13, 5, 17, 2),
#     'environmental': 88154.792121,
#     'force': 6307,
#     'hot': datetime.datetime(1990, 2, 13, 4, 3, 28),
#     'instead': 'xdbJpySAxXRueyixWnnO',
#     'mission': 'QVQaqsCRVKMIwwDhJdeS',
#     'quite': 'SwOxLEfauKsoRcbDGtPd',
#     'subject': 'WLSDEcoZKCTlzodsJMOz',
#     'thus': 'cJkOgkhORKfaSSgGXXnF',
#     'type': 'hdgODsgRAyQlfDWgcfXn',
#     'word': 'vBjkrdrEotkfwjzSwaNN'}

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

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