Language la¶
faker.providers.address
¶
fake.longitude()
# Decimal('-168.598858')
fake.building_number()
# u'75570'
fake.street_address()
# u'9106 Victoria Inlet Suite 466'
fake.postalcode_plus4()
# u'60630-5916'
fake.city_prefix()
# u'North'
fake.military_ship()
# u'USCGC'
fake.country_code()
# u'MT'
fake.city()
# u'Fergusonmouth'
fake.zipcode_plus4()
# u'05957-3576'
fake.state_abbr()
# u'OK'
fake.latitude()
# Decimal('-55.4341265')
fake.street_suffix()
# u'Streets'
fake.city_suffix()
# u'mouth'
fake.military_dpo()
# u'Unit 0391 Box 2543'
fake.country()
# u'Cyprus'
fake.secondary_address()
# u'Suite 481'
fake.geo_coordinate(center=None, radius=0.001)
# Decimal('-87.531911')
fake.postalcode()
# u'50353'
fake.address()
# u'22696 Campbell Branch\nPort Rita, NH 21082-0227'
fake.state()
# u'Connecticut'
fake.military_state()
# u'AE'
fake.street_name()
# u'Holloway Shores'
fake.zipcode()
# u'90682'
fake.postcode()
# u'22730-6831'
fake.military_apo()
# u'PSC 9447, Box 9979'
faker.providers.automotive
¶
fake.license_plate()
# u'3FD 886'
faker.providers.barcode
¶
fake.ean(length=13)
# u'0961451152680'
fake.ean13()
# u'2098277293674'
fake.ean8()
# u'02866253'
faker.providers.color
¶
fake.rgb_css_color()
# u'rgb(203,9,221)'
fake.color_name()
# u'Aqua'
fake.rgb_color()
# u'51,249,172'
fake.safe_hex_color()
# u'#445500'
fake.safe_color_name()
# u'olive'
fake.hex_color()
# u'#213fed'
faker.providers.company
¶
fake.company()
# u'Murray-Hernandez'
fake.company_suffix()
# u'PLC'
fake.catch_phrase()
# u'Self-enabling logistical attitude'
fake.bs()
# u'transition sticky applications'
faker.providers.credit_card
¶
fake.credit_card_security_code(card_type=None)
# u'988'
fake.credit_card_provider(card_type=None)
# u'VISA 16 digit'
fake.credit_card_full(card_type=None)
# u'Discover\nKatherine Owens\n6011795738946481 09/21\nCVC: 932\n'
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y")
# '09/23'
fake.credit_card_number(card_type=None)
# u'4813677170569564'
faker.providers.currency
¶
fake.cryptocurrency_code()
# 'LTC'
fake.currency_code()
# 'HKD'
faker.providers.date_time
¶
fake.date_time_this_century(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2004, 7, 20, 7, 19, 3)
fake.date_time_between(start_date="-30y", end_date="now", tzinfo=None)
# datetime.datetime(2006, 11, 11, 16, 23, 58)
fake.time(pattern="%H:%M:%S")
# '00:33:55'
fake.date_time_ad(tzinfo=None)
# datetime.datetime(1326, 11, 11, 12, 46, 2)
fake.past_date(start_date="-30d", tzinfo=None)
# datetime.date(2017, 8, 12)
fake.day_of_week()
# 'Saturday'
fake.date_time_this_decade(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2016, 9, 1, 15, 20, 12)
fake.time_object()
# datetime.time(1, 27, 57)
fake.iso8601(tzinfo=None)
# '2008-09-29T06:11:52'
fake.time_delta()
# datetime.timedelta(11309, 61961)
fake.am_pm()
# 'AM'
fake.date_time_between_dates(datetime_start=None, datetime_end=None, tzinfo=None)
# datetime.datetime(2017, 9, 6, 20, 17, 17)
fake.date_object()
# date(1993, 12, 15)
fake.future_datetime(end_date="+30d", tzinfo=None)
# datetime.datetime(2017, 9, 16, 19, 17, 5)
fake.date_time(tzinfo=None)
# datetime(1998, 8, 8, 7, 31, 40)
fake.date(pattern="%Y-%m-%d")
# '1980-01-26'
fake.future_date(end_date="+30d", tzinfo=None)
# datetime.date(2017, 9, 23)
fake.month()
# '09'
fake.unix_time()
# 891704812
fake.date_time_this_month(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2017, 9, 1, 8, 48, 31)
fake.day_of_month()
# '06'
fake.year()
# '2012'
fake.timezone()
# u'Africa/Monrovia'
fake.century()
# u'XX'
fake.time_series(start_date="-30d", end_date="now", precision=None, distrib=None, tzinfo=None)
# <generator object time_series at 0xb5058468>
fake.date_time_this_year(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2017, 7, 22, 21, 27, 18)
fake.past_datetime(start_date="-30d", tzinfo=None)
# datetime.datetime(2017, 8, 31, 6, 26, 37)
fake.month_name()
# 'November'
faker.providers.file
¶
fake.file_path(depth=1, category=None, extension=None)
# u'/alias/illo.html'
fake.mime_type(category=None)
# u'model/example'
fake.file_name(category=None, extension=None)
# u'saepe.numbers'
fake.file_extension(category=None)
# u'avi'
faker.providers.internet
¶
fake.url()
# u'https://www.owens.org/'
fake.company_email()
# u'melendezedward@durham-baxter.com'
fake.uri()
# u'https://www.turner.com/categories/app/homepage/'
fake.domain_word(*args, **kwargs)
# u'conley'
fake.ipv4(network=False)
# '184.154.79.55'
fake.domain_name(levels=1)
# u'valencia-espinoza.com'
fake.tld()
# u'info'
fake.uri_path(deep=None)
# u'blog/wp-content'
fake.free_email()
# u'upage@hotmail.com'
fake.slug(*args, **kwargs)
# u'itaque-ad-aliquid'
fake.free_email_domain()
# u'yahoo.com'
fake.uri_extension()
# u'.html'
fake.ipv6(network=False)
# 'ecf8:90d:4033:a47e:e5c6:c9ac:ea6:fec9'
fake.user_name(*args, **kwargs)
# u'aholder'
fake.image_url(width=None, height=None)
# u'https://placeholdit.imgix.net/~text?txtsize=55&txt=541x531&w=541&h=531'
fake.email()
# u'thompsonmark@shaw-white.com'
fake.uri_page()
# u'home'
fake.mac_address()
# u'b6:f9:40:6e:bf:f1'
fake.safe_email()
# u'fgoodman@example.com'
faker.providers.isbn
¶
fake.isbn10(separator="-")
# u'1-4303-9919-8'
fake.isbn13(separator="-")
# u'978-1-64800-627-2'
faker.providers.job
¶
fake.job()
# 'Ecologist'
faker.providers.lorem
¶
fake.text(max_nb_chars=200, ext_word_list=None)
# u'Delectus fugit a unde quis quisquam iure. Ipsa deleniti distinctio ipsa tenetur molestiae odio nostrum. Nemo minima reprehenderit praesentium consectetur atque dolor.'
fake.paragraphs(nb=3, ext_word_list=None)
# [ u'Explicabo placeat facere blanditiis ducimus similique at quod aliquam. Deserunt nobis voluptatibus laborum saepe sed sint quisquam. Vero occaecati animi distinctio provident aliquid mollitia fugiat. Maiores ratione facilis odit.',
# u'Assumenda delectus placeat praesentium saepe. Minima quo animi sunt reprehenderit eius omnis aliquid. Recusandae quibusdam aperiam quae sunt distinctio deserunt quaerat.',
# u'Odio nobis repellendus dolore odio similique laboriosam veniam. Nobis consectetur exercitationem modi repellendus quam maxime voluptatem quod. Esse eius recusandae non officia error. Tempora quasi velit minima in asperiores culpa saepe.']
fake.words(nb=3, ext_word_list=None)
# [u'nostrum', u'minima', u'ducimus']
fake.sentences(nb=3, ext_word_list=None)
# [ u'Similique eius nulla debitis harum iure accusantium.',
# u'Quisquam quidem eveniet aperiam fugit labore illum.',
# u'Commodi maxime nulla eos voluptatem harum distinctio dignissimos.']
fake.word(ext_word_list=None)
# u'perspiciatis'
fake.paragraph(nb_sentences=3, variable_nb_sentences=True, ext_word_list=None)
# u'Neque deleniti magnam qui nobis nihil qui debitis nisi. Atque beatae id sint deleniti laudantium omnis commodi. Qui aliquid hic pariatur magni nemo repellat mollitia perspiciatis. Autem aliquam ex fugiat quidem ad tenetur ipsa.'
fake.sentence(nb_words=6, variable_nb_words=True, ext_word_list=None)
# u'Ex molestiae ratione explicabo quia autem minus.'
faker.providers.misc
¶
fake.password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True)
# u'GoLamEwI%7'
fake.locale()
# u'nb_NO'
fake.binary(length=1048576)
# bytearray(b"\xdb\xf4\xe3\xaf\x7f\x14\x01\x8cA~\xbf\xc8\x01u\xe0k\xd3/\x90\xffG6\x8d\x14\xfe\xb7\x85\xb1\x9fa\xda\xca-\xd4nY\xaa\x8c\'E\x98#Q\xcb\x9bg<^o]\xc4H0\x0f\xf5\x15U\xd8M\x80\xe4hPupM\xeb\xed\x8e\xb8p\x12G2+\xd5\x1e\xb4ti\x9140\xe5t\xef4\x05\xa7%\xa4\xe2\x93\x81\xcf\xe0\x19\x8d\xb9\xe4\xee\x99\x97r\x0bk\xb5\xf6\x91A\xa9\x7f\xd0\xb5\n5\x83@\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d&b\xfcqN\xe9\x14\xe23\xc4f\x9d\x16@\xef\x1d\xa1i\x1d\xc9\xa6z\x8d\xbe`\xad\xc7w\x1a\xa8\x98\xd4\xc7\x12\xb3O\xf9b\xc7\xdc\xe6\xcc=\xbc\x07S\xdc\x86\xe3\xa9\xe1tq\xac\xd1\x90:GB\xfe\xc0\xc4\x89\xb7\xda\x036r\x01\xef\x88\x85Q\xe0/\xc7\xd7\xd8\xad\x8a\x9c\x12Y\x01\xa0sK\x94v\xda\xfbL\x99\xc08\xd0-\xdbXb\xfb\xeeE\xe3\xdb7\x95\xda\xd3\xd8\xc4V\x88M\xcc\xc3O\xbb\xf4\xe5\xf1\xbb`\x80\xf0\x1c\xbf8B\xfb\xfa\x14\xc3w&\xda\xf0\xbc\x88\x86)\xf9C")
fake.md5(raw_output=False)
# '8e0748361f5d76cd4bfa5ee3235f08bf'
fake.sha1(raw_output=False)
# '7dd6cd1a0d02ab6a01be798c46ee19e8bae3ae0a'
fake.null_boolean()
# True
fake.sha256(raw_output=False)
# '2ae1e179ba2ee1b39bc1a7fc3a33e91f4254413a334b154e480bd4606cedc71d'
fake.uuid4()
# 'e5b710ef-b3ad-2ad0-e04d-991aeb82c267'
fake.language_code()
# u'pt'
fake.boolean(chance_of_getting_true=50)
# True
faker.providers.person
¶
fake.last_name_male()
# u'Davis'
fake.name_female()
# u'Abigail Barrett'
fake.prefix_male()
# u'Mr.'
fake.prefix()
# u'Ms.'
fake.name()
# u'David Palmer'
fake.suffix_female()
# u'MD'
fake.name_male()
# u'Timothy Lee'
fake.first_name()
# u'Douglas'
fake.suffix_male()
# u'Jr.'
fake.suffix()
# u'DDS'
fake.first_name_male()
# u'Douglas'
fake.first_name_female()
# u'Connie'
fake.last_name_female()
# u'Martin'
fake.last_name()
# u'Martin'
fake.prefix_female()
# u'Dr.'
faker.providers.phone_number
¶
fake.phone_number()
# u'077.425.6080x482'
faker.providers.profile
¶
fake.simple_profile(sex=None)
# { 'address': u'3896 Kenneth Station Suite 790\nSeanshire, VA 13441',
# 'birthdate': '1982-10-29',
# 'mail': u'icooper@hotmail.com',
# 'name': u'Charlotte Owens',
# 'sex': 'F',
# 'username': u'zamorachristopher'}
fake.profile(fields=None, sex=None)
# { 'address': u'618 Elizabeth Keys Suite 012\nMaciasborough, AZ 99560-8107',
# 'birthdate': '1994-06-26',
# 'blood_group': 'B-',
# 'company': u'Pitts, Carter and Shea',
# 'current_location': (Decimal('0.661136'), Decimal('-88.706513')),
# 'job': 'Automotive engineer',
# 'mail': u'kellysmith@gmail.com',
# 'name': u'Bryan Moreno',
# 'residence': u'1928 Dyer Mission Suite 083\nRichardtown, MA 73947-8484',
# 'sex': 'M',
# 'ssn': u'001-33-7015',
# 'username': u'jonesedgar',
# 'website': [ u'http://www.stewart-greene.com/',
# u'http://www.guerrero-wilkinson.com/',
# u'https://www.ruiz.biz/']}
faker.providers.python
¶
fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types)
# [ u'JQcVBJFDjjoeiovraMiU',
# Decimal('-453403.9808'),
# u'rpJrtlVoLbYherpRpuhj',
# u'bsims@hotmail.com',
# u'ciuJPaWIJBPrfeTWqDQX',
# Decimal('-6.7998343035E+13'),
# u'EbDSNXitaTJoXysXqTGQ',
# u'yXgZhXYznXWihiGKQnyF']
fake.pystr(min_chars=None, max_chars=20)
# u'xDhmVrIdEkejabDOMlHF'
fake.pystruct(count=10, *value_types)
# ( [ -6519435263.4,
# u'fOHPYWjhGeLbdrybKuUL',
# u'eZpGvhXShpRIyBsANsLp',
# u'katie04@yahoo.com',
# u'UUdoNkHEPEnuQyTgMxXU',
# u'haauCvojBRSaSaTtSTnC',
# u'SJXTLxGUAjaVQeXAPYRL',
# u'SEsSqLtOvCFYgCATqTqO',
# 2276,
# u'KOJugExZKfBuqPMTAJGY'],
# { u'autem': datetime(1973, 2, 26, 11, 42, 44),
# u'inventore': datetime(1994, 9, 12, 14, 11, 28),
# u'nisi': u'VieZFPlqhgdanjVwwOQC',
# u'occaecati': 8286,
# u'porro': 2.6645,
# u'quas': u'JTTAKmDHTbMiRovnNHGo',
# u'quasi': 2267,
# u'quidem': u'fordrhonda@gmail.com',
# u'quos': 677.693,
# u'voluptatibus': 7553},
# { u'aspernatur': { 2: -9203154532068.24,
# 3: [ u'rPjIlqFwBZZnAOEQrqlW',
# u'THuYdNiJzDyiylqeZtJf',
# datetime(1981, 7, 16, 5, 46, 4)],
# 4: { 2: u'XMtTdzveunyDhBlmLgOa',
# 3: u'johnsonanthony@yahoo.com',
# 4: [5063, 44539.662318]}},
# u'assumenda': { 6: Decimal('768.758975634'),
# 7: [ u'https://www.jackson-valdez.com/terms/',
# u'jimmy62@silva.com',
# datetime(1970, 3, 21, 9, 17, 58)],
# 8: { 6: u'hhoffman@jimenez-perry.com',
# 7: u'MuxnMKOMorHrQCYDIgrY',
# 8: [ u'PBytfGNYJQjedBabXYMi',
# -89.532119857409]}},
# u'cupiditate': { 0: 29.3751119,
# 1: [ u'https://flores.biz/explore/list/tag/privacy.htm',
# datetime(2017, 7, 1, 3, 24, 34),
# u'xVndtPweukYkTmlHbxuh'],
# 2: { 0: 5534,
# 1: Decimal('60.6659630968'),
# 2: [ u'gqqhWunAAbQYaZulAgfY',
# u'MmnsRhAoLQatPvjOKUpp']}},
# u'facere': { 3: Decimal('10818196479.2'),
# 4: [ 8926,
# datetime(1974, 1, 20, 6, 58, 18),
# u'dzUGofqkIbFumNPCZlbz'],
# 5: { 3: 202,
# 4: u'KxcrhXvSrDNPzcrmPCbl',
# 5: [-5120.1, 8474]}},
# u'maxime': { 8: u'xUpVEKjYWHhZbKWhCYif',
# 9: [ Decimal('-7.40610789321E+12'),
# u'FnzkyEWjtRcKTvWiMGIu',
# u'QIyFjKrozwEqyIFxHUWa'],
# 10: { 8: u'oKlNAoBPnVeNkDnCPZLD',
# 9: u'https://www.harrington.com/list/index/',
# 10: [ datetime(2011, 4, 12, 4, 44, 29),
# u'VknXYvuaGgpAQfnBWVYj']}},
# u'minus': { 1: u'yBAERINpltJGpGVAkClG',
# 2: [ u'cwilson@knight.com',
# 97,
# u'JKJkJKEQznvPIXspecez'],
# 3: { 1: 575,
# 2: u'LtKxxlBjwyvZFsEeCDbi',
# 3: [ Decimal('177364346.51'),
# u'DzVrgMLPkGxtAWmsEgDK']}},
# u'necessitatibus': { 9: datetime(2004, 7, 15, 13, 43, 8),
# 10: [ -322039272375044.0,
# 5589,
# datetime(1973, 11, 25, 23, 45, 25)],
# 11: { 9: 14,
# 10: datetime(1994, 9, 17, 19, 34, 43),
# 11: [ u'http://www.perkins-booker.info/search/posts/post.asp',
# u'rbdLieopNLFbQnhdpVaJ']}},
# u'nihil': { 4: 87371.4934,
# 5: [ u'lWBXezqeCQgKgAvEFaDX',
# u'WATqeFFuNnefsKRiytOu',
# datetime(1975, 4, 4, 10, 12, 36)],
# 6: { 4: 9441133021.914,
# 5: u'grnakXhZSIrvtcsuSkAv',
# 6: [ Decimal('945.325'),
# u'JEDamUeLBlsRlKaCCZrz']}},
# u'quisquam': { 5: u'https://www.wood.net/blog/tag/list/register/',
# 6: [ -2990.3885029953,
# 8041,
# u'mXXJWLQWMQghjShWgbeH'],
# 7: { 5: u'megan38@smith.com',
# 6: u'emEVEvqfYqyicUunCnnB',
# 7: [-55.1, 1351]}},
# u'voluptas': { 7: u'unFezfucRlYYMiiIquGr',
# 8: [ 2237,
# u'xasyYoNhXOSqfFrqqtMc',
# u'svCsAozkWFAAMVwPoBvJ'],
# 9: { 7: 9364,
# 8: 5642,
# 9: [ u'vsqcxwvRAHlJCdiRZoPl',
# datetime(1995, 6, 3, 2, 55, 18)]}}})
fake.pyfloat(left_digits=None, right_digits=None, positive=False)
# 786.18476394
fake.pydecimal(left_digits=None, right_digits=None, positive=False)
# Decimal('-909.2981204')
fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types)
# [ -92654411255.502,
# u'PKMoYRgCyNfMvfIpzZRJ',
# 8972,
# u'https://chapman.info/wp-content/homepage/',
# u'XIcxCzGuytnSYBrkejWP',
# datetime(2016, 1, 25, 8, 5, 44),
# datetime(1978, 11, 27, 21, 25, 52),
# 116,
# u'MthgNJrGphkmGvQkORNP',
# u'https://hopkins.com/post.asp',
# u'djuTeaQmurxABKnwYtUQ']
fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types)
# ( Decimal('-543058.38'),
# u'SngmBQcjhgzRSshKcykP',
# u'NIcpzjMYtoldwAATDlZk',
# u'https://stanton.com/wp-content/category/author/',
# 6951,
# u'http://www.hawkins-taylor.com/',
# datetime(1982, 1, 30, 19, 44, 55),
# -7.92240304693,
# u'iqpuNiGdjuwPMqYgxbqs',
# u'http://www.decker.org/',
# u'JqIdwMoeMbaIUBXZUBrU',
# u'zKCSmRjmuHCKgjwHBdKn',
# 2586,
# datetime(1987, 7, 23, 11, 8, 1))
fake.pybool()
# False
fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types)
# set([u'eCjKMQTbPvtaUesrUoSY', u'http://kerr-ramirez.net/post/', 2215, -9688.5871, u'http://www.jacobs.com/', 8170, datetime(1971, 2, 22, 5, 45, 47), 462, u'https://lane.com/', u'bExPlYVBcRJyzJldJPRo'])
fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types)
# { u'dolores': -50108.47110406,
# u'eligendi': u'leslie91@norris.com',
# u'et': u'https://shaffer.biz/search/login.asp',
# u'laborum': u'CUTjMduBUjqNRrthwykW',
# u'occaecati': u'eAdQYRMtMegnSkOXENQE',
# u'repellat': u'psmith@yahoo.com',
# u'repudiandae': u'http://www.mann.info/terms.html',
# u'tempore': u'OlStcsFZWuEJDBxWgxCB',
# u'voluptatem': 9703}
fake.pyint()
# 6519
faker.providers.ssn
¶
fake.ssn()
# u'873-36-0875'
faker.providers.user_agent
¶
fake.mac_processor()
# u'PPC'
fake.firefox()
# u'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_4; rv:1.9.6.20) Gecko/2015-02-05 11:46:51 Firefox/3.8'
fake.linux_platform_token()
# u'X11; Linux x86_64'
fake.opera()
# u'Opera/9.56.(X11; Linux i686; ht-HT) Presto/2.9.185 Version/12.00'
fake.windows_platform_token()
# u'Windows NT 6.1'
fake.internet_explorer()
# u'Mozilla/5.0 (compatible; MSIE 5.0; Windows CE; Trident/5.0)'
fake.user_agent()
# u'Mozilla/5.0 (Windows; U; Windows CE) AppleWebKit/535.6.4 (KHTML, like Gecko) Version/5.0.2 Safari/535.6.4'
fake.chrome()
# u'Mozilla/5.0 (Windows 95) AppleWebKit/5342 (KHTML, like Gecko) Chrome/13.0.833.0 Safari/5342'
fake.linux_processor()
# u'i686'
fake.mac_platform_token()
# u'Macintosh; Intel Mac OS X 10_8_1'
fake.safari()
# u'Mozilla/5.0 (iPod; U; CPU iPhone OS 4_2 like Mac OS X; se-NO) AppleWebKit/533.34.1 (KHTML, like Gecko) Version/4.0.5 Mobile/8B115 Safari/6533.34.1'