Language et_EE¶
faker.providers.address
¶
fake.longitude()
# Decimal('-6.193120')
fake.building_number()
# u'614'
fake.street_address()
# u'5601 Tomson Well Suite 298'
fake.postalcode_plus4()
# u'94338-4571'
fake.city_prefix()
# u'South'
fake.military_ship()
# u'USNS'
fake.country_code()
# u'TZ'
fake.city()
# u'Lake Siim'
fake.zipcode_plus4()
# u'79982-4342'
fake.state_abbr()
# u'OK'
fake.latitude()
# Decimal('-80.2001855')
fake.street_suffix()
# u'Drive'
fake.city_suffix()
# u'chester'
fake.military_dpo()
# u'Unit 7381 Box 0541'
fake.country()
# u'Suriname'
fake.secondary_address()
# u'Suite 544'
fake.geo_coordinate(center=None, radius=0.001)
# Decimal('-72.191745')
fake.postalcode()
# u'74029'
fake.address()
# u'688 K\xf5iv Valley Suite 538\nWest \xdclleport, WV 10906'
fake.state()
# u'Maine'
fake.military_state()
# u'AP'
fake.street_name()
# u'Valentina Port'
fake.zipcode()
# u'56630'
fake.postcode()
# u'53935-8811'
fake.military_apo()
# u'PSC 6396, Box 3057'
faker.providers.automotive
¶
fake.license_plate()
# u'716 FU5'
faker.providers.barcode
¶
fake.ean(length=13)
# u'1036332483753'
fake.ean13()
# u'8799683779304'
fake.ean8()
# u'17052719'
faker.providers.color
¶
fake.rgb_css_color()
# u'rgb(49,71,133)'
fake.color_name()
# u'Green'
fake.rgb_color()
# u'147,20,204'
fake.safe_hex_color()
# u'#77ff00'
fake.safe_color_name()
# u'fuchsia'
fake.hex_color()
# u'#ba5bd1'
faker.providers.company
¶
fake.company()
# u'Naumov, Saul and Raid'
fake.company_suffix()
# u'and Sons'
fake.catch_phrase()
# u'Right-sized full-range framework'
fake.bs()
# u'generate turn-key web-readiness'
faker.providers.credit_card
¶
fake.credit_card_security_code(card_type=None)
# u'452'
fake.credit_card_provider(card_type=None)
# u'Maestro'
fake.credit_card_full(card_type=None)
# u'Maestro\nNiina Hunt\n639009413951 04/21\nCVV: 389\n'
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y")
# '10/17'
fake.credit_card_number(card_type=None)
# u'4774230635399'
faker.providers.currency
¶
fake.cryptocurrency_code()
# 'POT'
fake.currency_code()
# 'GGP'
faker.providers.date_time
¶
fake.date_time_this_century(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2001, 8, 13, 15, 40)
fake.date_time_between(start_date="-30y", end_date="now", tzinfo=None)
# datetime.datetime(2007, 10, 22, 11, 16, 12)
fake.time(pattern="%H:%M:%S")
# '06:00:26'
fake.date_time_ad(tzinfo=None)
# datetime.datetime(1679, 9, 6, 17, 4, 32)
fake.past_date(start_date="-30d", tzinfo=None)
# datetime.date(2017, 8, 20)
fake.day_of_week()
# 'Saturday'
fake.date_time_this_decade(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2010, 2, 8, 7, 29, 56)
fake.time_object()
# datetime.time(19, 24, 37)
fake.iso8601(tzinfo=None)
# '2000-05-09T01:38:50'
fake.time_delta()
# datetime.timedelta(17049, 68058)
fake.am_pm()
# 'AM'
fake.date_time_between_dates(datetime_start=None, datetime_end=None, tzinfo=None)
# datetime.datetime(2017, 9, 6, 20, 17, 15)
fake.date_object()
# date(1999, 4, 5)
fake.future_datetime(end_date="+30d", tzinfo=None)
# datetime.datetime(2017, 10, 3, 1, 26, 48)
fake.date_time(tzinfo=None)
# datetime(1990, 1, 7, 6, 55, 10)
fake.date(pattern="%Y-%m-%d")
# '1983-10-10'
fake.future_date(end_date="+30d", tzinfo=None)
# datetime.date(2017, 9, 19)
fake.month()
# '07'
fake.unix_time()
# 1160253464
fake.date_time_this_month(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2017, 9, 1, 9, 9, 31)
fake.day_of_month()
# '06'
fake.year()
# '1971'
fake.timezone()
# u'America/Tegucigalpa'
fake.century()
# u'XX'
fake.time_series(start_date="-30d", end_date="now", precision=None, distrib=None, tzinfo=None)
# <generator object time_series at 0xb4f33a58>
fake.date_time_this_year(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2017, 5, 3, 17, 24, 48)
fake.past_datetime(start_date="-30d", tzinfo=None)
# datetime.datetime(2017, 8, 15, 1, 27, 31)
fake.month_name()
# 'October'
faker.providers.file
¶
fake.file_path(depth=1, category=None, extension=None)
# u'/voluptates/pariatur.mp4'
fake.mime_type(category=None)
# u'multipart/encrypted'
fake.file_name(category=None, extension=None)
# u'laudantium.bmp'
fake.file_extension(category=None)
# u'pdf'
faker.providers.internet
¶
fake.url()
# u'http://poljakov.net/'
fake.company_email()
# u't\xf5nukuningas@kangro.net'
fake.uri()
# u'https://www.kurvits-jakobson.biz/register.html'
fake.domain_word(*args, **kwargs)
# u'aavik'
fake.ipv4(network=False)
# '208.216.30.88'
fake.domain_name(levels=1)
# u'hunt.com'
fake.tld()
# u'net'
fake.uri_path(deep=None)
# u'tags/wp-content'
fake.free_email()
# u'stammik@yahoo.com'
fake.slug(*args, **kwargs)
# u'placeat-maxime'
fake.free_email_domain()
# u'hotmail.com'
fake.uri_extension()
# u'.html'
fake.ipv6(network=False)
# 'cbbc:1a19:a417:1b28:e9af:26a0:bfe3:5cc2'
fake.user_name(*args, **kwargs)
# u'vm\xe4nd'
fake.image_url(width=None, height=None)
# u'https://dummyimage.com/365x179'
fake.email()
# u'ignatjevivan@baranov-kuusik.com'
fake.uri_page()
# u'author'
fake.mac_address()
# u'35:27:d8:55:36:cf'
fake.safe_email()
# u'saveljevtamara@example.org'
faker.providers.isbn
¶
fake.isbn10(separator="-")
# u'1-953289-53-3'
fake.isbn13(separator="-")
# u'978-1-4862-2505-7'
faker.providers.job
¶
fake.job()
# 'Furniture conservator/restorer'
faker.providers.lorem
¶
fake.text(max_nb_chars=200, ext_word_list=None)
# u'Necessitatibus accusantium id magni. Laborum facilis aut nostrum hic nostrum et iure. Libero doloremque repellat incidunt minus. Neque excepturi maiores laudantium dolor cum alias molestias.'
fake.paragraphs(nb=3, ext_word_list=None)
# [ u'Quo rerum iste ut dolore id excepturi cupiditate. Quas hic porro excepturi tenetur fuga excepturi.',
# u'Error dolore nihil exercitationem ut eaque ut cupiditate. Sed commodi repellendus soluta perferendis fugit molestiae. Maiores reiciendis non voluptatem quas ratione nemo tempore. Cum vitae unde nesciunt.',
# u'Possimus natus recusandae cum qui eum. Modi excepturi voluptas reiciendis iure accusamus iste. Esse iste ullam soluta modi doloribus ullam. Hic debitis blanditiis tempora voluptate iure. Ducimus neque laudantium labore.']
fake.words(nb=3, ext_word_list=None)
# [u'aspernatur', u'deleniti', u'a']
fake.sentences(nb=3, ext_word_list=None)
# [ u'Ea velit hic illo ad officiis repudiandae.',
# u'Hic saepe officia aperiam ea pariatur inventore asperiores est.',
# u'Nobis a accusantium cupiditate odit nulla dicta modi.']
fake.word(ext_word_list=None)
# u'alias'
fake.paragraph(nb_sentences=3, variable_nb_sentences=True, ext_word_list=None)
# u'Eius error atque omnis ipsum tenetur sed iusto fugiat. Animi quia voluptate nemo consequuntur perferendis perferendis ea. Illum tenetur quas est quo blanditiis voluptate doloremque. Sed vero nam dolor tempore sequi.'
fake.sentence(nb_words=6, variable_nb_words=True, ext_word_list=None)
# u'Recusandae labore consectetur libero vitae magni cupiditate.'
faker.providers.misc
¶
fake.password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True)
# u'3^$s8FqJ2V'
fake.locale()
# u'ht_HT'
fake.binary(length=1048576)
# bytearray(b'\x12\x9d4]\x90\xe1p\x9d{9<Fq%\x95\x88\x0c\xa4\x91P\xf9\x8d4\xba\r\xc5\x04\x8b\x1ce\x02\x87\xa1\x90\xeb\x80\xc8\xe4\xf6\xabO\x8fQF\xe5\xbdd\x81\xaf\xcc"\x04\xd2\xff\x03\\\xe9\xd1\x19\xe0\xe8(B\xde\xado\x1c\xb1\x18]C{R!,V\xee\xf0\xd0\xdfK?\x91\xb7\r\xad\xdc~I\xfbh]\x89\x15\x93!%\xf4W\xde\x12\xf2o\x9cx\xb0\xdc\xcb\x8f\xbf\xee\x9a\xb3v\xea\x88\xe5\xc3)\xdbs\x9eEi\x87w2n\xdd\tT\x83&\x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\xc9_\xe9\x17\x90\x1cg\xaf\x94\x11T\x1e4bFUl\x19\xb3H\xb4i\xd4\x0cZ\xf3b_:hH:l\xac\x95\x96z\x1b"\x08\x95"\xf3@\x83\xbc\xc1w(\xf8\x13l\x8f\x9c\xc6"P\x92\xc7f\x8c>x05\xad\xf9\x0f\xb7\x066\xa3\xe9`\x1ba\x86\xba|\x18\x1e\xe5\x8d8Z\xaeN[\xb3\xc0\xae\x1f\x8f\xfb\xf3\xebP\xbe%-A\xef\xa1\x8c\xd3\x8a\xa8\xab\xf3\xb6\xb9\xc1Y\xa6f\xf8\xac\xb3')
fake.md5(raw_output=False)
# 'b80f9080d48237a04b753a739841cd4b'
fake.sha1(raw_output=False)
# 'f317cd36ef967f3818327dc1c94c133408d86b41'
fake.null_boolean()
# True
fake.sha256(raw_output=False)
# '3233dde1a492b3a46e9eb275c5a1b37e601ba01c5554ecc11f1d3569e3387f30'
fake.uuid4()
# '1966362d-881a-a104-5c18-5409caf02482'
fake.language_code()
# u'am'
fake.boolean(chance_of_getting_true=50)
# False
faker.providers.person
¶
fake.first_name_male_rus()
# u'Dmitri'
fake.prefix_male()
# u'prof'
fake.suffix_female()
# u'BSc'
fake.name_male()
# u'Viktor Baranov'
fake.first_name_rus()
# u'Viktoria'
fake.first_name()
# u'Aivar'
fake.suffix_male()
# u'BSc'
fake.first_name_est()
# u'Linda'
fake.first_name_female()
# u'Kristiina'
fake.first_name_male()
# u'Peeter'
fake.prefix_female()
# u'doktor'
fake.name()
# u'Aivar Toots'
fake.last_name_rus()
# u'\u0160t\u0161erbakov'
fake.first_name_male_est()
# u'Priit'
fake.suffix()
# u'MSc'
fake.prefix()
# u'dr'
fake.first_name_female_est()
# u'Kristi'
fake.name_female()
# u'Anu Tuul'
fake.last_name_male()
# u'Kulikov'
fake.first_name_female_rus()
# u'Svetlana'
fake.last_name_est()
# u'Uustalu'
fake.last_name()
# u'Kolk'
fake.last_name_female()
# u'Mikk'
faker.providers.phone_number
¶
fake.phone_number()
# u'01895530444'
faker.providers.profile
¶
fake.simple_profile(sex=None)
# { 'address': u'9846 Mihhail Mountains\nFilatovmouth, NJ 49148-7545',
# 'birthdate': '1975-04-04',
# 'mail': u'randmaanatalja@hotmail.com',
# 'name': u'Olga \u017duravljov',
# 'sex': 'F',
# 'username': u'qm\xfc\xfcrsepp'}
fake.profile(fields=None, sex=None)
# { 'address': u'Unit 5710 Box 7944\nDPO AP 60713-7338',
# 'birthdate': '1999-05-12',
# 'blood_group': '0-',
# 'company': u'Sirel Ltd',
# 'current_location': (Decimal('29.814933'), Decimal('-60.777214')),
# 'job': 'Teacher, primary school',
# 'mail': u'nade\u017edatrei@yahoo.com',
# 'name': u'Andrei Beljajev',
# 'residence': u'277 Borissov Shore\nWest Galinachester, MO 23334-5845',
# 'sex': 'M',
# 'ssn': u'44810282461',
# 'username': u'laurimargus',
# 'website': [u'http://www.\xf5unapuu.net/']}
faker.providers.python
¶
fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types)
# [ Decimal('-916707.48716'),
# u'syoovPCtfpvgvfEWmZnv',
# 1.4076,
# u'LHWpgPKSGuNPJXAKzJHX',
# u'aeJuYTtovPdjxVMmlndS',
# 5092,
# -35475167558818.4,
# 6547,
# 9377,
# Decimal('3109612.83'),
# datetime(2001, 10, 3, 2, 18, 50),
# u'xRpTugrHQkvhknuRLWQR',
# 8662879066.0,
# 7141]
fake.pystr(min_chars=None, max_chars=20)
# u'dHWjXJfBjRHvxvXbhrxv'
fake.pystruct(count=10, *value_types)
# ( [ u'VvHhMqERcpDUrXzWMphI',
# 730.2189733089,
# 7685,
# Decimal('2464.253932'),
# Decimal('-6740077037.95'),
# 4326,
# u'https://www.tamberg-veski.com/category/',
# 5502,
# u'reinlind@hotmail.com',
# u'lrGVYedtRQWxVfedVFBd'],
# { u'autem': u'LPCWutNHIBDHJViGvETc',
# u'consectetur': u'teYZMghKUbQZRbuivaOJ',
# u'enim': 9887,
# u'et': 1583,
# u'laboriosam': u'jlmDMoxvSsoCAwHZDssq',
# u'minus': u'WtIuDKjCnsrhRCWroGal',
# u'quos': 1917,
# u'ratione': 259,
# u'reiciendis': 4416,
# u'rem': u'https://www.aleksandrov.org/categories/wp-content/app/author.htm'},
# { u'accusamus': { 1: u'rUcVWnpCvauGCIwOiRtO',
# 2: [ u'YvIOfVyAdlnSBXQpbDYg',
# u'BMALenHrPOXdlEROyAAd',
# u'https://www.koitla.com/list/list/search/home.htm'],
# 3: { 1: u'kfiWFOTjmgLwiEyjoXzS',
# 2: Decimal('4.31718920698'),
# 3: [ u'http://jer\u0161ov-m\xe4eots.org/main.php',
# u'MDCvcEYhlqHSOWRQywjM']}},
# u'consectetur': { 2: 1506,
# 3: [ 17.691339,
# Decimal('7549.348184'),
# u'GtgMbBGmIFohryBobaPa'],
# 4: { 2: 9721,
# 3: 2802,
# 4: [ 6498,
# u'http://www.mikk.com/post.asp']}},
# u'doloremque': { 6: u'LbKNDOClfsdiXHmaeUIp',
# 7: [3522, -788025.2169203, 1518],
# 8: { 6: u'ARKKPyzGcMifCSjnrhtQ',
# 7: u'KGADvMSHcUIcPjaLhcmx',
# 8: [ u'CSagtIFGQpdAiGpnRyqH',
# u'http://www.\u0161evt\u0161enko.com/search/']}},
# u'eum': { 3: 555,
# 4: [2632, 9597006941808.1, u'WsRcSHRMoASSZeKLvIWJ'],
# 5: { 3: u'OlloDouCeHvRYbAUHtzM',
# 4: 2082,
# 5: [ u'XxosxltwUOAhnNATKOup',
# u'lBLWQUuYnQOLHSTUWzXI']}},
# u'eveniet': { 4: u'afJTCYHnjmrAZxOGhSuI',
# 5: [ u'http://kokk-kalinin.net/list/main.html',
# u'mAYWyhVlEgxZeAEmBSJI',
# 9432],
# 6: { 4: datetime(2016, 1, 19, 2, 11, 40),
# 5: u'tomingaslinda@hotmail.com',
# 6: [ u'suitsanne@hotmail.com',
# datetime(2010, 2, 16, 0, 18, 43)]}},
# u'laboriosam': { 7: u'olga63@gmail.com',
# 8: [ u'ORPzFoVmHKNHUggYDFXf',
# 4800,
# u'meelisunt@yahoo.com'],
# 9: { 7: datetime(2010, 3, 17, 19, 9, 19),
# 8: u'http://laine.com/categories/list/blog/index.asp',
# 9: [ u'pajulaviktoria@pajula.com',
# u'EPnYdYqbPWhqiFnxyaEl']}},
# u'laborum': { 9: -4321339757591.0,
# 10: [ u'sergeij\xfcrisson@hotmail.com',
# u'IyqfJslGEhPNbMmqILJS',
# 9238],
# 11: { 9: u'aYemyqrTptVXHuWxbjkm',
# 10: u'DTDhBsdLyWjLYnKIJzRt',
# 11: [Decimal('3795.4259235'), 2707]}},
# u'necessitatibus': { 5: 7811,
# 6: [ u'https://novikov.com/explore/app/about.htm',
# Decimal('-533674844.269'),
# datetime(1985, 7, 25, 18, 36, 4)],
# 7: { 5: u'gNeYxPCeLZdoEzmUMlkz',
# 6: u'mk\xe4\xe4rik@hotmail.com',
# 7: [ u'andres47@hotmail.com',
# datetime(1994, 9, 2, 1, 5, 1)]}},
# u'repellendus': { 8: datetime(2006, 4, 13, 7, 54, 9),
# 9: [ u'km\xe4nniste@viira.com',
# -6386927208.954,
# u'https://kask.info/app/main.html'],
# 10: { 8: Decimal('9.52088048066E+14'),
# 9: u'gsulg@hotmail.com',
# 10: [ u'uulcCEnwGFAeusCMFLBt',
# u'ivan83@gmail.com']}}})
fake.pyfloat(left_digits=None, right_digits=None, positive=False)
# -6.7202236
fake.pydecimal(left_digits=None, right_digits=None, positive=False)
# Decimal('-9.686253845E+12')
fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types)
# [ u'FcsslkyViIoIzTEeWNWk',
# u'QytIwIdsMoSrklHNgumP',
# u'tkOXAMJWGePnDreQXlhH',
# u'MdPLLxvbeHPwhcjRwDlz',
# u'PqozEmmZyHjkjCZqPMgA',
# u'https://www.l\xe4\xe4ts.com/post/',
# u'wkase@gmail.com',
# u'BMPlpBFncTebrxdUUlZV',
# 382,
# u'anupajula@gmail.com',
# datetime(1987, 7, 23, 1, 52, 13),
# -4390.24,
# u'http://www.reinsalu-kangro.net/']
fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types)
# ( 9637,
# datetime(1990, 8, 15, 8, 34, 17),
# u'IoAEPnVPbbBnPeAJAFec',
# datetime(1975, 9, 1, 10, 59, 27),
# u'kkwGZnrVqUuxjllhjmrC',
# u'http://www.gross.org/faq/',
# u'MCSKVYekJOVJZPoWevEg',
# u'NckgfExlgTaUuwNIYfOD',
# u'FAcxLzpLjBImhWwIucqc',
# u'xadBulbsfUHCTaCTPWFu')
fake.pybool()
# False
fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types)
# set([u'http://loginov.com/search/posts/list/category.html', u'yn\xf5mmik@gmail.com', u'dkyRAdEqDIWGbhbeZzAW', 4520, Decimal('25597859.4'), -4116346598.4, u'hZGQDcOeQutaaponwFld', 89352184.0, u'lindapetrov@hotmail.com', Decimal('-14278.6668338'), u'ZMYsWJKNKgCCYpsddWEy', u'zdkztdstxGevSvCKBNJH', -876783.66952])
fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types)
# { u'animi': 2191,
# u'doloribus': 184,
# u'exercitationem': datetime(1986, 12, 5, 21, 15, 58),
# u'ipsam': u'cgyvKbtKYiNpfnJnGdsW',
# u'molestiae': Decimal('968123.36748'),
# u'pariatur': datetime(1976, 12, 27, 15, 31, 47),
# u'quam': -402384.89011,
# u'repellendus': u'DDcSdCXErBpVDFneSVSo',
# u'rerum': 3999}
fake.pyint()
# 4218
faker.providers.ssn
¶
fake.ssn()
# u'48110093315'
faker.providers.user_agent
¶
fake.mac_processor()
# u'PPC'
fake.firefox()
# u'Mozilla/5.0 (Macintosh; PPC Mac OS X 10_8_8; rv:1.9.5.20) Gecko/2015-08-31 23:43:27 Firefox/8.0'
fake.linux_platform_token()
# u'X11; Linux x86_64'
fake.opera()
# u'Opera/9.29.(X11; Linux i686; niu-NU) Presto/2.9.160 Version/12.00'
fake.windows_platform_token()
# u'Windows NT 6.1'
fake.internet_explorer()
# u'Mozilla/5.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/3.0)'
fake.user_agent()
# u'Mozilla/5.0 (X11; Linux x86_64; rv:1.9.6.20) Gecko/2013-02-22 23:57:25 Firefox/3.6.13'
fake.chrome()
# u'Mozilla/5.0 (X11; Linux i686) AppleWebKit/5311 (KHTML, like Gecko) Chrome/13.0.859.0 Safari/5311'
fake.linux_processor()
# u'x86_64'
fake.mac_platform_token()
# u'Macintosh; PPC Mac OS X 10_6_7'
fake.safari()
# u'Mozilla/5.0 (iPod; U; CPU iPhone OS 3_3 like Mac OS X; zu-ZA) AppleWebKit/534.4.2 (KHTML, like Gecko) Version/4.0.5 Mobile/8B114 Safari/6534.4.2'