Language nl_BE¶
faker.providers.address
¶
fake.latitude()
# Decimal('38.6849345')
fake.street_name()
# u'Tararing'
fake.address()
# u'Mariaring 923\n7531 Riksingen'
fake.street_address()
# u'Kathrynring 314'
fake.postcode()
# u'6181'
fake.country_code(representation="alpha-2")
# u'BY'
fake.longitude()
# Decimal('-22.758642')
fake.country()
# u'Palestina'
fake.province()
# u'Antwerpen'
fake.geo_coordinate(center=None, radius=0.001)
# Decimal('0.104281')
fake.city_suffix()
# u'Ville'
fake.building_number()
# u'1'
fake.street_suffix()
# u'weg'
fake.city()
# u'Grandville'
faker.providers.automotive
¶
fake.license_plate()
# u'AFP6621'
faker.providers.bank
¶
fake.bban()
# 'TVKT6888313813943'
fake.bank_country()
# 'GB'
fake.iban()
# 'GB56UNOZ5127812746223'
faker.providers.barcode
¶
fake.ean(length=13)
# u'7813792120831'
fake.ean13()
# u'8659047927997'
fake.ean8()
# u'21852176'
faker.providers.color
¶
fake.rgb_css_color()
# u'rgb(196,239,227)'
fake.color_name()
# u'LightCyan'
fake.rgb_color()
# u'87,149,165'
fake.safe_hex_color()
# u'#337700'
fake.safe_color_name()
# u'navy'
fake.hex_color()
# u'#b2a0cc'
faker.providers.company
¶
fake.company()
# u'Ramirez LLC'
fake.company_suffix()
# u'Ltd'
fake.catch_phrase()
# u'Implemented object-oriented throughput'
fake.bs()
# u'mesh synergistic methodologies'
faker.providers.credit_card
¶
fake.credit_card_security_code(card_type=None)
# u'036'
fake.credit_card_provider(card_type=None)
# u'VISA 16 digit'
fake.credit_card_full(card_type=None)
# u'Discover\nKerry Johnson\n6011994697033197 03/25\nCVC: 562\n'
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y")
# '03/24'
fake.credit_card_number(card_type=None)
# u'4276739202200'
faker.providers.currency
¶
fake.cryptocurrency_code()
# 'TRX'
fake.currency_code()
# 'CRC'
fake.currency_name()
# 'Colombian peso'
fake.cryptocurrency_name()
# 'Ripple'
fake.cryptocurrency()
# ('XRP', 'Ripple')
fake.currency()
# ('AOA', 'Angolan kwanza')
faker.providers.date_time
¶
fake.future_datetime(end_date="+30d", tzinfo=None)
# datetime.datetime(2018, 9, 10, 8, 13, 32)
fake.time_series(start_date="-30d", end_date="now", precision=None, distrib=None, tzinfo=None)
# <generator object time_series at 0xffffaa357fa0>
fake.date_between_dates(date_start=None, date_end=None)
# datetime.date(2018, 8, 16)
fake.date_time_between(start_date="-30y", end_date="now", tzinfo=None)
# datetime.datetime(1993, 5, 13, 0, 26, 4)
fake.date_this_decade(before_today=True, after_today=False)
# datetime.date(2015, 7, 10)
fake.date_time_this_month(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 8, 10, 21, 31, 58)
fake.past_date(start_date="-30d", tzinfo=None)
# datetime.date(2018, 7, 27)
fake.day_of_week()
# 'Thursday'
fake.date_time_this_decade(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2013, 10, 3, 20, 57, 47)
fake.date_between(start_date="-30y", end_date="today")
# datetime.date(1998, 12, 9)
fake.date_time_this_century(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2011, 2, 15, 15, 0, 59)
fake.date(pattern="%Y-%m-%d", end_datetime=None)
# '2011-07-20'
fake.am_pm()
# 'PM'
fake.date_time_between_dates(datetime_start=None, datetime_end=None, tzinfo=None)
# datetime.datetime(2018, 8, 16, 10, 58, 40)
fake.date_object(end_datetime=None)
# datetime.date(1991, 10, 8)
fake.date_this_year(before_today=True, after_today=False)
# datetime.date(2018, 3, 13)
fake.iso8601(tzinfo=None, end_datetime=None)
# '1981-12-22T00:50:57'
fake.future_date(end_date="+30d", tzinfo=None)
# datetime.date(2018, 9, 10)
fake.date_this_century(before_today=True, after_today=False)
# datetime.date(2017, 3, 6)
fake.month()
# '06'
fake.year()
# '1995'
fake.day_of_month()
# '08'
fake.unix_time(end_datetime=None, start_datetime=None)
# 617715
fake.timezone()
# u'Asia/Jerusalem'
fake.century()
# u'XI'
fake.date_of_birth(tzinfo=None, minimum_age=0, maximum_age=115)
# datetime.date(1905, 3, 15)
fake.time_object(end_datetime=None)
# datetime.time(18, 51, 45)
fake.date_time_this_year(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 5, 3, 0, 25, 46)
fake.date_time(tzinfo=None, end_datetime=None)
# datetime.datetime(1980, 3, 13, 11, 18, 24)
fake.time(pattern="%H:%M:%S", end_datetime=None)
# '18:53:50'
fake.date_this_month(before_today=True, after_today=False)
# datetime.date(2018, 8, 12)
fake.past_datetime(start_date="-30d", tzinfo=None)
# datetime.datetime(2018, 7, 20, 20, 50, 21)
fake.month_name()
# 'April'
fake.date_time_ad(tzinfo=None, end_datetime=None, start_datetime=None)
# datetime.datetime(561, 6, 7, 14, 49, 48)
fake.time_delta(end_datetime=None)
# datetime.timedelta(11456, 74286)
faker.providers.file
¶
fake.unix_device(prefix=None)
# u'/dev/sdf'
fake.mime_type(category=None)
# u'image/pjpeg'
fake.file_path(depth=1, category=None, extension=None)
# u'/ratione/temporibus.csv'
fake.unix_partition(prefix=None)
# u'/dev/vdh7'
fake.file_name(category=None, extension=None)
# u'eius.xls'
fake.file_extension(category=None)
# u'flac'
faker.providers.internet
¶
fake.ascii_free_email(*args, **kwargs)
# 'zmorris@gmail.com'
fake.image_url(width=None, height=None)
# u'https://placeholdit.imgix.net/~text?txtsize=55&txt=368x207&w=368&h=207'
fake.tld()
# u'com'
fake.email(*args, **kwargs)
# u'bruce74@gmail.com'
fake.url(schemes=None)
# u'http://www.holland.info/'
fake.ipv4_private(network=False, address_class=None)
# '10.156.8.184'
fake.user_name(*args, **kwargs)
# u'victoria30'
fake.uri_extension()
# u'.php'
fake.uri_page()
# u'home'
fake.free_email_domain(*args, **kwargs)
# u'yahoo.com'
fake.safe_email(*args, **kwargs)
# u'yevans@example.net'
fake.ascii_email(*args, **kwargs)
# 'joshualarson@thompson.org'
fake.ipv4_network_class()
# u'b'
fake.ipv4_public(network=False, address_class=None)
# '2.91.136.12'
fake.ascii_company_email(*args, **kwargs)
# 'estesvictoria@butler.com'
fake.domain_name(*args, **kwargs)
# u'hunt.info'
fake.ipv4(network=False, address_class=None, private=None)
# '245.26.44.31'
fake.domain_word(*args, **kwargs)
# u'rogers-lam'
fake.slug(*args, **kwargs)
# u'fuga-repudiandae'
fake.uri_path(deep=None)
# u'search'
fake.company_email(*args, **kwargs)
# u'matthewschristopher@simpson-price.com'
fake.uri()
# u'https://thomas-bowen.org/'
fake.ipv6(network=False)
# 'f323:2700:ede7:673:81f7:9e1c:9182:7a06'
fake.free_email(*args, **kwargs)
# u'jeffreysmith@yahoo.com'
fake.ascii_safe_email(*args, **kwargs)
# 'julia77@example.net'
fake.mac_address()
# u'c8:d4:f0:91:d4:74'
faker.providers.isbn
¶
fake.isbn10(separator="-")
# u'0-7919-9766-9'
fake.isbn13(separator="-")
# u'978-1-4262-3342-5'
faker.providers.job
¶
fake.job()
# 'Accounting technician'
faker.providers.lorem
¶
fake.text(max_nb_chars=200, ext_word_list=None)
# u'Error reprehenderit minima tenetur. Enim accusantium molestias minus soluta. Officiis magnam velit sit facilis sapiente odio.'
fake.paragraphs(nb=3, ext_word_list=None)
# [ u'Quas voluptatem accusantium natus voluptates. Tempora ullam sequi. Sapiente id perspiciatis eum quis repudiandae ullam. Assumenda blanditiis distinctio occaecati doloremque.',
# u'Assumenda dicta sequi non totam quisquam atque possimus. Ipsam aspernatur provident mollitia occaecati voluptatibus veniam autem.',
# u'Eaque cum repudiandae similique repellat esse. Molestias eum non corrupti. Totam fuga harum similique.']
fake.words(nb=3, ext_word_list=None)
# [u'ratione', u'eaque', u'nemo']
fake.sentences(nb=3, ext_word_list=None)
# [ u'Omnis numquam quae iure eos.',
# u'Accusamus at facere provident amet dolor quia.',
# u'Cum placeat voluptatibus impedit et natus eos alias.']
fake.word(ext_word_list=None)
# u'ipsa'
fake.paragraph(nb_sentences=3, variable_nb_sentences=True, ext_word_list=None)
# u'Adipisci amet neque distinctio sunt provident. A explicabo non.'
fake.sentence(nb_words=6, variable_nb_words=True, ext_word_list=None)
# u'Quos minus ad doloribus repellat.'
faker.providers.misc
¶
fake.password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True)
# u'FmRCVSuX(1'
fake.locale()
# u'hsb_DE'
fake.binary(length=1048576)
# bytearray(b'\x1e\xe8U\xfa\xdey\xa4!4c\xfe(,K\xa1M\xe0\xa4\x19c+{2\x8d"<\x03\xc9\xd9\xfa\xc2\x934\x95\xa6~4\x04\xbc\xb8h\xc2EVHG\xba\xd8\xcecv\xe4\xcbz\x1d\xd2B5\x1dq\xbe[m\xdb\xf2\xf3\xe21@\x9d\xc8\xbc5\xe8\x01\x93\xd3\x98\xd9\xdf\x8f\'4\xda\xe7\xc4`\xbf-`~\x7f\xf7R\x8e\r\x06x\xc3\x06\x99\xa3I\xd2\xcf:\xd7\x81\xf3\xfc\xa6LG]\xf8{\xa6\xd1\xf5\x102\x17K\xea\x1b\xbe\xb2\xeb\xaf\x9d\xba]?Iy\xde\x0e[\x14\x85\x85>h3Y\xd3Ji\xe7\xe4\xda\x0f\xce\x1c\xc5\xf3\xf0\xe1\xf5\xc6\xf3T2->u@$}\xc5\xb0\xb8\xa9H\x8fg\xe1\xac\x11\x1668\xfa\x0c\x9d\x9d\x86\xf2\xde-8\x0f\xe4\xd0\x1dP\x1cvv\xb0Fl\x8d\x1cPC1$#\xdb\xd02"S\xfc\xd7\x878\xa5\xb8\xa13\x83+\x83\xd6J\x00&\xc5p\xa4\x06~jJo\xe6\xad\x82\xa9\x0f+\xf9\x8b\xfe\xe1*(\xe8:\xc5\x95\xbe$dq%|\x06\x86\x0c\x88\x91\xe5\xaf\x9f\xe1\r\xffiYB\xc0\x86\xc3c\xd5\xed\xa5\xa2~\xa3U\xf9k\xe8CB@{q1&\xc9\xfd\xa6\xa7\x1a\xd6\xa0&(Q[^\xd7\x8fn[.P\x86Q.\x15\xef\x9e\xf8\xbb\x93~\x15\xf7d\x85\xf5WbPg`\xb2Z\x15)\x90\xd7\x87\xeb\xe1\x86\x0c\xbd\xad\xdf\x08\xe3\\\xc9\x7f\xf8\n\x8d\x04m\x15>:\xbb\x00<\xe4U\xcf\xd8\x81\xec@\xee\xb7bj\x1fFFo\xbc\xee\x15\xf5\xdapQ/4\xf4\xb2\xdbyc\x05\xc9pg\x07\x89\x9d\xc9Q\xd1\x90\x93.yL\x14i\x91j\x11.yW\xfc\x14i\xc3\xf2\xa9!e\x18=\xde\x90\xc3\xba\x83\x08\x15\xf3.\x92\xf1j\xa8_,\x9dD#\x1fE\x80\x11/,t\xcb\xb7\x9c:\\\xdf\xe6\x06\xc0\xc8\x10Np>\xa9z\x10\x1f\xc4h\nq~dS<\xf3Pt\x8e\x9c\x11\x070\xb09\xd2\xa4\xb9L\x80M\xf0\x0bs~\xbf\x19\x92X\xd1\xa7,\xfe\xd6\x98\x86\xa5=\xb8\x0e\xac$N\x83\x8b\x91\x0b93`\xb7\xd7\xe4&\xea\xea\x1b\x193\xdbD\x15\xed\x87\xd3t\xfbo\xdf\xe43\x88d\x95j\xe5\xd8\x8f\x0fp\xcf\xc0\x1d\xc0\x8d\xd7v\x7f\x15~\xf6\x95\xe2\xa0W\xe7\x12\x1f\x9a\x0c\xa1H\xae\xcew\xeb\xea\x95\x8ez8\x91s\x89\xa8t]\x15\x06n\x85Iy\xf5\xb8j/\x8dJ\x07\xd0\xb4\x172\xccv/L\x1e\xf9+\xfc\xeb]\x7f\x99\xb3\x87"YU\xb7!\x14\xa6\x8b\xb6M\x19\xc2\x13\'u\xe8\xbc\x8f\xcb\r\xa8\x04\xcf\x16-@\x943\xfa\x85p\x05\xecx\xb2\x87\xae\rg\x1d#\xfb\xfb\x86~u\x96$1\xf2\xcai\xe3\x8c\xac\xa8\xbe\xd11\x8c\xc1\x1a\x13\x826\xfaH#\x0eos\xf5{F\xb4N\xd2\xe8\x05\xc8\x9b\x19!E\xf5\xbd+\x0b.H\xc1+\x1f\xc1\x06\xe3\xc2O\x8b\xb7\xb5\x97\xb6\x83\xb6\x85d\xf8\x1d\xb3-\x9fZq\xed\x02\xa0:j\xaep\x82\x8e\x1f\xf9\x9fJ\xd3\xc8k\x05M..\xec\xf4\xe4V\xce/\xa2\t\xc9>\xaaff`\xc8\xd7\x88d\x1fqS\xed%\x0e\xdb\xe5\xed?\x9b\xbc\x9aF\x96D\x8e\x93\x1c\x85\xb1$+`5%\xedeF\tk\nu\xa8\x01!\x8c~\xb9yv?\xf2ZaP\xa2\xc9\xfc\x8c\xb2th\x90%\x19s\x94\xc4e\x961\xc92&\xd4b4\xf1\x8bo\xe0\x17\xb4N\xa9\x07]\xbd\x1c:vH&\x87\x8f\xb4\xf1\x98o\x15\t2Rn\xdb\xae\xce\xc2\xbe\x1aW\x9f\x8b\x7f!\x9fr\xdf\x87\x1d\xb0R\x98\xba\x81\xea\xb8\xd5\xd1\xfe\xd6\x83\x95D\x0e\xff\xef\x1f\x1d\xaa_,/\xa9\xb6\xe8\xc1\xc5i(\x17K\xd1\xcbf\x8e\x1b#\xb7\x1aw\xae\xc6\xbayh\xf5J\xe0\xe7\xb1\xdc\x98\xcf]\'\xbfX\x89\xfb\x98\xe1\xd8\x05U\x9b\xc0\xba\x86\xb1\x11\x1e#BN$\xe3\xf8\\b\xaf\xbbV\xa7\x19\xe0\x1ft\xf9Hcw@\xc9\xac\xc8\x0bU\xdbl]|\xc3mw\x9c\xd1\xe6\xae\xa7\xbd\x8cE\x8b\xe4\x80\x98=a/\x89\x01\xf4QpZ\xa89\xeeEX\x83CiC\x1a+.l\xec/6\xd6')
fake.md5(raw_output=False)
# 'e94731aae27f8c30aafa0987fd58aee2'
fake.sha1(raw_output=False)
# 'cf071e51364ca5ba93da4de0a40b28a40ae37f65'
fake.null_boolean()
# False
fake.sha256(raw_output=False)
# '3b0124cd5160f2f825308f5222b900906a9b9d66f1d763b8b53118f4ee6825a0'
fake.uuid4()
# '5a6b6f4f-b8a5-1dbb-9e51-9fcbd2da1321'
fake.language_code()
# u'cy'
fake.boolean(chance_of_getting_true=50)
# False
faker.providers.person
¶
fake.last_name_male()
# u'Johnston'
fake.name_female()
# u'Nicole King'
fake.prefix_male()
# u'Mr.'
fake.prefix()
# u'Mrs.'
fake.name()
# u'Hannah Macias'
fake.suffix_female()
# u'MD'
fake.name_male()
# u'Travis Holloway'
fake.first_name()
# u'Anthony'
fake.suffix_male()
# u'DDS'
fake.suffix()
# u'MD'
fake.first_name_male()
# u'Kyle'
fake.first_name_female()
# u'Wanda'
fake.last_name_female()
# u'Vargas'
fake.last_name()
# u'Jones'
fake.prefix_female()
# u'Miss'
faker.providers.phone_number
¶
fake.phone_number()
# u'0174 941966'
fake.msisdn()
# '6659633764181'
faker.providers.profile
¶
fake.simple_profile(sex=None)
# { 'address': u'Laceylaan 4\n2532 Thuillies',
# 'birthdate': datetime.date(2016, 1, 17),
# 'mail': u'zmaddox@yahoo.com',
# 'name': u'Maria Rose',
# 'sex': 'F',
# 'username': u'millerjonathan'}
fake.profile(fields=None, sex=None)
# { 'address': u'Susanpad 874\n7066\nBeclers',
# 'birthdate': datetime.date(2011, 12, 27),
# 'blood_group': '0+',
# 'company': u'Valencia and Sons',
# 'current_location': (Decimal('20.2515965'), Decimal('-115.204673')),
# 'job': 'Administrator, charities/voluntary organisations',
# 'mail': u'kristenparsons@hotmail.com',
# 'name': u'Karen Jimenez',
# 'residence': u'Trevorlei 4\n8424 Izier',
# 'sex': 'F',
# 'ssn': u'99060239121',
# 'username': u'silvaamanda',
# 'website': [u'http://morales.info/']}
faker.providers.python
¶
fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types)
# set([2433, datetime.datetime(2012, 10, 8, 14, 44, 25), u'FotYDGKFsbCAwOIJPMVo', 9869, u'melissa41@yahoo.com', 2037, Decimal('-551855244772')])
fake.pystr(min_chars=None, max_chars=20)
# u'ZCOFvTgPGTPYscmUcCQe'
fake.pystruct(count=10, *value_types)
# ( [ -87847.9,
# Decimal('9414134268.0'),
# u'mitchelljill@callahan.com',
# 2911,
# 5319,
# u'LZcRPBKkuIrSzIstBSWN',
# u'https://www.nielsen.net/main/author/',
# datetime.datetime(1981, 6, 15, 1, 42, 32),
# u'maysheryl@lamb-campbell.com',
# u'zacharynguyen@pope.com'],
# { u'architecto': 7457,
# u'aut': u'zmTncxcRSXNlqpzOQoBS',
# u'blanditiis': u'http://www.moreno.com/faq.php',
# u'corporis': Decimal('5810987.71487'),
# u'in': u'gamofkLiHNcibYFhwykm',
# u'occaecati': Decimal('-730288585.61'),
# u'rem': u'https://smith.com/main/blog/search/privacy/',
# u'repudiandae': datetime.datetime(2017, 11, 12, 4, 10, 59),
# u'sunt': u'RZEbOiwDLoXMmUfxVMPe',
# u'tempora': u'yvonne09@williams.com'},
# { u'alias': { 9: u'KjCcsKnPZOtALBWuBvGg',
# 10: [ u'hallcynthia@hickman.biz',
# 1926,
# u'gJopnCDTYLWgAUXdZicn'],
# 11: { 9: u'https://www.murphy.net/tags/main.html',
# 10: u'uyYXtgcUmgBUrUmZgoFd',
# 11: [ u'aWmlkROKaZITHZytoZmz',
# u'rayyu@gmail.com']}},
# u'aliquid': { 8: u'KrFwZtxFJCtkYVZdhVvY',
# 9: [ datetime.datetime(2009, 1, 21, 15, 16, 26),
# 3465,
# Decimal('-1.033115934E+11')],
# 10: { 8: Decimal('-7.15503980894E+14'),
# 9: u'hortonrichard@hotmail.com',
# 10: [u'RnNDQzRrkKelDZcfaPSV', 6482]}},
# u'error': { 2: u'VHeigfIZDPEKNDIpQRaT',
# 3: [ u'VyjaAFhEyFAciIRlNwoc',
# -4017.1788143,
# u'LPkvTahyUQNLBDLRyspz'],
# 4: { 2: datetime.datetime(2001, 4, 29, 11, 6, 16),
# 3: u'https://thomas-rodriguez.net/category/wp-content/index/',
# 4: [7307, u'NvvpcXgmqRpHoOrWsgSz']}},
# u'laudantium': { 4: 5723,
# 5: [ 6979,
# 336.194874684408,
# u'WLbHeaqpAKMMeOUbJcNV'],
# 6: { 4: Decimal('-7.610384052'),
# 5: -3239806077.6894,
# 6: [ 485738846179.528,
# u'vrEZIwHbjGQCYlPAeavi']}},
# u'neque': { 3: 8778515258.84,
# 4: [ Decimal('-598.323631'),
# 1813,
# Decimal('5.39508184622E+12')],
# 5: { 3: 4466,
# 4: u'tHpnijJUHFJPPJneKjrp',
# 5: [-331116893829322.0, 8097]}},
# u'perferendis': { 7: datetime.datetime(2017, 10, 14, 3, 47, 1),
# 8: [ u'kQsOCxIBmbhSvZFPvSje',
# u'ZijuRdPmewcYfaHzuDrN',
# u'HeCvFybWPnzIDqjIYIMA'],
# 9: { 7: u'alexis81@yahoo.com',
# 8: 5759,
# 9: [ u'https://www.sweeney-foster.net/app/tag/faq/',
# Decimal('-9968.8')]}},
# u'quo': { 5: u'bradleyharris@keller.org',
# 6: [ 7868.8,
# datetime.datetime(1989, 6, 22, 22, 42, 50),
# 1334],
# 7: { 5: 6322,
# 6: 8870,
# 7: [ Decimal('-5602.22925462'),
# u'GfmhXMIVRGsXaiNAkYwT']}},
# u'sed': { 6: u'gregory27@gmail.com',
# 7: [ u'ANrJomZMpPjdQilTTVxp',
# 4025,
# u'LshQGkYEGNKRozenABTR'],
# 8: { 6: u'DmnYxvZhbQUvWAnzZcQr',
# 7: Decimal('5295802735.0'),
# 8: [ u'ZJHfQoFgDMTTwoXEEuvy',
# Decimal('-63097465706.6')]}},
# u'suscipit': { 1: 6103,
# 2: [ Decimal('-4.2729601437E+14'),
# u'eydFwgNcrDAXpFRntKbT',
# 909],
# 3: { 1: u'IZMpYkHszbWJBiYfoRJN',
# 2: u'MaSayexfxyxDHhsCEQjL',
# 3: [ u'http://www.jordan.com/register/',
# u'bennettdawn@martinez.com']}},
# u'vel': { 0: Decimal('-9104.7167'),
# 1: [ u'http://www.page.biz/tags/faq/',
# Decimal('386.3772964'),
# u'MlowsqFkxZqpItNKVHkg'],
# 2: { 0: 5621,
# 1: Decimal('2100.95'),
# 2: [ Decimal('-513047951136'),
# u'brownemily@yahoo.com']}}})
fake.pyfloat(left_digits=None, right_digits=None, positive=False)
# 11.5324
fake.pydecimal(left_digits=None, right_digits=None, positive=False)
# Decimal('-5814675392.54')
fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types)
# [ -8405005750646.0,
# datetime.datetime(2002, 1, 4, 8, 40, 39),
# u'bzhHLcgkDaNlmfVlduqP',
# u'jdwopvlUTwkwLdURUXso',
# u'griffithcynthia@gmail.com',
# u'kOZHwNGBzynCsWdlgLJb',
# 1992,
# u'alan48@mays-douglas.com',
# u'RbRuMHyZEnaTKYMzyoXO']
fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types)
# ( -11348586114292.0,
# datetime.datetime(1997, 1, 17, 7, 48, 31),
# 5400,
# u'oTpcPHoEqubapoHpasEc',
# datetime.datetime(1996, 2, 21, 20, 58, 39),
# u'http://rasmussen-gonzalez.com/main.jsp',
# -416382403.16681)
fake.pybool()
# True
fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types)
# set([u'LnnUiWyznVObdhvyQJqh', u'http://www.stevenson.biz/post/', 7332, -93.9080578749917, 1511, u'evtSbSaMSVdXSSlAZoce', u'mmbAnjVEVPJvymFdHXwH', 567701.33661, 8179, 30284885.0, Decimal('379861.345784'), u'qCdAsAiIPAjalnOGImjc'])
fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types)
# { u'commodi': 6823,
# u'cupiditate': u'wrpgJpWWZnvpHGBqoKKl',
# u'expedita': u'EUAmyvGVJcxUaCaGiQYW',
# u'hic': u'http://www.kelley.com/list/blog/category/terms/',
# u'illo': u'SlknlyhfVoADyTByuoFl',
# u'ipsa': -373766739741.7,
# u'neque': u'melissacastaneda@yahoo.com',
# u'nostrum': u'iMAobRudbCdkUOiSxaxs',
# u'sunt': u'http://www.king.com/tags/about/',
# u'ut': u'kVKqaicgFNleyoBenNGI'}
fake.pyint()
# 941
faker.providers.ssn
¶
fake.ssn()
# u'76081564770'
faker.providers.user_agent
¶
fake.mac_processor()
# u'PPC'
fake.firefox()
# u'Mozilla/5.0 (Windows NT 6.1; az-AZ; rv:1.9.0.20) Gecko/2017-02-18 14:17:22 Firefox/3.8'
fake.linux_platform_token()
# u'X11; Linux i686'
fake.opera()
# u'Opera/8.23.(Windows 98; Win 9x 4.90; vi-VN) Presto/2.9.178 Version/11.00'
fake.windows_platform_token()
# u'Windows 95'
fake.internet_explorer()
# u'Mozilla/5.0 (compatible; MSIE 5.0; Windows NT 6.0; Trident/5.0)'
fake.user_agent()
# u'Opera/8.88.(X11; Linux i686; ti-ET) Presto/2.9.167 Version/11.00'
fake.linux_processor()
# u'x86_64'
fake.chrome(version_from=13, version_to=63, build_from=800, build_to=899)
# u'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/5342 (KHTML, like Gecko) Chrome/19.0.806.0 Safari/5342'
fake.mac_platform_token()
# u'Macintosh; U; PPC Mac OS X 10_8_6'
fake.safari()
# u'Mozilla/5.0 (iPod; U; CPU iPhone OS 4_1 like Mac OS X; br-FR) AppleWebKit/533.23.1 (KHTML, like Gecko) Version/4.0.5 Mobile/8B112 Safari/6533.23.1'