faker.providers.python

class faker.providers.python.Provider(generator)

Bases: faker.providers.BaseProvider

pybool()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.pybool()
...
True
True
False
True
True
pydecimal(left_digits=None, right_digits=None, positive=False, min_value=None, max_value=None)
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.pydecimal()
...
Decimal('-6.36438676418356')
Decimal('-424604.985946604')
Decimal('-61.8878635605209')
Decimal('-829528891695.97')
Decimal('-69804.3874773259')
pydict(nb_elements=10, variable_nb_elements=True, value_types=None, *allowed_types)

Returns a dictionary.

Nb_elements:number of elements for dictionary
Variable_nb_elements:
 is use variable number of elements for dictionary
Value_types:type of dictionary values
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.pydict()
...
{'son': -9787526.29318886, 'voice': datetime.datetime(1979, 6, 24, 16, 0, 13), 'kitchen': 878829203004.256, 'amount': datetime.datetime(2017, 12, 27, 3, 37, 52), 'event': 'https://www.jones.net/home/', 'much': 7113, 'mention': 3350, 'interview': datetime.datetime(2002, 6, 18, 3, 24, 51), 'why': Decimal('-0.13125480365224'), 'step': 18}
{'minute': 'mYPxeqAWfCKCQCYFExFu', 'their': 'https://www.underwood.org/about/', 'trip': 1507002.91096787, 'goal': 'TWRUWCuKoQSUEXExIZVP', 'either': 'qfErjaoKtiwdOSlQGWFd', 'show': 'HFDutYbbXjgkPWbwfnlH', 'gas': 7144, 'score': 'dyFKunVyUDKkNPiiBgVI', 'truth': 'yvDAqsRnDaMrcomXsosX', 'at': 'paul61@wheeler.com', 'cut': 'mHtTDvuKvIcxniBzDNTz', 'whose': -0.58427929423069, 'out': 'CYYRgaXvaaNYJFjFkpJj'}
{'too': -958272097856.158, 'win': 0.28952549189774, 'industry': 'stacey90@hotmail.com', 'product': 'https://savage-thompson.biz/search/main/search/homepage/', 'beat': 1535, 'age': 584, 'face': 'ohEsZgfLWqSLpRpfDzrP', 'white': 2036, 'local': Decimal('-663256918858.38'), 'such': 2550, 'structure': 'GtYHdeMdauAxzEJvtZnO', 'business': 3144}
{'building': 'crawfordjonathan@williams.com', 'attack': 'ktChZZhvJTzVqzzIkFlr', 'term': 5272, 'treat': 'BTFitpKyPAVdgpNxSPTx', 'tonight': 8273, 'science': 8680, 'ahead': datetime.datetime(1972, 4, 15, 13, 55, 28), 'weight': 'http://roberts.biz/', 'never': Decimal('-9.32871903235535'), 'live': 'IajAndSXpvQdHgoRcbvz'}
{'series': 'fObFgqKHkOOfdKFWHYLp', 'beat': 'XupMXZgSZbutjsGXUcnb', 'report': datetime.datetime(2015, 5, 11, 5, 23, 23), 'say': 'http://www.frank.net/categories/categories/explore/search.php', 'civil': 'http://www.brown-perry.com/explore/posts/tag/category/', 'take': 'zSqnsgJrjRltFhaIMUMp', 'head': 'WmhxyKnbkrXpTCrEeBqt', 'its': 'XPqmNpvcgbedvCMhvHex', 'also': 8670, 'population': 'taYUwtXejffFiKWjvjXr', 'man': datetime.datetime(1979, 9, 14, 12, 49, 15), 'imagine': 7576, 'low': 'sfischer@greer.org'}
pyfloat(left_digits=None, right_digits=None, positive=False, min_value=None, max_value=None)
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.pyfloat()
...
-6.36438676418356
-424604.985946604
-61.8878635605209
-829528891695.97
-69804.3874773259
pyint(min_value=0, max_value=9999, step=1)
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.pyint()
...
6311
6890
663
4242
8376
pyiterable(nb_elements=10, variable_nb_elements=True, value_types=None, *allowed_types)
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.pyiterable()
...
('nAvOpyEVAoNGnVZQUqLU', 'wcastro@yahoo.com', 3350, datetime.datetime(2002, 6, 18, 3, 24, 51), Decimal('-0.13125480365224'), 18, 'https://www.nguyen.org/search/privacy/', 'PxeqAWfCKCQCYFExFuDp', 'QbZndJghceKRJRBBmlJQ', 9497, -5995632.11055915)
('zGRmMglPrQfhKcDVBJbH', 'http://wood.com/app/explore/wp-content/home.jsp', 'LdJCGRddpwdyFKunVyUD', 'kramereric@peterson.com', 'http://www.maldonado-mccullough.net/tags/category/about/', 813715717273.8, 748, datetime.datetime(1989, 2, 11, 9, 20, 9), 'mXsosXGGLuvHakrmHtTD', 516, 9297, 766, 'xniBzDNTzqyQTQjZGeLZ')
(55, 'aNYJFjFkpJjyVGbVPgnH', 'wigginsjoshua@gmail.com', 'cJDXWVcMKILUHtBkEahr', 1535, 584, 'ohEsZgfLWqSLpRpfDzrP', 2036, Decimal('-663256918858.38'), 2550, 'GtYHdeMdauAxzEJvtZnO')
(1884, 'QSbBNkznHZPGfxsRfFzD', 'ushelton@yahoo.com', Decimal('8893.939623321'), 5214, 581, datetime.datetime(1980, 2, 5, 16, 17, 34), 49676.679871067)
{'TFyGrgJGPgVPVTJQAOjO', 'sypWXHjZfEiUXPqmNpvc', 'iWmLrWzhUFeKQsbyxfOb', 'wintersbill@santana-duffy.org', 'RltFhaIMUMpJWmhxyKnb', -49.6750872706723, 'MVkBFQzPuESPIajAndSX', Decimal('489057443.373873'), 'http://www.chan.com/home/', 'PAVdgpNxSPTxttBbePAF', 'wDVWvfOMbxJbVYLedsbs', 'http://graves.com/categories/privacy.jsp'}
pylist(nb_elements=10, variable_nb_elements=True, value_types=None, *allowed_types)
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.pylist()
...
[663, -424604.985946604, -9787526.29318886, datetime.datetime(1979, 6, 24, 16, 0, 13), 878829203004.256, datetime.datetime(2017, 12, 27, 3, 37, 52), 'https://www.jones.net/home/', 7113, 3350, datetime.datetime(2002, 6, 18, 3, 24, 51)]
[datetime.datetime(1987, 9, 23, 13, 42, 57), 'PCaLuQIazTmqTjDmYPxe', 8322, Decimal('-5121968691639.9'), 'CQCYFExFuDpjjFIyeNTW', 'UWCuKoQSUEXExIZVPeFz', 'johndennis@gmail.com', 'tiwdOSlQGWFdgjRgeRgF', 'XjgkPWbwfnlHsjAcfZks', Decimal('3.22268014727008'), 'rnFxjyvDAqsRnDaMrcom']
[9996, -9671.19847373924, -87353308.1354309, 'EKilxKJTbTDOKidKxUVF', 'TzqyQTQjZGeLZuJqlLaQ', datetime.datetime(2011, 8, 26, 21, 10, 56), 'jFkpJjyVGbVPgnHQHfiS', 'cJDXWVcMKILUHtBkEahr', 1535, 584, 'ohEsZgfLWqSLpRpfDzrP', 2036]
['KwpMUVGtYHdeMdauAxzE', 'omiller@richards-jackson.com', 1884, 'QSbBNkznHZPGfxsRfFzD', 'ushelton@yahoo.com', Decimal('8893.939623321'), 5214, 581, datetime.datetime(1980, 2, 5, 16, 17, 34), 49676.679871067, Decimal('695421838518.8'), 'gpNxSPTxttBbePAFdwNp']
[7900, 9952, 'http://www.white.com/register/', -6.8763381174432, 'HgoRcbvzSLJhZvFucyhb', 'https://www.dunn.info/home/', 'FyGrgJGPgVPVTJQAOjOx', 'xPdcWzUXIDleQUOKvpfw', 'http://www.brown-perry.com/explore/posts/tag/category/', 'zSqnsgJrjRltFhaIMUMp', 'WmhxyKnbkrXpTCrEeBqt', 'XPqmNpvcgbedvCMhvHex', 8670]
pyset(nb_elements=10, variable_nb_elements=True, value_types=None, *allowed_types)
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.pyset()
...
{-424604.985946604, 7113, datetime.datetime(1979, 6, 24, 16, 0, 13), 'https://www.jones.net/home/', datetime.datetime(2002, 6, 18, 3, 24, 51), 3350, 663, -9787526.29318886, 878829203004.256, datetime.datetime(2017, 12, 27, 3, 37, 52)}
{8322, 'rnFxjyvDAqsRnDaMrcom', 'CQCYFExFuDpjjFIyeNTW', 'UWCuKoQSUEXExIZVPeFz', 'tiwdOSlQGWFdgjRgeRgF', 'XjgkPWbwfnlHsjAcfZks', Decimal('-5121968691639.9'), datetime.datetime(1987, 9, 23, 13, 42, 57), 'johndennis@gmail.com', Decimal('3.22268014727008'), 'PCaLuQIazTmqTjDmYPxe'}
{-87353308.1354309, 'cJDXWVcMKILUHtBkEahr', 584, 9996, datetime.datetime(2011, 8, 26, 21, 10, 56), 'jFkpJjyVGbVPgnHQHfiS', 'ohEsZgfLWqSLpRpfDzrP', 2036, 'TzqyQTQjZGeLZuJqlLaQ', -9671.19847373924, 'EKilxKJTbTDOKidKxUVF', 1535}
{581, 'gpNxSPTxttBbePAFdwNp', 'omiller@richards-jackson.com', 'KwpMUVGtYHdeMdauAxzE', datetime.datetime(1980, 2, 5, 16, 17, 34), 49676.679871067, 'QSbBNkznHZPGfxsRfFzD', Decimal('8893.939623321'), 'ushelton@yahoo.com', 1884, Decimal('695421838518.8'), 5214}
{9952, 'xPdcWzUXIDleQUOKvpfw', 'WmhxyKnbkrXpTCrEeBqt', 8670, 'zSqnsgJrjRltFhaIMUMp', 'https://www.dunn.info/home/', 'http://www.white.com/register/', 'XPqmNpvcgbedvCMhvHex', 'HgoRcbvzSLJhZvFucyhb', -6.8763381174432, 7900, 'http://www.brown-perry.com/explore/posts/tag/category/', 'FyGrgJGPgVPVTJQAOjOx'}
pystr(min_chars=None, max_chars=20)

Generates a random string of upper and lowercase letters. :type min_chars: int :type max_chars: int :return: String. Random of random length between min and max characters.

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.pystr()
...
'RNvnAvOpyEVAoNGnVZQU'
'qLUJyfwFVYySnPCaLuQI'
'azTmqTjDmYPxeqAWfCKC'
'QCYFExFuDpjjFIyeNTWR'
'UWCuKoQSUEXExIZVPeFz'
pystr_format(string_format='?#-###{{random_int}}{{random_letter}}', letters='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ')
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.pystr_format()
...
'F6-0486311W'
'n4-7596634Y'
'Z4-2198268i'
'U9-2414104I'
'w5-7811208R'
pystruct(count=10, value_types=None, *allowed_types)
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.pystruct()
...
([-424604.985946604, datetime.datetime(1970, 12, 16, 0, 12, 4), 'mHtTDvuKvIcxniBzDNTz', 'vtZnOwsdSKUxJgukcXlh', 'http://johnson-owens.info/', 'PoDJPxuNwmxWhyHzkaKG', datetime.datetime(2015, 4, 19, 7, 33, 6), 'brandi20@hotmail.com', 'rIhVxhqHLOvaUBPYKNDg', 2663], {'amount': 6890, 'assume': datetime.datetime(1987, 9, 23, 13, 42, 57), 'good': 'https://perry.com/terms/', 'respond': 'KwpMUVGtYHdeMdauAxzE', 'treat': 'IajAndSXpvQdHgoRcbvz', 'benefit': 'aortiz@valenzuela.info', 'project': -52.946861164264, 'hour': 3827, 'tend': 'qMmSIIlriaDdGszdmaXq', 'type': datetime.datetime(2016, 5, 13, 10, 2, 47)}, {'level': {0: -9787526.29318886, 1: [datetime.datetime(1979, 6, 24, 16, 0, 13), 878829203004.256, datetime.datetime(2017, 12, 27, 3, 37, 52)], 2: {0: 'https://www.jones.net/home/', 1: 7113, 2: [3350, datetime.datetime(2002, 6, 18, 3, 24, 51)]}}, 'property': {1: 'LuQIazTmqTjDmYPxeqAW', 2: ['ppgrVkPCoePqmjQbZndJ', 'TWRUWCuKoQSUEXExIZVP', 'qfErjaoKtiwdOSlQGWFd'], 3: {1: 'HFDutYbbXjgkPWbwfnlH', 2: 7144, 3: ['dyFKunVyUDKkNPiiBgVI', 'yvDAqsRnDaMrcomXsosX']}}, 'measure': {2: -0.58427929423069, 3: ['CYYRgaXvaaNYJFjFkpJj', Decimal('-1.38659094457014'), Decimal('32.2024420177782')], 4: {2: 'oacJDXWVcMKILUHtBkEa', 3: 'orteObohEsZgfLWqSLpR', 4: [13341287.9409165, Decimal('-5765517.16686592')]}}, 'today': {3: 'xsRfFzDHwBJURZHTCWaK', 4: [5272, 'BTFitpKyPAVdgpNxSPTx', 8273], 5: {3: 8680, 4: datetime.datetime(1972, 4, 15, 13, 55, 28), 5: ['http://roberts.biz/', Decimal('-9.32871903235535')]}}, 'hope': {4: 'fObFgqKHkOOfdKFWHYLp', 5: ['XupMXZgSZbutjsGXUcnb', datetime.datetime(2015, 5, 11, 5, 23, 23), 'http://www.frank.net/categories/categories/explore/search.php'], 6: {4: 'http://www.brown-perry.com/explore/posts/tag/category/', 5: 'zSqnsgJrjRltFhaIMUMp', 6: ['WmhxyKnbkrXpTCrEeBqt', 'XPqmNpvcgbedvCMhvHex']}}, 'music': {5: 'lfYpFwNezXCvGboIauUK', 6: [Decimal('-4983681717432.96'), 'johnsonlaura@ferguson-wilson.com', 'dSogBkfXCMVoxDhgguyD'], 7: {5: -797087381.435271, 6: 'yKqHdpMcGbyUaBdTJMIa', 7: ['gaoHpUhDjwLtrHJhWhqk', 'xPuPulkWEcumejcHjFFK']}}, 'represent': {8: 2806, 9: ['AGIRKemRjXXUMRDLwSfG', 'FcrMtGUzsIxAiNrPXaBo', Decimal('-96666545849158.0')], 10: {8: Decimal('54194274.5814795'), 9: Decimal('4827524687548.4'), 10: ['kathrynblack@yahoo.com', 34035579782.9603]}}, 'detail': {7: datetime.datetime(1992, 4, 24, 14, 50, 52), 8: [9591, 'nataliemoore@dixon.com', 'OODKlMQNsEGUfRBsxalH'], 9: {7: 'tpayne@gmail.com', 8: -209179591176.841, 9: [4779, 969]}}, 'imagine': {9: 'rMaQDXsGqOFZahcgWXyX', 10: ['chadboyle@yahoo.com', 'BdHEWGCuwqaOQonBqrKw', 'RNiIWDsXDvFPlaBWJGGz'], 11: {9: 'DmjNvDmLSUQfjwdwuowN', 10: 9989, 11: [1484, -28536838853283.6]}}})
(['EsDDoQuVheSsdLIyqRXb', 'sRecsUNIDPvbPjusgsjG', 6440, datetime.datetime(1977, 4, 8, 20, 59, 34), 'ypxrmjXzftuAYYDGJAzq', 992159.63347473, datetime.datetime(1993, 2, 14, 2, 28, 9), 'https://www.joseph.net/', 'MxovruLUimkcSAdxxONg', 'AvrVWGLrhYIoYFrUePif'], {'same': 6377, 'study': 'fFDrtsRHhWjgrFcHKPVF', 'special': 'http://carr.com/list/app/blog/index/', 'sea': 'rArKVZMpTZsXAYZQJiaE', 'trial': 'mWMzTstgOuAyItVwsuNZ', 'cup': Decimal('68469.2939902609'), 'skill': -6731156620632.49, 'become': 575, 'skin': 'BOPSKbxVkvtuuBfSBUUa', 'word': 'NaBskVkjjIFAEWSVcUbH'}, {'able': {0: 2052, 1: ['mlambert@gmail.com', 5015, datetime.datetime(1974, 1, 27, 12, 50, 22)], 2: {0: 'ggzHNcQcCMGXrEeDQknK', 1: -66.8031311883802, 2: ['NxhGjAUqXkPFQBKVhOce', datetime.datetime(1993, 5, 14, 19, 49, 17)]}}, 'PM': {1: 'stephen87@miller-williams.biz', 2: [46948631506999.5, 'ybVGobtiChjVHmTGXzUJ', 'lHrYsivsDuOiEJLihbqa'], 3: {1: 'OfFOJtbwVrmhABdvIYww', 2: Decimal('52994211.4027449'), 3: ['eknapp@yahoo.com', -568684.23329333]}}, 'everybody': {2: 1717, 3: [Decimal('-21152.502343149'), Decimal('79215955.4759859'), datetime.datetime(1977, 8, 28, 14, 11, 44)], 4: {2: 5659, 3: 'GNGNkXjEpGpwJnLsgFiw', 4: [7594, 'HKewLhhibhzUGoPJPVRO']}}, 'I': {3: 'adamsjessica@bennett.com', 4: ['UQyfxEnzOVDReSViRSTA', 'https://smith-taylor.biz/search/', Decimal('49158.8962716252')], 5: {3: 'https://www.marks.com/tag/tags/tag/search/', 4: 'CiSRhdduXCnlfhQhSQhD', 5: ['bvKFLfysOTJmzZoasXWe', -29655.7468800909]}}, 'read': {4: 'ruizphillip@hoover.com', 5: ['https://www.gonzalez-murphy.com/', 'PsmctagFWkMkaURdjmWt', 'wtNGoEKRJHEeXLoKGItD'], 6: {4: 'robertmason@hotmail.com', 5: 'KyAxjCgneAQSxsOvxUCX', 6: [Decimal('-35395080948.7818'), Decimal('311131334585.368')]}}, 'make': {5: 'rrGiUujzicXOrNRjrACS', 6: ['http://duncan.com/list/list/login/', 'admTFIfYAWGoJzjtRLuZ', 7677], 7: {5: 'hNNXuyCUKbkSETvkaZhH', 6: Decimal('-283662328.79278'), 7: [Decimal('26.6334033951721'), 6466127591695.19]}}, 'foot': {6: 'QneiGDdZyqLbwIYNUgwb', 7: [-4790733371.38224, 3105, datetime.datetime(2006, 11, 17, 12, 31, 18)], 8: {6: 'rCizbSrrZFvPdDBSEzBO', 7: 1586, 8: [datetime.datetime(2018, 2, 20, 6, 44), 'ZKYuFMsnYsZSlRZoIOeQ']}}, 'size': {7: datetime.datetime(1993, 7, 27, 10, 21, 53), 8: [Decimal('-9356597975820.52'), 'eYZjmwKbRHoTIqCYcKSK', 'ncuolXVBUKwicKybefjg'], 9: {7: Decimal('-58250603405097.1'), 8: datetime.datetime(1986, 10, 11, 15, 0, 29), 9: [Decimal('-6031064759.61698'), 'iUBkhPPjZCjSLWKiNgRJ']}}, 'scene': {8: 'georgemichael@yahoo.com', 9: [4871, datetime.datetime(2013, 8, 31, 11, 29, 31), 886822478401.751], 10: {8: 'FrphQWKrSFuuUpQDmwni', 9: 'QAUOAQyrwxHcLYxdkfnP', 10: ['QlUGVIFnJIbViTYmQMSe', 1889]}}, 'score': {9: -637542.480812422, 10: [2605, 'http://www.ayala.info/blog/main/privacy/', 4296], 11: {9: 81.8956534516811, 10: datetime.datetime(1975, 2, 1, 10, 39, 55), 11: ['caOhguYUqQeuEZcvVbFu', datetime.datetime(2019, 10, 3, 15, 39, 13)]}}})
([Decimal('587797.968436513'), datetime.datetime(1999, 3, 26, 2, 30, 45), 'nPhGkhRvXkEsIJNMeLGJ', 'QhxeoHuMWUpIFQtGeSvT', Decimal('-8646781.54245209'), -507774473.659433, 2555, 'dianadaugherty@hotmail.com', datetime.datetime(1987, 12, 14, 20, 27, 49), 5276], {'situation': -73329244.91903, 'charge': 'NyIWRKJElbxGQIFqrwOS', 'type': 'http://www.phillips-kerr.org/wp-content/search/', 'rest': 'https://mccoy.com/tags/explore/tag/login/', 'decade': 'PnOehbYxGOAOyRMkRnRK', 'east': 9870, 'probably': 393, 'account': 342.458052066461, 'win': 'FkwliFGZzRSZzXnrBPlc', 'budget': 'QysPxmxgrliBFLjIiWIZ'}, {'win': {0: 'HEieynlJSSBOTHihNgZX', 1: ['MqhEdtnrzBeqtuywdlHR', datetime.datetime(1991, 4, 30, 9, 3, 38), 'ThbHgdnpWTyEqIGAmALO'], 2: {0: 5607, 1: datetime.datetime(1970, 6, 21, 9, 3, 4), 2: ['DytNmbAYDctrzNTvQOIy', 2633]}}, 'team': {1: 3886, 2: [6242, 74052957438.9619, 7463], 3: {1: 'FGhmRniKFUxkjsmPCVpo', 2: 'svMcXFiCeAJvqJWTuSfd', 3: ['NFDqUSzlJLZPeZSErMFe', 'http://www.colon.com/home/']}}, 'lawyer': {2: 0.2524986557835, 3: ['MJvhCAXIxIxWHoKfzsEo', -68657.18812039, 1864], 4: {2: 'http://henderson.net/', 3: 'NjdwrArSMtgKChbGADvy', 4: [1437, 'BgJMikmFvUCBleWfgkDH']}}, 'expect': {3: 'zhRtJgqJdURkpKHMuheG', 4: ['BRzihDnlWhVBWRpyetWf', 'BbKPeQMnDtmgQXOizWml', 'http://www.garcia.com/faq/'], 5: {3: Decimal('-75801.876819215'), 4: 'hYdrHubpmOEhTlqTNvBY', 5: [9330, 'kennethwallace@hotmail.com']}}, 'perform': {4: 'FnTKknKQIwqLkvWYgsLy', 5: ['JsSvEZCxeXBKImHfcRFp', datetime.datetime(1978, 6, 20, 13, 10, 1), datetime.datetime(2015, 7, 6, 18, 33, 46)], 6: {4: 'novakaaron@yahoo.com', 5: 7411, 6: ['mTDnixaarkCApeCpdVfi', 'inRiKDDagqGtntyEDtwP']}}, 'during': {5: Decimal('-352.851575257378'), 6: ['jlyHtGWomZxAUkuKrgzU', Decimal('211954079.594647'), 'dZILKWvoebyMMaGRTOvK'], 7: {5: 6086338343135.48, 6: 'sharrington@hotmail.com', 7: ['oYCGHJiJwYLYZREFytvV', 'benjamin77@jones-perez.com']}}, 'size': {6: 'QzdfXbHjIZVwwpwXbyUf', 7: ['yMMpuEnNdNKpWxqWtdcP', 'tpdbcTTyehXDPddOgQWw', 'ySZLifSLvgGXLCePttVD'], 8: {6: 'https://knight.com/category/posts/category/post.php', 7: datetime.datetime(1995, 6, 6, 5, 20), 8: ['ahMKHhgzzgYQTiIQqZeP', 'GqHGJsufoWusHmbNBOin']}}, 'people': {7: 'nWQGikDEvQJnbFrUmCkY', 8: ['qliu@watkins-nixon.com', 1917, 'vjTlJSPMUUuFIWFzNiJt'], 9: {7: Decimal('4.9866426003023'), 8: 'VaVMfijnUvCwynqnoFbW', 9: [datetime.datetime(2004, 3, 3, 7, 59, 55), 'vMNLYvePLbzQXsyxMKyj']}}, 'executive': {8: 8767, 9: ['patricia82@brown.com', 'byDcGDDesgytrTGfIZsO', 'nsullivan@gmail.com'], 10: {8: 4371, 9: Decimal('-50569238.2439831'), 10: [3369, 3146]}}, 'anything': {9: 5073, 10: [24, 'IpjSiXeBnKcMuzhhVhgv', 'oDfSURuixnrjQnUVQeHQ'], 11: {9: 7468, 10: 'zachary47@taylor.info', 11: ['WdVwfNggmCISEHzAIopG', 'https://www.kelley.com/home/']}}})
(['http://thomas-bowen.com/terms.jsp', 'NDFevZMjLjJoJiZrfeaj', 9665, 'HfTuQitIGAWQEJvAGRkx', 'vPyjNTmGwGEpCbcZvtUm', 'brownjoshua@yahoo.com', datetime.datetime(2015, 4, 27, 4, 10, 26), 'DbMYhLDCwxisJSMGlaSN', -96055.2871504, 'http://www.spencer.biz/app/home/'], {'friend': Decimal('-912398.45078943'), 'policy': datetime.datetime(1983, 10, 29, 16, 50, 5), 'everything': 5403, 'continue': 'phbaHVuwQDpaJxdOIPgt', 'federal': Decimal('-519818556.147807'), 'quickly': 'uGBuFCTqwegICYNsZelw', 'break': 'http://www.smith.info/', 'senior': datetime.datetime(1983, 10, 24, 11, 5, 24), 'travel': 'iRgGiTlgaVPqSAlDbKot', 'person': 8459}, {'vote': {0: 'aDahTcVINJNMUstHBJtv', 1: [649, 'http://smith.org/about/', 'WUqopUrvrnTxBuruUoKl'], 2: {0: Decimal('-51.3148070608699'), 1: Decimal('29743649395.1276'), 2: [615777.91778945, 'IgWwjRcbMeMeWhDHtezr']}}, 'student': {1: 4066, 2: [7003, 'https://www.franklin-phillips.biz/', 'rieoxPGihDDJxTduYybS'], 3: {1: Decimal('16.5795201865522'), 2: 64120.7733164679, 3: ['FVvbSXPivNSTWHhvXgWs', 'http://www.rodriguez.com/index/']}}, 'tend': {2: 5226614.59830828, 3: [3650, Decimal('-47424219569942.3'), 'https://www.barber.com/privacy.html'], 4: {2: 6192, 3: 'pnZRSbXQQWvdDBlMZLPO', 4: ['NEcXOlddHEiNkpMDhRQa', 'https://www.torres.com/post.php']}}, 'special': {3: 'DlkpqMPjLoXPfDPVitlN', 4: ['DxGQVHBlulLChibfGHBP', datetime.datetime(1998, 4, 26, 11, 52, 43), -6258358825442.8], 5: {3: 'LIovWdmnrfRzRdnfoVmY', 4: 'jtBniXUbBcwfPkpeYAvC', 5: ['hgMPNjUmVVEmykwWWZPh', 'bryancannon@yahoo.com']}}, 'defense': {4: 'nicholsdustin@washington-sanchez.com', 5: ['http://hodges.com/main/login.php', 'http://www.vega.info/post/', 1484], 6: {4: 'cWnKlErLMUPxgIwKZrxr', 5: 3973, 6: [5931, 6147]}}, 'there': {5: 'iVaSiZVeNISzqPMBZOzW', 6: [datetime.datetime(1973, 5, 26, 14, 0, 57), 'glmhcDELFxxaGHGYKkFC', 'ellisashley@yahoo.com'], 7: {5: -773791.129892487, 6: 9393, 7: [-463.11358761082, 'https://www.graham.com/author.php']}}, 'and': {6: 'zmSAOnXuxyrNDFFpreun', 7: [4560, 'http://green-davis.com/login/', 'OsSstrYTcAqoGqZsbxGs'], 8: {6: 'https://griffin.com/main.html', 7: 'ywallace@hancock.com', 8: [Decimal('2991826485.60976'), 'KMDnhawIQodzrrcBwKJt']}}, 'force': {7: 'hYrDbPWXihCvaoONmVtO', 8: [1413, 'https://www.lopez-valentine.org/post.html', 'RjhQOfEDGGsyxusqnPrO'], 9: {7: 6124, 8: -2.28107154740977, 9: ['EZwPKNtbvVQecuGkaKlF', Decimal('-9.8591674250206')]}}, 'hotel': {8: 'http://valentine.com/categories/tags/terms/', 9: [Decimal('-657936298.752781'), 'bFIwqhXnKFPyWkjNxMRv', datetime.datetime(1989, 11, 26, 7, 24, 51)], 10: {8: 1699, 9: 5193962071.17089, 10: ['sTEifZnojoXtvrEBnfCC', 'bLFPUElwXeZnNrLZcgQQ']}}, 'by': {9: 'HkvKgkeWNhmIYlSwSaBv', 10: ['XfNsTSZAzlcVfwfbrfoZ', 'TpDfyVlmcDyCmTlQrLfx', 'kristi37@hotmail.com'], 11: {9: 'FRvwugFzPFrSopTYllEb', 10: 'wMbPCbcvGxHUtvPcrdHJ', 11: ['mcdowellalicia@flowers.com', 'EvofgimzFnkBzdluWxmT']}}})
(['pBmWYpSwptMZRRpkmXil', 'ZivCLGnTaPWWvZfQvPML', 'iYBRwOaYdpyCWGHkVvsH', -3865.3231581717, datetime.datetime(1989, 3, 15, 1, 34, 55), 'http://www.powers.info/search/wp-content/privacy.html', datetime.datetime(1993, 11, 30, 14, 43, 16), 8082.23458699543, 7022, 'NQAlxzQzSwjvPFVKKWLC'], {'during': 'wIvFjbZIizDhTuyxMvOT', 'than': 'https://petty-jones.info/login.html', 'kind': 'zzDLAWiaxSGKXjDYrGLJ', 'others': datetime.datetime(1972, 2, 11, 6, 39, 11), 'second': 'http://daniel.com/tag/category.php', 'ground': Decimal('-87794182.7617241'), 'information': datetime.datetime(1972, 3, 29, 10, 50, 42), 'night': 6800, 'four': Decimal('-79097758546.9425'), 'because': 'PRjKLwpkWJVHqOTQCzQK'}, {'look': {0: Decimal('4.55234845153959'), 1: ['EyJZHQQnukFOvrwLcWID', 'VbXZmULwAWVmdhkgUboL', 'tPYHcIaueSbJyAntwxzR'], 2: {0: 'millscourtney@sweeney.com', 1: 85041511251.9591, 2: ['fOynVbBSwLKOMpXEcbNI', 4222]}}, 'try': {1: 'anavarro@rubio.com', 2: ['YDCqPjIIWRxLAhCLWCnA', 4937759.3236591, 'http://smith-patterson.net/terms.html'], 3: {1: 'JtlNNADLrIYTtrkLmEbz', 2: 'kijmemuGbFKUIDptFPsI', 3: [3667, 'http://www.hopkins-mathews.com/blog/posts/home.php']}}, 'yeah': {2: Decimal('276066901.679268'), 3: ['http://miller.org/terms/', 'aramirez@hotmail.com', 5766], 4: {2: 94154211.549681, 3: 'mOHctFgWjFdnhNYUlHVI', 4: ['PzhdTEUHXuOOzPfhtqBI', 'SJTGkApmjdoTABfXgYjc']}}, 'same': {3: 'WbPrGQHKoyYfmoOFLMUC', 4: [5927, 67288009.42853, -35.2422391983375], 5: {3: Decimal('219551323.79398'), 4: 5688, 5: [datetime.datetime(2014, 12, 28, 13, 30, 21), 'iHmCoKNtGlEkyfxXkYFr']}}, 'up': {4: 'carlosbennett@white.com', 5: [1032, 'OCchsvpNYwixhyvZsgWK', 5332], 6: {4: 'josephkeith@williams.net', 5: 'gibsoncameron@harris.org', 6: ['saKSaGrvMwCKIyBHabyK', 'BJVfgyDpuTBDWEyjjAcA']}}, 'itself': {5: 'MXrzFbGkDrkipBjTGfKt', 6: ['GtuOJSQzfvPtRuQNIaWt', 'qtVkwmHUKIqaHdpeiDOw', 4802], 7: {5: 'mBagHdpxnAChSJrhOuKs', 6: Decimal('-2.63881602593158'), 7: ['nvXwdUSrczHwdeMBHpwr', 'reedsean@hotmail.com']}}, 'be': {6: 'kim09@duffy-salazar.com', 7: ['zachary83@medina.biz', 'CnrxLhEFYFvzFBJpmYWM', 'ZorVLhOkkFktiJFVeZqb'], 8: {6: 1429, 7: Decimal('-6409696277.36096'), 8: ['JtWfGZtBOhySTBPBJQde', 'JHIWLDXMKPKLbkPbIEDf']}}, 'our': {7: 'xkramer@gmail.com', 8: ['rshodxPzIpAidmAKxgAN', 5729, 'VRPzZEUYFEYbCgQWDpUf'], 9: {7: 681, 8: 'https://www.carson-walker.com/about/', 9: [datetime.datetime(1970, 12, 4, 7, 23, 44), 5549]}}, 'court': {8: Decimal('6357492359.3145'), 9: ['zafBJfgwBbtgSAlxfkfY', 'GaWnxBYqIRDlogMzrVkg', 'https://lawrence.com/main/app/index/'], 10: {8: 'kVdkDtIkJdswFabfFwKx', 9: 'nclZVPANXtkWjaKclsLB', 10: [3060.62012322735, Decimal('72032923980.8986')]}}, 'sure': {9: 'WlzHcvFRcqqiqZzdOZVF', 10: [5035, 'http://www.smith.info/tags/explore/index.php', 250.25509178], 11: {9: Decimal('7696949655415.4'), 10: 945.902211642535, 11: ['ZQFOGqFPyBJFzRpFmsqv', 863]}}})
pytuple(nb_elements=10, variable_nb_elements=True, value_types=None, *allowed_types)
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.pytuple()
...
(663, -424604.985946604, -9787526.29318886, datetime.datetime(1979, 6, 24, 16, 0, 13), 878829203004.256, datetime.datetime(2017, 12, 27, 3, 37, 52), 'https://www.jones.net/home/', 7113, 3350, datetime.datetime(2002, 6, 18, 3, 24, 51))
(datetime.datetime(1987, 9, 23, 13, 42, 57), 'PCaLuQIazTmqTjDmYPxe', 8322, Decimal('-5121968691639.9'), 'CQCYFExFuDpjjFIyeNTW', 'UWCuKoQSUEXExIZVPeFz', 'johndennis@gmail.com', 'tiwdOSlQGWFdgjRgeRgF', 'XjgkPWbwfnlHsjAcfZks', Decimal('3.22268014727008'), 'rnFxjyvDAqsRnDaMrcom')
(9996, -9671.19847373924, -87353308.1354309, 'EKilxKJTbTDOKidKxUVF', 'TzqyQTQjZGeLZuJqlLaQ', datetime.datetime(2011, 8, 26, 21, 10, 56), 'jFkpJjyVGbVPgnHQHfiS', 'cJDXWVcMKILUHtBkEahr', 1535, 584, 'ohEsZgfLWqSLpRpfDzrP', 2036)
('KwpMUVGtYHdeMdauAxzE', 'omiller@richards-jackson.com', 1884, 'QSbBNkznHZPGfxsRfFzD', 'ushelton@yahoo.com', Decimal('8893.939623321'), 5214, 581, datetime.datetime(1980, 2, 5, 16, 17, 34), 49676.679871067, Decimal('695421838518.8'), 'gpNxSPTxttBbePAFdwNp')
(7900, 9952, 'http://www.white.com/register/', -6.8763381174432, 'HgoRcbvzSLJhZvFucyhb', 'https://www.dunn.info/home/', 'FyGrgJGPgVPVTJQAOjOx', 'xPdcWzUXIDleQUOKvpfw', 'http://www.brown-perry.com/explore/posts/tag/category/', 'zSqnsgJrjRltFhaIMUMp', 'WmhxyKnbkrXpTCrEeBqt', 'XPqmNpvcgbedvCMhvHex', 8670)