Language bs_BA¶
faker.providers.address
¶
fake.longitude()
# Decimal('-83.414547')
fake.building_number()
# u'05197'
fake.street_address()
# u'2084 Donna Summit Apt. 150'
fake.postalcode_plus4()
# u'74991-4866'
fake.city_prefix()
# u'Port'
fake.military_ship()
# u'USNS'
fake.country_code()
# u'TT'
fake.city()
# u'Joneston'
fake.zipcode_plus4()
# u'51406-4020'
fake.state_abbr()
# u'MS'
fake.latitude()
# Decimal('65.244673')
fake.street_suffix()
# u'Spur'
fake.city_suffix()
# u'burgh'
fake.military_dpo()
# u'Unit 4160 Box 5694'
fake.country()
# u'Jersey'
fake.secondary_address()
# u'Suite 893'
fake.geo_coordinate(center=None, radius=0.001)
# Decimal('165.847342')
fake.postalcode()
# u'22289'
fake.address()
# u'418 Kristin Trail\nJimmyfort, AS 98683-4103'
fake.state()
# u'Nevada'
fake.military_state()
# u'AE'
fake.street_name()
# u'Holmes Parkway'
fake.zipcode()
# u'51686'
fake.postcode()
# u'50838'
fake.military_apo()
# u'PSC 3838, Box 1861'
faker.providers.automotive
¶
fake.license_plate()
# u'3-1261N'
faker.providers.barcode
¶
fake.ean(length=13)
# u'9193078050358'
fake.ean13()
# u'6956943379113'
fake.ean8()
# u'13622510'
faker.providers.color
¶
fake.rgb_css_color()
# u'rgb(116,39,217)'
fake.color_name()
# u'DodgerBlue'
fake.rgb_color()
# u'187,190,73'
fake.safe_hex_color()
# u'#44ff00'
fake.safe_color_name()
# u'aqua'
fake.hex_color()
# u'#37f131'
faker.providers.company
¶
fake.company()
# u'Phillips, Martinez and Ellis'
fake.company_suffix()
# u'Inc'
fake.catch_phrase()
# u'Managed explicit open architecture'
fake.bs()
# u'leverage magnetic web services'
faker.providers.credit_card
¶
fake.credit_card_security_code(card_type=None)
# u'259'
fake.credit_card_provider(card_type=None)
# u'JCB 15 digit'
fake.credit_card_full(card_type=None)
# u'Discover\nSamantha Jordan\n6011718732657805 01/18\nCVC: 130\n'
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y")
# '07/26'
fake.credit_card_number(card_type=None)
# u'373403190566195'
faker.providers.currency
¶
fake.cryptocurrency_code()
# 'AUR'
fake.currency_code()
# 'MXN'
faker.providers.date_time
¶
fake.date_time_this_century(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2010, 8, 21, 14, 54, 28)
fake.date_time_between(start_date="-30y", end_date="now", tzinfo=None)
# datetime.datetime(1993, 4, 4, 3, 4, 59)
fake.time(pattern="%H:%M:%S")
# '01:57:17'
fake.date_time_ad(tzinfo=None)
# datetime.datetime(704, 9, 10, 7, 16, 54)
fake.past_date(start_date="-30d", tzinfo=None)
# datetime.date(2017, 7, 10)
fake.day_of_week()
# 'Thursday'
fake.date_time_this_decade(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2011, 8, 19, 19, 18, 29)
fake.time_object()
# datetime.time(23, 20, 30)
fake.iso8601(tzinfo=None)
# '1991-11-22T23:15:52'
fake.time_delta()
# datetime.timedelta(441, 18887)
fake.am_pm()
# 'PM'
fake.date_time_between_dates(datetime_start=None, datetime_end=None, tzinfo=None)
# datetime.datetime(2017, 7, 21, 7, 42, 38)
fake.date_object()
# date(1989, 12, 30)
fake.future_datetime(end_date="+30d", tzinfo=None)
# datetime.datetime(2017, 7, 31, 21, 10)
fake.date_time(tzinfo=None)
# datetime(1979, 6, 18, 22, 45, 48)
fake.date(pattern="%Y-%m-%d")
# '1975-02-11'
fake.future_date(end_date="+30d", tzinfo=None)
# datetime.date(2017, 8, 8)
fake.month()
# '07'
fake.unix_time()
# 201913558
fake.date_time_this_month(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2017, 7, 14, 2, 31, 37)
fake.day_of_month()
# '12'
fake.year()
# '1994'
fake.timezone()
# u'Europe/Bratislava'
fake.century()
# u'XVIII'
fake.date_time_this_year(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2017, 2, 3, 10, 58, 26)
fake.past_datetime(start_date="-30d", tzinfo=None)
# datetime.datetime(2017, 6, 25, 22, 17, 48)
fake.month_name()
# 'December'
faker.providers.file
¶
fake.file_path(depth=1, category=None, extension=None)
# u'/ex/corporis.docx'
fake.mime_type(category=None)
# u'message/partial'
fake.file_name(category=None, extension=None)
# u'expedita.mp4'
fake.file_extension(category=None)
# u'pptx'
faker.providers.internet
¶
fake.url()
# u'http://johnson.ba/'
fake.company_email()
# u'matthew96@andrews.ba'
fake.uri()
# u'http://weiss-stewart.net.ba/post/'
fake.domain_word(*args, **kwargs)
# u'castillo-jordan'
fake.ipv4(network=False)
# '25.119.16.201'
fake.domain_name(levels=1)
# u'harris.edu.ba'
fake.tld()
# u'ba'
fake.uri_path(deep=None)
# u'tags'
fake.free_email()
# u'maldonadocarrie@tel.net.ba'
fake.slug(*args, **kwargs)
# u'quam-quas-quis'
fake.free_email_domain()
# u'tel.net.ba'
fake.uri_extension()
# u'.html'
fake.ipv6(network=False)
# 'c719:c4a9:b05c:edf2:596d:bce5:48d3:b2c2'
fake.user_name(*args, **kwargs)
# u'kristina32'
fake.image_url(width=None, height=None)
# u'https://dummyimage.com/706x5'
fake.email()
# u'walterlarson@hotmail.com'
fake.uri_page()
# u'author'
fake.mac_address()
# u'66:0e:c2:f7:9f:e5'
fake.safe_email()
# u'johnsonnancy@example.net'
faker.providers.isbn
¶
fake.isbn10(separator="-")
# u'1-77958-933-6'
fake.isbn13(separator="-")
# u'978-0-16-112387-9'
faker.providers.job
¶
fake.job()
# 'Computer games developer'
faker.providers.lorem
¶
fake.text(max_nb_chars=200, ext_word_list=None)
# u'Aspernatur magnam cupiditate accusamus ex provident. Aut expedita quod dolorem error. Occaecati accusantium ipsa aut quae.'
fake.paragraphs(nb=3, ext_word_list=None)
# [ u'Aliquam porro eveniet non quisquam eum facilis illo. Adipisci facilis expedita id necessitatibus. Suscipit eius repudiandae provident laboriosam quos ad qui esse. Id non aperiam nobis maiores vero praesentium quis.',
# u'Eius odit optio reprehenderit repudiandae vero nostrum. Repellat laborum sint dolor aliquam ex consequatur sit quas. Possimus illo pariatur fugit repellendus aut eum.',
# u'Sapiente vel tenetur dignissimos possimus eligendi corporis atque. Ratione quisquam praesentium velit fugit dignissimos animi.']
fake.words(nb=3, ext_word_list=None)
# [u'placeat', u'labore', u'id']
fake.sentences(nb=3, ext_word_list=None)
# [ u'Libero laboriosam saepe deserunt explicabo quo.',
# u'Ratione debitis deserunt cum mollitia ipsa.',
# u'Rem ipsum minus repellat voluptas.']
fake.word(ext_word_list=None)
# u'aliquid'
fake.paragraph(nb_sentences=3, variable_nb_sentences=True, ext_word_list=None)
# u'Ipsum cum nobis ipsa quos provident doloribus alias ipsum. Incidunt totam dolor debitis dignissimos sint molestias. Excepturi ratione facere fugit expedita aliquam error. Modi ipsa similique asperiores.'
fake.sentence(nb_words=6, variable_nb_words=True, ext_word_list=None)
# u'Dolor et doloremque inventore.'
faker.providers.misc
¶
fake.password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True)
# u'J8ZiQU&d^n'
fake.locale()
# u'fo_FO'
fake.binary(length=1048576)
# bytearray(b')\xf41\x14\xf9\x8d!\xca_\xee\xd9\xc2%\xd9\xed\x9e\xc8\xe7\xda\xbc\xc3\x05\xcc\x82\x08\xf9(Gd\xf8-\x16jB\xca\x88)\xa5\x88\x1070\x98O.\xf6\xact\x06\xdf\x18L1,^l\xde\xdc"&B\x8b0\x91C\x1d\xa3\x9aK\xef1\xd5\x9f\xd1F\xdeO\xcd/\xbeb\xdbJJ\xf2\xf8\xf4\xc7y?[\x9c2\xf5\n(\x1d\x83\xd6\x0e7\xb6m\xf1\x8d`\x07\x0c\xa1@\x98\x8c|\x0e\xd0\xf9\xed\xe2\xc0n\x8d\x10\x03r p\xec\x84\r~6\x1b\x01\xbb\xfe\xb8\t\x08S\xc3RA\xff\xc7p\xd2\x94Q\xb0\x1a\xf8:\xc0X\xfb\xfd\xc1\xe4#\xce+\x04I8\xa0\x90\xed\xcb\x1d@G\xc5\xd2\xa2\x81\nL\xa8!\xcb\xf4\xfe\x11\x84\xec1\x9ag\xbdh/Ms\xd4\x17nVr\x9a\xbf\x11#%`h\x07\xed\x93\x8f\x99l1"5\xf2\x96\x07\xdd\x0e\x935\x13\xcfnn\xd5\xcf\x02\xabw\x1a\xaf&\x84\xedo\xb2Z\xf00\x83\xb1\xf9&\xd0\x81\xd45$%\x8a\xe7\xd7\x89\xef\xb1\xecd\x19C\x8eh\xf5\xa7[\x8b$\x9a`\x1b\xff\xe1\x05\x1c\xf7a|\xaf\xd6\xff{\x9cS\x03`\x19\x80\xe1k\x89z\xe2\xcc#\x9c\xa1\xcf\x11\x99\xe3\xa8R\x96\xaa\xb8W\xa5<\x98\xe6\xbd\xb0x\x9a\x1a4\x87R&\xb5$A`\x90\xfbp\xf9}\xe6\xf6\xac\x9fO\x1c\x99\x9ciw}\xac)\x8d?\xfc+\xfcV\xcfz"\xa8y\xe8\x8b\x1bF\x8a\x96\xa4\x01\xae\x9a\xe3e\x98=u\xf2\x83\xd3m\xea\x17~E\x82\xc8\x8bG\x0b\x039-p\xfa$\xec\x10\x10\x86\x07n\xba\x92=Y\x04U-6\xc5\xd3\xaevk\x9a\x8a\x16N\x8a\x19\xb8\xcb\x85\x92\xabg\x86\xcd\x10x\xfcX\xd5\xf2\x86m\x95\xf1RhM\x01c\x89bM\x83\'\xb9\xc9\xbf\xe4D\xe15\xbcoff\x80\x1aC-\x90zk\xbf\x11\xaa\x0ec\xd0\xc9\x81\xc9]+\xd0yh\xf0\xba~ \xadU\xf7N\xa1\xf5\xae4\x1aq\xd2\xab\x8e\xb7\xf1\xd7!\x19@p/jd\x11\xcb\x1f\xdf\xab\x8b:t\xf9na\xc7\xcc\x8f\\@i\x11\x07\xa8\x1c1\x8c\x02\xf0LMc\xcb\xde\xf3&\xe14\x0c0\r\x9c\xde\x81R\x90\x15\xadr\x83\x13\xc6\xa0\xc1\xb3\x7f\x18\xe1i\xed\xf6\x9e\xe6\xec\x86\x85\xbb\xa0\x1e\x85B4\x03x*\xd8\x8b\xdc\xbdIR\xa5A\x14\x87\x16\xd7 ;u\xc82\xfdR\x91o\xa7+\x8d\xecV\x91\xd4\r}\\%\x0c#\x19d \xcax\xddr$\xaeJ\xa9\xa6\xb8\xc9\nY\x122\xc4\xe1\xae z\x90e:\x13W\xf7\x83/O\x7f3p\xe9Q\xa1\xd7H\xba\x8f\xc1`\xdb\x95:X\t\xbe`@\xd9\nB\xb8\xda\xed\r\x8d\x9d1$\x18T\xdd\xd9\x82g\xb3\x04HY\xbc"\xef`\xd7\xab\x17o \xe0k/^\xc8?\xb9Bz\xef\x07\xaa\xf3\xa3XxCP\r\xffd\xe6Ym\xbb\\\xfd\xbf\xf6i_\xa1\xf4\x0e\xbb*\x92>\x19A\xe3\xdd\'\xdd\x95\xd0$\x15^\r\xa9P\xf5\xac?m\xb8$^\x7f\xc7\xe8\xb4\xad\xef9$\xf1AH\xba\xfd\xd7\xa8\xee\xcb\x1eT\xd1N\x9a}\xb8\xaf\xbc\xe2\x84\xcf\xbe\xcd%0\xb3d4\xbe\xd7\x8d)\x1c\x7f<\\4\xafA4\x1e-~\xb4\xeel\xdegTJ\xb2\xbbkE\x80#\x81\x19\x1a\x96\x06U\x9au5\x0e)\x95\xa76\xec\xb3\xb4\x91\xf1\xb5b\xe0gY\xaf\xa9\x0e\x03t\xbbz\x0c=\xb8l\x03<\x0f-J>#N\xc9JP\x1e\xbb\xfa\x8a\x82\x92\x14\xce\xc0\x04!\xc3R\t|\xd6\x83\xa6\x83\x9c\xfa-\xfb\x1d\xf9\xcdv[$\x8e\xbb\xc7\xea%z`\xe1#%6\xa5.)ek\x9d*\xd2f\x14\xa7\x84\xfc\xa4\x99\xae\x01\x9c\xe1\x9a\xed\xc9\xeb\x99\x07 \x93R\x91?>O9R\x0b-\xd9\xde<JU\xfa\x12\x90\x88\xc2\xf1w\xc9\xc2\xa6\x1f-\x95:\xb7y|\x14\n\xbf\xf4\x96\xb4@\x1d\xd8t|HZ\xc9j\xe2L\t\x02\xc2\xaf&\xb9\xc8_\x96N"^\x85\xa6\x80B\x8b\xf5\x92Mq\xd6\x99s}\xedh\x8f\x02\xc2%|q\xe5D/f\xbb\xb9-\xe4\x0e2\xffR9\xaa\x7f\x82\xd3\x8a\x96\xdb\rO')
fake.md5(raw_output=False)
# 'd6425644c82316893b726e089f20c360'
fake.sha1(raw_output=False)
# '8765247caa829be431487f98212503f7ee303a29'
fake.null_boolean()
# False
fake.sha256(raw_output=False)
# '09d9ca0e8b56d9d3481ab8d6a3d890618c9ccde95627d762772ac43748ead076'
fake.uuid4()
# '83d3397e-e5d7-c828-16be-e4d1949dcbab'
fake.language_code()
# u'vi'
fake.boolean(chance_of_getting_true=50)
# True
faker.providers.person
¶
fake.last_name_male()
# u'Brooks'
fake.name_female()
# u'Mckenzie Robinson'
fake.prefix_male()
# u'Mr.'
fake.prefix()
# u'Miss'
fake.name()
# u'Nancy Deleon'
fake.suffix_female()
# u'DDS'
fake.name_male()
# u'Mark Norris'
fake.first_name()
# u'Jonathan'
fake.suffix_male()
# u'III'
fake.suffix()
# u'MD'
fake.first_name_male()
# u'Terry'
fake.first_name_female()
# u'Elizabeth'
fake.last_name_female()
# u'Lee'
fake.last_name()
# u'Murray'
fake.prefix_female()
# u'Mrs.'
faker.providers.phone_number
¶
fake.phone_number()
# u'050 649 801'
faker.providers.profile
¶
fake.simple_profile(sex=None)
# { 'address': u'PSC 0922, Box 3927\nAPO AP 19588-5445',
# 'birthdate': '1999-10-09',
# 'mail': u'duranchristopher@hotmail.com',
# 'name': u'Derrick Roach',
# 'sex': 'M',
# 'username': u'hansenjonathan'}
fake.profile(fields=None, sex=None)
# { 'address': u'600 John Stravenue\nJohntown, ME 60658-2203',
# 'birthdate': '2003-05-18',
# 'blood_group': 'A-',
# 'company': u'Jackson, Jarvis and Higgins',
# 'current_location': (Decimal('-65.6254765'), Decimal('-84.332049')),
# 'job': 'Financial risk analyst',
# 'mail': u'normanpatricia@tel.net.ba',
# 'name': u'Christina Pratt',
# 'residence': u'19005 Moss Cliffs Suite 084\nDaviston, IL 80310',
# 'sex': 'F',
# 'ssn': u'858-41-7851',
# 'username': u'christine03',
# 'website': [u'https://www.long.ba/', u'http://mercer.com.ba/']}
faker.providers.python
¶
fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types)
# [ u'UNSifHdKgwfZhlLixwiw',
# u'CSMabAHuaWDFXHeLzCnT',
# Decimal('11144.9455061'),
# 3097,
# 5181,
# Decimal('-877.861'),
# 5726,
# 72034886.4807414,
# u'AnHHsTdWpVXvNGUzLwcI',
# datetime(1995, 9, 9, 8, 44, 16),
# u'mdMnzKrGHxncbukfCRNc',
# u'FsXNvDbSGyoJlEfBcqwv',
# -462630664850.0]
fake.pystr(min_chars=None, max_chars=20)
# u'eRvDnKwXPGnygnZGBiZd'
fake.pystruct(count=10, *value_types)
# ( [ u'KPwkTsvtJHTJoYAIAqNK',
# u'https://bell.com.ba/explore/blog/tags/privacy/',
# u'LFrkPIeKtbhcyIIajlLA',
# 5197,
# u'catherineruiz@snyder.org.ba',
# u'LksfsgMvstWwBBAgugkT',
# Decimal('-728735715.0'),
# 1064,
# u'rdJiICaRdxxfNKUzprYR',
# u'ollZQJHGLhXgpCrKutny'],
# { u'ab': u'MXxIlNJKzTNItkImeUfF',
# u'alias': u'nKmEypdNBIcmwoDzUbSF',
# u'dicta': datetime(1992, 9, 14, 11, 50, 19),
# u'eius': -42275709924205.2,
# u'est': u'https://www.richardson-hall.com.ba/list/tag/explore/homepage/',
# u'ex': u'KtfcMCMkxCGeiCyvGDQi',
# u'facilis': Decimal('-57012.88'),
# u'labore': u'BAKubCkdxYwPNkNzhCqS',
# u'odit': u'https://www.moore.org.ba/tags/posts/tags/privacy.html',
# u'perspiciatis': 7289},
# { u'animi': { 4: 3535,
# 5: [ u'jwatson@perez-hill.gov.ba',
# Decimal('-319742.515211'),
# 2687],
# 6: { 4: u'http://lee.net.ba/terms.htm',
# 5: Decimal('-40904.0'),
# 6: [5604, u'ONzKTdPMuLVKyDxiltVd']}},
# u'at': { 9: u'jZHKCFyEWcGpRUKaRmOb',
# 10: [u'xIrzHdekejBzuJiblJfW', 9026, 75353.29921],
# 11: { 9: u'umwYuPGNIefYUHrnpAOP',
# 10: u'blakefrancisco@mcmahon.org.ba',
# 11: [ u'https://brooks-kennedy.net.ba/terms.html',
# u'crypjfQyLZfvcrHjqRpE']}},
# u'blanditiis': { 0: Decimal('90728774685.4'),
# 1: [ u'fFDvJVYLCqVYvkijviBL',
# u'ecHJWPowiiRjtyJQycRt',
# 3293],
# 2: { 0: u'vLFyCuZjKjvaOqlKeKqm',
# 1: Decimal('60.9645'),
# 2: [41298758.5, Decimal('5450.31')]}},
# u'dignissimos': { 1: u'TjQoumgTzEZQukOcbeQH',
# 2: [ u'yOEdnGKAXXICczNUKIFX',
# u'tnnLWBgXKxWpSVUPpxYb',
# 9041],
# 3: { 1: 4813411.98380232,
# 2: u'giOTkincNllUPDnlmHqz',
# 3: [ datetime(1992, 12, 8, 0, 43, 1),
# 10979573819239.0]}},
# u'eos': { 3: 991,
# 4: [ u'aaronespinoza@garcia.org.ba',
# datetime(1983, 8, 13, 15, 50, 13),
# 1968429383387.5],
# 5: { 3: u'franklinamy@outlook.com',
# 4: 3771,
# 5: [ u'james68@morris-wallace.ba',
# u'pEMgdWtdjZkrqEKWYNKS']}},
# u'et': { 6: datetime(1979, 8, 18, 12, 55, 7),
# 7: [ u'VwyoigKFElszAFNnnZne',
# u'sVNydjASNXhzSODJElOx',
# -695727251370030.0],
# 8: { 6: 415,
# 7: -57412110147.5133,
# 8: [ u'jfowler@robinson-howell.net.ba',
# u'KinHBYrnnzinqDJyqcof']}},
# u'incidunt': { 7: 82597.85,
# 8: [ 53763131410106.0,
# u'fhoDFlWZtMYNxNSXWNBF',
# u'VpQupRRvgGzolbJGOezc'],
# 9: { 7: 2390,
# 8: u'RnFSIRJbmUEmDYTPVjmW',
# 9: [ u'akkZHmlqrlsQibUqxebl',
# 9679.1348300195]}},
# u'repellendus': { 8: u'fUcpUlBBYdSUeQerreLo',
# 9: [ 7273,
# u'sandra76@gmail.com',
# u'http://collins-smith.gov.ba/faq/'],
# 10: { 8: u'joGZpyQJftlmXsGvmSyk',
# 9: u'james37@yang.ba',
# 10: [ 187429263157.893,
# u'derrick71@outlook.com']}},
# u'tempora': { 5: u'vHMErxBspNluiTXSZWHz',
# 6: [1265, 8986, 2508],
# 7: { 5: 1545,
# 6: u'vZFITRyCzqbfODOoIacr',
# 7: [2630, u'ojohnson@nguyen.edu.ba']}}})
fake.pyfloat(left_digits=None, right_digits=None, positive=False)
# 1141268792500.89
fake.pydecimal(left_digits=None, right_digits=None, positive=False)
# Decimal('-1548909672.57')
fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types)
# [ u'https://www.gomez.com.ba/categories/faq/',
# u'moralescarlos@bih.net.ba',
# 12961218.9,
# u'ZxZNsFLJrDFZQmsRKIDs',
# Decimal('-2489594576.1'),
# u'uharris@guerra.gov.ba',
# u'https://www.wilson.com.ba/posts/wp-content/terms/',
# u'http://www.vasquez.org.ba/privacy.php',
# Decimal('691.1199'),
# u'zturner@serrano-campbell.gov.ba',
# u'xlFcqijYEbKsZucfbNzK']
fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types)
# ( 9980,
# 6668,
# datetime(2006, 12, 3, 13, 18, 30),
# u'zTCPaSBWoSGMeYjtnyli',
# datetime(2010, 2, 2, 1, 49),
# u'QeWaCIsMXdhoEYrBSeKL',
# datetime(2009, 11, 5, 0, 10, 36))
fake.pybool()
# True
fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types)
# set([u'YoZChArgnZrGtYHAwHQQ', Decimal('6333509.67458'), u'https://baker-wolfe.com.ba/list/search/privacy.jsp', u'http://www.moore.net.ba/explore/login.html', u'christopher76@martin.unsa.ba', u'IWmfPMtFCvTZBReqAPYK', u'christopher61@tel.net.ba', datetime(1972, 5, 7, 2, 5, 48), u'wxgKkKGCIlhZovdyOlTO', u'https://peters.org.ba/category/blog/author.php', -9.9249, 4663, u'NMkyllHDjYrCzLVAIsNL', 160691.58])
fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types)
# { u'atque': -27.3,
# u'autem': 1999,
# u'fuga': 5368,
# u'occaecati': u'qXXNTNbVJIYGqqTNcfRv',
# u'quisquam': 6605,
# u'saepe': u'gregory35@hotmail.com',
# u'suscipit': u'reynoldsjoseph@outlook.com'}
fake.pyint()
# 2084
faker.providers.ssn
¶
fake.ssn()
# u'136-98-3018'
faker.providers.user_agent
¶
fake.mac_processor()
# u'U; PPC'
fake.firefox()
# u'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2; rv:1.9.4.20) Gecko/2010-06-04 03:18:20 Firefox/3.6.6'
fake.linux_platform_token()
# u'X11; Linux i686'
fake.opera()
# u'Opera/8.95.(X11; Linux x86_64; ak-GH) Presto/2.9.163 Version/12.00'
fake.windows_platform_token()
# u'Windows 98'
fake.internet_explorer()
# u'Mozilla/5.0 (compatible; MSIE 5.0; Windows NT 5.1; Trident/5.1)'
fake.user_agent()
# u'Mozilla/5.0 (X11; Linux x86_64; rv:1.9.6.20) Gecko/2013-09-09 18:59:20 Firefox/3.8'
fake.chrome()
# u'Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_6_5) AppleWebKit/5341 (KHTML, like Gecko) Chrome/13.0.841.0 Safari/5341'
fake.linux_processor()
# u'x86_64'
fake.mac_platform_token()
# u'Macintosh; PPC Mac OS X 10_7_9'
fake.safari()
# u'Mozilla/5.0 (Windows; U; Windows NT 6.2) AppleWebKit/531.11.3 (KHTML, like Gecko) Version/4.0 Safari/531.11.3'