Language de_DE¶
faker.providers.address
¶
fake.latitude()
# Decimal('-44.1722635')
fake.street_name()
# u'Ignatz-Hermighausen-Gasse'
fake.address()
# u'Lissy-Schulz-Stra\xdfe 9/9\n92975 Eckernf\xf6rde'
fake.street_address()
# u'Eckbauerallee 6'
fake.postcode()
# u'28734'
fake.country_code(representation="alpha-2")
# u'CO'
fake.longitude()
# Decimal('-159.104619')
fake.country()
# u'Suriname'
fake.city_name()
# u'Stollberg'
fake.street_suffix()
# u'Street'
fake.geo_coordinate(center=None, radius=0.001)
# Decimal('46.968004')
fake.city_suffix()
# u'Ville'
fake.building_number()
# u'7/1'
fake.street_suffix_long()
# u'Stra\xdfe'
fake.street_suffix_short()
# u'ring'
fake.city()
# u'Burgdorf'
fake.state()
# u'Mecklenburg-Vorpommern'
faker.providers.automotive
¶
fake.license_plate()
# u'LG-Z-7'
faker.providers.bank
¶
fake.bban()
# '348311242393287165'
fake.bank_country()
# 'DE'
fake.iban()
# 'DE43459212014628878701'
faker.providers.barcode
¶
fake.ean(length=13)
# u'2021961776818'
fake.ean13()
# u'6028688553742'
fake.ean8()
# u'46674128'
faker.providers.color
¶
fake.rgb_css_color()
# u'rgb(23,221,169)'
fake.color_name()
# u'LightCyan'
fake.rgb_color()
# u'197,188,193'
fake.safe_hex_color()
# u'#556600'
fake.safe_color_name()
# u'green'
fake.hex_color()
# u'#9e4620'
faker.providers.company
¶
fake.company()
# u'Paffrath'
fake.company_suffix()
# u'GmbH'
fake.catch_phrase()
# u'Secured actuating workforce'
fake.bs()
# u'innovate frictionless relationships'
faker.providers.credit_card
¶
fake.credit_card_security_code(card_type=None)
# u'812'
fake.credit_card_provider(card_type=None)
# u'Mastercard'
fake.credit_card_full(card_type=None)
# u'VISA 16 digit\nMonica Ebert\n4611332098216187 06/20\nCVC: 833\n'
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y")
# '12/22'
fake.credit_card_number(card_type=None)
# u'573298601507'
faker.providers.currency
¶
fake.cryptocurrency_code()
# 'DRC'
fake.currency_code()
# 'MRO'
fake.currency_name()
# 'Ethiopian birr'
fake.cryptocurrency_name()
# 'Ethereum'
fake.cryptocurrency()
# ('LSK', 'Lisk')
fake.currency()
# ('RUB', 'Russian ruble')
faker.providers.date_time
¶
fake.future_datetime(end_date="+30d", tzinfo=None)
# datetime.datetime(2018, 9, 5, 18, 36, 36)
fake.time_series(start_date="-30d", end_date="now", precision=None, distrib=None, tzinfo=None)
# <generator object time_series at 0x7f6bca1c51e0>
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(1994, 1, 10, 16, 34, 41)
fake.date_this_decade(before_today=True, after_today=False)
# datetime.date(2018, 7, 9)
fake.date_time_this_month(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 8, 8, 20, 56, 27)
fake.past_date(start_date="-30d", tzinfo=None)
# datetime.date(2018, 7, 21)
fake.day_of_week()
# 'Friday'
fake.date_time_this_decade(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2016, 2, 13, 9, 23, 57)
fake.date_between(start_date="-30y", end_date="today")
# datetime.date(1992, 4, 9)
fake.date_time_this_century(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2005, 12, 30, 8, 15, 9)
fake.date(pattern="%Y-%m-%d", end_datetime=None)
# '1985-01-19'
fake.am_pm()
# 'PM'
fake.date_time_between_dates(datetime_start=None, datetime_end=None, tzinfo=None)
# datetime.datetime(2018, 8, 16, 9, 28, 13)
fake.date_object(end_datetime=None)
# datetime.date(1978, 3, 25)
fake.date_this_year(before_today=True, after_today=False)
# datetime.date(2018, 2, 11)
fake.iso8601(tzinfo=None, end_datetime=None)
# '2000-07-30T15:33:16'
fake.future_date(end_date="+30d", tzinfo=None)
# datetime.date(2018, 9, 4)
fake.date_this_century(before_today=True, after_today=False)
# datetime.date(2003, 9, 17)
fake.month()
# '08'
fake.year()
# '2000'
fake.day_of_month()
# '06'
fake.unix_time(end_datetime=None, start_datetime=None)
# 294634474
fake.timezone()
# u'America/Santiago'
fake.century()
# u'XVI'
fake.date_of_birth(tzinfo=None, minimum_age=0, maximum_age=115)
# datetime.date(1934, 3, 25)
fake.time_object(end_datetime=None)
# datetime.time(15, 59, 28)
fake.date_time_this_year(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 7, 29, 10, 50, 23)
fake.date_time(tzinfo=None, end_datetime=None)
# datetime.datetime(2007, 3, 25, 21, 47, 17)
fake.time(pattern="%H:%M:%S", end_datetime=None)
# '07:04:48'
fake.date_this_month(before_today=True, after_today=False)
# datetime.date(2018, 8, 10)
fake.past_datetime(start_date="-30d", tzinfo=None)
# datetime.datetime(2018, 8, 2, 7, 42, 45)
fake.month_name()
# 'June'
fake.date_time_ad(tzinfo=None, end_datetime=None, start_datetime=None)
# datetime.datetime(1235, 6, 7, 5, 12, 50)
fake.time_delta(end_datetime=None)
# datetime.timedelta(17580, 33218)
faker.providers.file
¶
fake.unix_device(prefix=None)
# u'/dev/xvdl'
fake.mime_type(category=None)
# u'audio/ogg'
fake.file_path(depth=1, category=None, extension=None)
# u'/eum/reprehenderit.avi'
fake.unix_partition(prefix=None)
# u'/dev/vde7'
fake.file_name(category=None, extension=None)
# u'nisi.jpeg'
fake.file_extension(category=None)
# u'mp4'
faker.providers.internet
¶
fake.ascii_free_email(*args, **kwargs)
# 'ingolfkohl@googlemail.com'
fake.image_url(width=None, height=None)
# u'https://placeholdit.imgix.net/~text?txtsize=55&txt=713x854&w=713&h=854'
fake.tld()
# u'org'
fake.email(*args, **kwargs)
# u'heinznikola@vollbrecht.org'
fake.url(schemes=None)
# u'https://raedel.net/'
fake.ipv4_private(network=False, address_class=None)
# '10.166.48.92'
fake.user_name(*args, **kwargs)
# u'valeskamangold'
fake.uri_extension()
# u'.html'
fake.uri_page()
# u'faq'
fake.free_email_domain(*args, **kwargs)
# u'gmx.de'
fake.safe_email(*args, **kwargs)
# u'henschelhans-peter@example.net'
fake.ascii_email(*args, **kwargs)
# 'williamgerlach@eberhardt.de'
fake.ipv4_network_class()
# u'a'
fake.ipv4_public(network=False, address_class=None)
# '194.31.120.129'
fake.ascii_company_email(*args, **kwargs)
# 'marika16@schleich.de'
fake.domain_name(*args, **kwargs)
# u'pechel.com'
fake.ipv4(network=False, address_class=None, private=None)
# '156.25.233.119'
fake.domain_word(*args, **kwargs)
# u'karge'
fake.slug(*args, **kwargs)
# u'maiores-consequatur'
fake.uri_path(deep=None)
# u'app'
fake.company_email(*args, **kwargs)
# u'fritzkarz@mentzel.de'
fake.uri()
# u'http://schaefer.com/tags/homepage/'
fake.ipv6(network=False)
# 'f2df:d61c:809e:413:d16e:d1f7:9199:51bb'
fake.free_email(*args, **kwargs)
# u'omartin@googlemail.com'
fake.ascii_safe_email(*args, **kwargs)
# 'reinholdjohann@example.org'
fake.mac_address()
# u'e7:d3:40:d2:cb:eb'
faker.providers.isbn
¶
fake.isbn10(separator="-")
# u'1-05-687902-5'
fake.isbn13(separator="-")
# u'978-0-497-16363-1'
faker.providers.job
¶
fake.job()
# 'Presenter, broadcasting'
faker.providers.lorem
¶
fake.text(max_nb_chars=200, ext_word_list=None)
# u'Fugit beatae totam aliquid. Aliquam nisi iusto id. Optio eaque est quo odio blanditiis.\nReprehenderit voluptates sint aspernatur repellat. Non ipsum laboriosam ex pariatur nam fugit tenetur.'
fake.paragraphs(nb=3, ext_word_list=None)
# [ u'Qui cumque cupiditate.',
# u'Deleniti deserunt recusandae impedit occaecati.',
# u'Recusandae officia quidem adipisci error voluptatum laboriosam. At expedita provident ratione.']
fake.words(nb=3, ext_word_list=None)
# [u'repellendus', u'vitae', u'quaerat']
fake.sentences(nb=3, ext_word_list=None)
# [ u'Eos harum dolore aut in.',
# u'Ut numquam pariatur corporis amet.',
# u'Dolor ea reiciendis eum aliquam.']
fake.word(ext_word_list=None)
# u'accusamus'
fake.paragraph(nb_sentences=3, variable_nb_sentences=True, ext_word_list=None)
# u'Sint saepe quas dolor suscipit. Consequatur ullam adipisci inventore voluptates aliquam. Eveniet minima optio exercitationem expedita.'
fake.sentence(nb_words=6, variable_nb_words=True, ext_word_list=None)
# u'Maiores eum consectetur sit laborum.'
faker.providers.misc
¶
fake.password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True)
# u'&MDagL!n2B'
fake.locale()
# u'si_LK'
fake.binary(length=1048576)
# bytearray(b'\xc0\xa3\xee`\x8e\xdd\xc2;KblQ\xf1\xb0\x86\x121\xce\xe8\xc7\x85}6#\xe0d}bb\xbb;\xf6S`\x8c\xd0i\xed\x0f\xd3d\xbc\x95\xbc\x14%\xf2=\xd4\nkU}\xdd\'\x1dJg\'\xd1\x0fH@h)\x8b\xe0\x9d\xbb\xa2\x96\xf7m\xf7\xe5\'\xbc\xe0s\xe6\xe3\x91\x0b(\x84\x98\xab\xfec\xf5\x1f\xe4n6\x1d\x16M\xb9L\r\xa4\x06\xe9\xcf\x9a\x9a;[?\xbb\xfbO\xca\xc7\x00\xda\x91\xa6\xb6\x15Tv\'\xee`Z\xa7\xbfb\x86\xe8\x07#\x7f\x94\xfew\xd5bJ\x86\xb4en\x8f\x91\xfb\xb2\x84\xf1C\x86~\x9a\xce\x80\xbd\xe5>e]w\xe4V\x11\xca\xddU\x9d\xfaI\x9e\xaf\xbc\xa7\x15\x004\xb9\x81\x07\x1d\xad\x0el\x08\x01va\x1f\x8a\x9e\x1dG\xb9$\x0cV;\xd8\xed\x0c\xf0\n\x1d\x85=H|\xcb\xce\xe98\xba\x1b\xd1\xc3\xc8B}\xe0\xbd\x929\xd1\xcb\x93C\xd7\xfduu\nH\xab\x8b\x83H\xfbjW\xc9s,\xc2\xddh\x03\xe4O\xbd\xa6\xdc\xda\xb4\x8f\xc7\xf5D\x93\xea\x89\xc7\x82M\x1c&h\xd3\x1a.\xf6\xf1M&\xf2\x84\xa5\xf0\xe5\xc6_\xa5\x1bb7\x82\xdeh5\xbc|\xa7\x01\xa1\xabH,,\x13-H\xc6y\xfb\x0e\xac\xadJ\xbei\xcc\x01\xe4}\xa2CR+;7\x12,oB_\x065\xa4\xb6\xe6\x9a\x87\x99\x97\x1b\xbb\x07k+S\xed\xfc\xda\x97\xac\xd5\xa6\x8c\x04W\x16\x14Q\xa4S\xcc\xea\xb2\x96\xd7\x0f\xbf\x11X\xdf~\x87\x8d\x82Y\xaf\xf3\t\xbc\x11\\x\x14rpX\x95LS\x0c\xf3yG\xad\xef\x93\xd4\xc1_P\xd2\xa2\x0c\xd4f\xde\xe0\xfe4\x10\x93\xa1\x95\x19\x06Gy\xe0\xd3\xa5\xc1\xb2\x95\x08Q\xfck\xf34\xe6F `T\xd1j\xfc\xe4k\x8d\xe5\xf2d7>\x89Ud\xfc)?\x06Z\xaa)\x17\xdd&\xbf<\x1cD\xd74;p\xbc\xffU$\xa1\n\xf1\xa2\xb4\xe670\xc3\xbeC\xab\xd8:\x01\xea\'\xfcnU\xc2\xba\xaf\\\xa1\xf9\xae?`\x196y\xae\xaf\xfdN\xa8\xc8\xf7\xd5\xaet\xb3\x9a\xa5\x8c\x14Y\\\x86^C\x84\x82/Jp7\x89\xd2\xd4\xd4I\x1e2\xd9Z\x88\xc2\x9c?38\x99\xb3e\xcb\r`\x053\x1b\xd7Gag\\\xe4\xa7\xe4l;\x8c\xa6%\xcc^_\xaa\x01\xf2\x9a\xc1\xe4\x94\x19%\x96;L\x8c\x98\x7f\xb3A\xe4d!\xf1Q\x0ec\x1b\xeb*UT\xed\xc6\x1e\x00\x99k\x89\x1c\t\xd9\xad\xb86\xbd\xb3g\x8a\x12\xf8\xd1\xaa@,\x139\xa2\x8d\xfd\xbc\xb5\x19\x9b\xbbae\xb6\xef\x98\xea\x8a\r~\xa5TS\xef\xa8\x13\xe0\xed\x06\xfb\xec]vi\x1d?@\'\xed\x9b:\xc8g\xa5Z7V2g\x84\xba>\x1f\x01\x89\xbdi\x92\x13$\x9fBg\xe7]\xeb\xa2f\xa5l\x9f\x10K\x04\xc0\x01\x05\x11\xd3\xe4C\xc7I*a\xac\xa7\xd9\xfb\x8b]m\xbb\x97\xc3\x06TRY\x85\x0c\xed\xded\x84\xad2jz\xdd\t\xe1\n\xdaY\xd0h\xe7N\xb7\xacH\x07Y\xd1\x02\xf4\xa8R\xc9\xac`5jjB\xae\x8a\xba\xf4\x95$z\xb4\xb6\x16\xc80&\xf0;\xb3\xcf\x14yE\xbf\x8b5\x982J|\xae\x1d\xf1__\xbd\x83G"\xfd5\xb1O\xb7\xf2\xc7C\x8a\x989\xb9\x8e\xe2"\x05\x95ys\xd00\xa4\xdc\xd5\x81\xdf\xad\xe5R@.\x98\xddT\xa6\xa3\x8a\x8d\x17 {\x9d\xf1\xfc\x9a\x8c_\x05~F\xb6\xbf\xc1d\x08\x1d\xc8A\xae\x1c\x87\xda\xe5~d\x8b#H\xb2\x98\x85\x7f\xee\xdc\xcc\x1e\xb7\x98P\x94\xdb0{\x9d8\x95\x9d\\}\xe3\x80\xb1Q\xed\x0e.+\ng\xf9\xbf\x95\x8d6\x0cAh\x82K\xa05m\xb7F*[\xe5\x16\x808\xae/\x01\x92\x9aI\xd3S\xff\xb6t\x9e\xc4h/\x94\xfc\xf94\x04S=>\x8b\xeao\x9d~\x04\x9d\x0e\xf1\xfe\xa25\n\x1a\x13\x96Z\x1a\xaf\xdb>{\xc61\xb5\xc9\x8a\xb3\t_\xd8j\xad\xa1\xa9<\xfd\x96\xda\x01Mv\x85\xfc\xbf|\x95b\xf7\xd9h\x12cg\xf4\xaf\xd5\x80eX\x02k\xb1-\xec\x88\x06\x1dUH\x0e\xe4\x97F*\x17\xfe\xc1P\xef)\x9f\x84h\x84\x87\xfdd)\xe3\xf0\x9f\x8a{')
fake.md5(raw_output=False)
# '016373706d4ccfe3e36008db060f06dc'
fake.sha1(raw_output=False)
# '5cf89b008d1106e87d28abeffb5f8ddb0b909716'
fake.null_boolean()
# True
fake.sha256(raw_output=False)
# '0fc6043083468723ebf903ded51fe2269af090d596576b6edddc2a0f796997b1'
fake.uuid4()
# '7b19ec64-ae83-a2ff-1a5b-c48a10c68b0c'
fake.language_code()
# u'ak'
fake.boolean(chance_of_getting_true=50)
# False
faker.providers.person
¶
fake.last_name_male()
# u'J\xe4kel'
fake.name_female()
# u'Dipl.-Ing. Jan-Peter Holsten'
fake.prefix_male()
# u'Herr'
fake.prefix()
# u'Herr'
fake.name()
# u'Jana Binner-Ziegert'
fake.suffix_female()
# u'B.Sc.'
fake.name_male()
# u'Franz Josef Juncken'
fake.first_name()
# u'Alfredo'
fake.suffix_male()
# u'B.Sc.'
fake.suffix()
# u'B.A.'
fake.first_name_male()
# u'J\xf6rn'
fake.first_name_female()
# u'Gretchen'
fake.last_name_female()
# u'Schacht'
fake.last_name()
# u'R\xf6mer'
fake.prefix_female()
# u'Dr.'
faker.providers.phone_number
¶
fake.phone_number()
# u'+49(0) 065651637'
fake.msisdn()
# '5695479738151'
faker.providers.profile
¶
fake.simple_profile(sex=None)
# { 'address': u'Roland-Beier-Weg 76\n73487 Fallingbostel',
# 'birthdate': datetime.date(1935, 8, 12),
# 'mail': u'arnd43@googlemail.com',
# 'name': u'Prof. Stanislaus Jopich B.Sc.',
# 'sex': 'F',
# 'username': u'mechtild66'}
fake.profile(fields=None, sex=None)
# { 'address': u'Kochstra\xdfe 6\n58705 Zschopau',
# 'birthdate': datetime.date(1921, 12, 11),
# 'blood_group': 'A+',
# 'company': u'K\xe4ster Gotthard GmbH & Co. KGaA',
# 'current_location': (Decimal('-14.947715'), Decimal('-17.740202')),
# 'job': 'Lexicographer',
# 'mail': u'marion06@hotmail.de',
# 'name': u'Edmund Gotthard',
# 'residence': u'Reginald-Trupp-Gasse 741\n05336 Dinslaken',
# 'sex': 'M',
# 'ssn': u'254-81-0886',
# 'username': u'ziegertpaul',
# 'website': [ u'http://www.reichmann.de/',
# u'https://juettner.org/',
# u'http://www.caspar.de/',
# u'https://www.schulz.de/']}
faker.providers.python
¶
fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types)
# ( u'ONPBcVoSvPpcBxtZoqdD',
# u'LPhRfFAAuSBPsTnrepxf',
# 304242843192865.0,
# datetime.datetime(1988, 8, 10, 0, 58, 34),
# 711,
# Decimal('-9.86872901278E+12'),
# u'AgcChSRhMXxSPfHMZCWz')
fake.pystr(min_chars=None, max_chars=20)
# u'cKPSRfMUPZVfHDVkPhsY'
fake.pystruct(count=10, *value_types)
# ( [ datetime.datetime(1998, 8, 27, 18, 45, 40),
# u'ESoEjwHjrIgZYHFGewrN',
# 3313,
# u'MWnmyrnrOzRZCGSolRWI',
# u'aYbpgHfNwcizbdHOtLQq',
# u'sZdNupNdajUAdrJTxNCw',
# u'dBVtPrEzoGPXlPLEArOu',
# Decimal('67386.779'),
# u'https://segebahn.net/',
# u'rxRhUXRFGQPvIRBVTjeJ'],
# { u'beatae': datetime.datetime(1977, 7, 29, 3, 36, 44),
# u'consectetur': 4695,
# u'ex': u'oaBktZGhfpdriSjjFXjj',
# u'exercitationem': u'hansschomber@roemer.net',
# u'minus': 9081,
# u'molestiae': u'ctMjDKHmIPdLFwxaEWLJ',
# u'occaecati': u'https://hermann.com/category/',
# u'quia': Decimal('37.7662240359'),
# u'ullam': 2410,
# u'voluptatum': u'https://kruschwitz.de/index/'},
# { u'aperiam': { 1: datetime.datetime(1971, 8, 5, 20, 50, 18),
# 2: [ 7370,
# Decimal('-8.55867539976E+13'),
# u'http://winkler.org/main/'],
# 3: { 1: u'https://www.eigenwillig.com/tags/list/index/',
# 2: u'ustoll@eckbauer.com',
# 3: [ Decimal('882943006984'),
# Decimal('-80184.1024')]}},
# u'dolore': { 6: 8846,
# 7: [ 7526,
# u'rsNEKUpVnAqPZXLQtqLk',
# u'http://www.gnatz.de/'],
# 8: { 6: u'http://aumann.net/register.html',
# 7: 1236,
# 8: [9252, -646080407028435.0]}},
# u'dolores': { 2: 72546682567.0,
# 3: [ u'weihmannpetros@yahoo.de',
# Decimal('549919862581'),
# Decimal('-2.9096750961E+13')],
# 4: { 2: u'mgroettner@web.de',
# 3: u'ullrichbrigitte@fischer.com',
# 4: [-7391588.84408, u'jIaKreOGNipkOgsuGNvL']}},
# u'error': { 0: datetime.datetime(1999, 12, 17, 21, 26, 56),
# 1: [ u'SLfanyNFDRCDOtFksBRm',
# u'HWIEzihqcSHvOWtXsFta',
# u'TLLwBNdMRNCKLHkvHKtt'],
# 2: { 0: u'dDtgOAvrXvhDuUzpLrzw',
# 1: u'https://www.bolnbach.com/',
# 2: [ datetime.datetime(1988, 11, 11, 17, 59, 15),
# datetime.datetime(1970, 3, 23, 11, 28, 14)]}},
# u'ex': { 5: -69311076125578.0,
# 6: [u'PHxwWqpWtlIlkvyUisfG', 6227, 5260],
# 7: { 5: u'XCMyKbxSCeWsPOCdpiks',
# 6: 6140,
# 7: [ u'PQtTFUVwWCZdHQWBEPtZ',
# datetime.datetime(2000, 10, 23, 2, 48, 53)]}},
# u'ipsum': { 9: Decimal('-799.211'),
# 10: [ datetime.datetime(2014, 4, 7, 23, 10, 52),
# Decimal('-42838.4'),
# u'GPMJDBrjNRcVUMgUcSRL'],
# 11: { 9: -899912364230087.0,
# 10: u'http://baehr.de/category/',
# 11: [ datetime.datetime(1983, 9, 16, 10, 49, 19),
# u'https://bachmann.net/search/']}},
# u'maiores': { 8: u'TzDmZdwFAMurcUUgslrS',
# 9: [ u'tNYBNTCLgaCbSzQimYve',
# 4056090301.737,
# u'cOuhyATCUzpVvHNsjImp'],
# 10: { 8: datetime.datetime(2011, 8, 18, 9, 34, 25),
# 9: u'http://www.lindau.com/home.htm',
# 10: [ datetime.datetime(1978, 4, 4, 7, 2, 43),
# u'XNJotOYlqBrXrweQWsEr']}},
# u'nisi': { 7: 665,
# 8: [ u'zWkrbDDgwXRwZGvfiLgY',
# datetime.datetime(1973, 8, 10, 8, 2, 48),
# u'http://gertz.com/home/'],
# 9: { 7: datetime.datetime(2003, 10, 11, 8, 28, 22),
# 8: Decimal('421364632686'),
# 9: [2261, u'OKVURjKfQnOalLihmDoj']}},
# u'omnis': { 3: -160694708080333.0,
# 4: [ datetime.datetime(2006, 9, 26, 3, 44, 8),
# u'UuTkwztysBMsvxSUeFYN',
# u'NDlSTqCQcPUOMQsXIdzW'],
# 5: { 3: 1063,
# 4: u'ADcsfNjHowVyNJZRufmQ',
# 5: [ u'http://klingelhoefer.org/search/',
# u'gTklushPaxioTghMDWwQ']}},
# u'voluptas': { 4: Decimal('-60683553140.8'),
# 5: [ 8427,
# datetime.datetime(2005, 7, 19, 3, 7, 31),
# u'hFGTfDYTUrczhnzLBKYw'],
# 6: { 4: 4865242.5676,
# 5: 2277,
# 6: [4705, u'lgwsCNaRYPcCFPDOuMQA']}}})
fake.pyfloat(left_digits=None, right_digits=None, positive=False)
# -821382236739984.0
fake.pydecimal(left_digits=None, right_digits=None, positive=False)
# Decimal('44952.0')
fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types)
# [ Decimal('-9.78670415733E+13'),
# 9781,
# 5392,
# u'xVkxTIlfAbpUcUsQXAEA',
# u'DbRqEivWxkLPlHLgzykB',
# u'DvnQHTTBUdNSaSJtRqMc']
fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types)
# ( u'FGEXltGIuWFNGaaqpXob',
# u'uzNpoZZjjJMZWznUdstU',
# u'http://weimer.net/post.html',
# u'StRSCLKfHYUpvHQBWUDB',
# 6252,
# datetime.datetime(1992, 8, 17, 12, 54, 38),
# u'ZBWgdKJRVZALmyGPaRgb',
# Decimal('-3.2086794563E+14'),
# 209451526703.463,
# u'orYErRVzxZzApRzSDeoq',
# u'http://www.tintzmann.org/register/',
# Decimal('-128696235941'),
# -738257.2351)
fake.pybool()
# False
fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types)
# set([u'ixlYqyqdyMWxfMXuFTqE', u'bklapp@lorch.com', 1622, u'ZyxpDfyKUIadGkbcUqPM', Decimal('-1.57200188226E+12'), u'fiebigheinz-gerd@dehmel.de', datetime.datetime(2011, 5, 6, 8, 7, 25), -62511543638.7293, datetime.datetime(2018, 7, 18, 22, 52, 40), Decimal('5435263031.6'), -59373017743296.7])
fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types)
# { u'aliquam': datetime.datetime(1985, 2, 28, 8, 27, 10),
# u'doloribus': u'BpOvqTNsVwljOGREdSDg',
# u'error': 6207,
# u'fugiat': u'OGnOpyyltVsiWujmbAmz',
# u'illum': u'zwLBeniSvfxgsTPrWNOw',
# u'perferendis': u'etGANAlSzHLCTevdbOOY',
# u'quibusdam': u'janaheinrich@gmail.com',
# u'repellat': Decimal('4.88407832556E+14'),
# u'reprehenderit': datetime.datetime(1989, 9, 7, 11, 30, 49),
# u'sunt': datetime.datetime(1994, 7, 31, 18, 28, 58)}
fake.pyint()
# 8628
faker.providers.ssn
¶
fake.ssn(taxpayer_identification_number_type="SSN")
# u'235-16-3844'
fake.ein()
# u'90-0375741'
fake.itin()
# u'903-76-2128'
faker.providers.user_agent
¶
fake.mac_processor()
# u'Intel'
fake.firefox()
# u'Mozilla/5.0 (X11; Linux x86_64; rv:1.9.5.20) Gecko/2015-10-23 03:03:24 Firefox/3.8'
fake.linux_platform_token()
# u'X11; Linux x86_64'
fake.opera()
# u'Opera/8.84.(X11; Linux x86_64; ckb-IQ) Presto/2.9.162 Version/12.00'
fake.windows_platform_token()
# u'Windows NT 6.1'
fake.internet_explorer()
# u'Mozilla/5.0 (compatible; MSIE 6.0; Windows NT 5.01; Trident/4.0)'
fake.user_agent()
# u'Mozilla/5.0 (Windows; U; Windows 95) AppleWebKit/533.39.4 (KHTML, like Gecko) Version/4.0 Safari/533.39.4'
fake.linux_processor()
# u'i686'
fake.chrome(version_from=13, version_to=63, build_from=800, build_to=899)
# u'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/5320 (KHTML, like Gecko) Chrome/26.0.875.0 Safari/5320'
fake.mac_platform_token()
# u'Macintosh; U; Intel Mac OS X 10_7_8'
fake.safari()
# u'Mozilla/5.0 (iPod; U; CPU iPhone OS 3_2 like Mac OS X; mhr-RU) AppleWebKit/534.50.2 (KHTML, like Gecko) Version/4.0.5 Mobile/8B112 Safari/6534.50.2'