Skip to content
lesul2014 edited this page Sep 15, 2022 · 4 revisions

LANGUAGE en_US

Download installer

faker.providers.address

street_suffix()

Burg

zipcode()

59002

building_number()

1394

postcode()

73529-0786

street_name()

William Brooks

address()

7147 Roberts Plaza
New Justinview, OH 08892

state()

New Mexico

military_ship()

USCGC

state_abbr()

PR

secondary_address()

Apt. 868

street_address()

6647 Eric Courts Suite 028

military_state()

AA

postalcode()

31758

postalcode_plus4()

15300-4435

city_prefix()

Burg

zipcode()

59002

building_number()

1394

postcode()

South

military_apo()

PSC 3930, Box 8545

latitude()

-23.8896845

city_suffix()

mouth

geo_coordinate(center=None, radius=0.001)

-163.164722

city()

Shawnbury

country()

Jordan

longitude()

-26.627347

military_dpo()

Unit 7641 Box 6101

country_code()

LS

zipcode_plus4()

72352-6602

faker.providers.barcode

ean8()

62431590

ean13()

3221573566183

ean(length=13)

7629224546830

faker.providers.color

hex_color()

#20bbd5

rgb_css_color()

rgb(241,112,134)

rgb_color_list()

(245, 8, 106)

safe_hex_color()

#448800

color_name()

Olive

rgb_color()

193,74,54

safe_color_name()

olive

faker.providers.company

bs()

deliver e-business relationships

company()

Jones PLC

company_suffix()

Inc

catch_phrase()

Total directional groupware

faker.providers.credit_card

credit_card_number(card_type=None)

180042743392080

credit_card_full(card_type=None)

VISA 16 digit
Maria Watson
4834425843412019 02/24
CVC: 741

credit_card_security_code(card_type=None)

422

credit_card_expire(start="now", end="+10y", date_format="%m/%y")

09/26

credit_card_provider(card_type=None)

American Express

faker.providers.currency

currency_code()

TND

faker.providers.date_time

unix_time()

17739602

day_of_month()

12

century()

XII

date_time_this_decade(before_now=True, after_now=False, tzinfo=None)

2010-03-05 11:06:12

iso8601(tzinfo=None)

1971-07-17T01:53:59

time(pattern="%H:%M:%S")

14:41:28

date_time(tzinfo=None)

1996-04-24 02:32:59

year()

1990

time_delta()

16976 days, 6:32:03

month_name()

April

date_time_this_month(before_now=True, after_now=False, tzinfo=None)

2017-10-15 15:32:34

time_object()

22:19:50

date_time_this_century(before_now=True, after_now=False, tzinfo=None)

2017-06-15 17:27:50

date_time_this_year(before_now=True, after_now=False, tzinfo=None)

2017-09-17 02:47:03

date_time_between(start_date="-30y", end_date="now", tzinfo=None)

2008-03-16 10:30:52

day_of_week()

Sunday

date_time_ad(tzinfo=None)

0528-10-02 23:39:37

am_pm()

AM

month()

12

date_object()

2006-10-07

date(pattern="%Y-%m-%d")

2003-01-09

timezone()

Europe/Zagreb

date_time_between_dates(datetime_start=None, datetime_end=None, tzinfo=None)

2017-10-17 10:15:58

faker.providers.file

file_extension(category=None)

xlsx

file_name(category=None, extension=None)

maxime.js

mime_type(category=None)

model/example

faker.providers.internet

slug(*args, **kwargs)

tenetur-dolorem

safe_email()

image_url(width=None, height=None)

https://placeholdit.imgix.net/~text?txtsize=55&txt=154×393
&w=154&h=393

user_name(*args, **kwargs)

mitchellchristopher

uri()

https://anderson.org/blog/search/list/login/

ipv4(network=False)

220.56.71.177

tld()

com

free_email()

url()

http://www.white.com/

uri_extension()

.php

ipv6(network=False)

988b:4878:d580:108a:5c15:2b2a:b974:6cff

mac_address()

0e:47:29:72:17:05

free_email_domain()

gmail.com

domain_word(*args, **kwargs)

le

company_email()

uri_path(deep=None)

tag/list

email()

uri_page()

homepage

domain_name()

rodriguez-hunt.com

faker.providers.job

job()

Seismic interpreter

faker.providers.lorem

paragraph(nb_sentences=3, variable_nb_sentences=True)

Quod numquam sequi enim. Doloribus in neque magnam omnis i
usto. Accusamus similique incidunt fugit magni.

paragraphs(nb=3)

['Rerum blanditiis doloremque impedit at eius quae nemo co
nsequuntur. Quo similique at cumque asperiores nesciunt de
leniti aliquid. Voluptate inventore eius molestias nemo do
loribus incidunt rerum. Nam dignissimos quia quasi eaque e
xpedita. Doloribus commodi placeat neque veritatis cupidit
ate.', 'Nostrum cupiditate nihil architecto iure. Quia inc
idunt magni assumenda iusto quidem reiciendis. Perferendis
 optio aperiam vitae reiciendis laboriosam.', 'Assumenda d
olorem dolorum alias quos suscipit. Perspiciatis vel maior
es at rem. Autem modi nisi minus possimus consectetur.']

sentence(nb_words=6, variable_nb_words=True)

Saepe cum fugiat eum.

text(max_nb_chars=200)

Beatae fugit quaerat atque aperiam nihil. Nostrum vel dolo
r consectetur molestiae provident. Magnam voluptatem hic p
erferendis dignissimos quae enim dolorem.

words(nb=3)

['mollitia', 'labore', 'dolorum']

sentences(nb=3)

['Eligendi ex fuga exercitationem.', 'Officiis aspernatur 
inventore voluptatum.', 'Modi quisquam repellendus dolorem
que repellendus quas quod.']

word()

commodi

faker.providers.misc

sha1(raw_output=False)

07127be7ef78235aa1f91ba5605f08916e42d185

binary(length=1048576)

b'\'\xcd\x15wM\xc4QV84\xd6\x7f\xd2$RD\x8bq)\xad\xd8\xec\x8
5woL]\x07\xa3e\xa1\xbe\x95\xce#\xd7_\x9b^NK$\x10\x03.\xef@
\xdd]\xe8B\x9a\x1d\x89\xbf\x184\xe8\xd6\xee\xb7\x8e\x90\xa
66\'\xa8\xd0\x96D\xf3\x89\xdaG\x98\xba\xff}&uk\xe1wv\x8f\x
b9-\xd5\xa6\x0b\x91<U\xc9\xba\xa8\x83b\x10\xe1F\xfc\x89\x1
9:\x9c S#\tY\xc6\xc4\xc6\xb9r\xed\xd7U20\x93^ \xa0Q\xf1\xe
3\xf8\x15\x1b\x9b\xd4\xe4R7\x02\x99R_\xc3\xaf\xf8}\xae\x8a
\xa9>\xc6\x8b\x17\xce\xccv\x9ah5\xfdM\xc9\xc3\x8b\xd5\x1f\
xa4\x8dB\x81L\x88w\x97\xbe\xa0#?\xdb\x87P\x1e\x83\xe3\x82e
\x03\xb6w\xa7*u@jH\xf9%\xcd\xfea\xb6\xdb\xd0lC\x8a\x85\rWw
\x99\xef\x91\xde\x05\xf6\xa5\xbd\xfc&\xd5\xb6\x0b\xd6\xd1\
x81I\x18H\xef\xf2%\xce\xe2\xde\xad\xcc\xfb8\xf3\xecB\x1dAL
h\xc4\xfe\x96=\xa65y\x97\x88\xfb\r\x1e\xd8\x94\xd4f\xf2t[\
xf3\x03\t\xc8^\xee\xdaf\x84M\xf7\x00KL\xe5\x0b\x00\xf60^z$
\xae\x88\xa5\xa2\xf0\x870 t84\xb3\x0f\xe1d\xd5\xafby^\xf4\
xb5\xd8r\xc3?C\x9e\xac\xf5$w\x93\t5eE\x8f\xe7\xfc\x95\xc0\
xb9\x7f\xc9G\xc4)\xb8\xe3\x81\x84-Y\x95\x98\xdd\x10\x1c\'\
xd01\xe7\x03\xf7\xb7\xc2E\xf7\xa8\xe2\xe9A\x9a\xc0E'

password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True)

6+4Br$7GBn

locale()

km_KH

language_code()

as

uuid4()

7f7043e6-142f-4602-904f-b2ce57f58fac

md5(raw_output=False)

01797118202993dd9414fb9476846e6f

sha256(raw_output=False)

fe40f34846b6368cfb1c0407d62e9ee34e587ed3456db2df64d138d37e
d0f700

boolean(chance_of_getting_true=50)

False

null_boolean()

True

faker.providers.person

name_female()

Michelle Taylor

suffix()

MD

last_name_female()

Clark

last_name()

Little

name()

James Hess

first_name_male()

Michael

prefix_male()

Mr.

suffix_male()

MD

first_name()

Shawn

first_name_female()

Susan

suffix_female()

DDS

prefix_female()

Dr.

last_name_male()

Cole

name_male()

Nicholas Schmidt

prefix()

Dr.

faker.providers.phone_number

phone_number()

004-159-0331x17319

faker.providers.profile

profile(fields=None, sex=None)

{'job': 'Forensic psychologist', 'ssn': '413-01-4296', 'cu
rrent_location': (Decimal('62.486765'), Decimal('-157.3552
92')), 'blood_group': '0-', 'birthdate': '2006-10-20', 'ad
dress': '666 Anna Spurs\nAndrewbury, OK 79454-4473', 'user
name': 'colemanjackson', 'name': 'Crystal Nolan', 'mail': 
'[email protected]', 'company': 'Mckinney-Barnett', 'r
esidence': '2483 Nash Lake Suite 133\nMeganstad, AZ 05082'
, 'website': ['http://www.cherry.com/', 'https://boyd.org/
', 'http://www.jones.info/'], 'sex': 'F'}

simple_profile(sex=None)

{'username': 'rosegordon', 'name': 'Monica Jones', 'mail':
 '[email protected]', 'sex': 'F', 'birthdate': '2009
-07-04', 'address': '43554 Stephens Station Suite 371\nPor
t Dennisfurt, VT 30226-3043'}

faker.providers.python

pydict(nb_elements=10, variable_nb_elements=True, *value_types)

{'facere': '[email protected]', 'est': 'WKzGfJTZSNfK
pxckVinL', 'rem': 1897, 'exercitationem': 9497, 'officiis'
: 2863, 'ipsam': 'JtdDytGZIPBLCRbBqhxe', 'ut': 'CltRyLnnNI
gZGwthYwvs', 'nemo': '[email protected]'}

pyiterable(nb_elements=10, variable_nb_elements=True, *value_types)

('https://bryant.com/terms.asp', 7650, -28357352463134.8, 
1734, datetime(2000, 2, 7, 23, 55, 42), 'rOHKGDMWTKtHdWmqc
jUu', 78286.2942343535, -9552719.0, 'eBXCzbqlWGprLhlrOHam'
, 3634, 3576, 'vZHYRhfwctiURgpseStd', 'GEuIkNlPexByPjOwOgf
q')

pydecimal(left_digits=None, right_digits=None, positive=False)

448565.834

pybool()

True

pystr(min_chars=None, max_chars=20)

VidfPnTCDaFmgYkYpUud

pyset(nb_elements=10, variable_nb_elements=True, *value_types)

{datetime(1997, 5, 1, 1, 38, 49), 8.9017113, 'http://meyer
-wong.com/', 3377, '[email protected]', 8113, 
4592306385.9, 'EqrtgOmHDiyLXTebvdKi'}

pylist(nb_elements=10, variable_nb_elements=True, *value_types)

[datetime(1978, 2, 13, 21, 42, 18), 'WQmCYILqtIkhxOhWjnjS'
, 9067, datetime(2007, 9, 25, 6, 57, 11), 'gtrpLBDTSKyQffH
edgGt', datetime(1986, 8, 29, 2, 18, 15), 'joCgUnnKYyoUJKN
yBeWG']

pytuple(nb_elements=10, variable_nb_elements=True, *value_types)

(408, -9467869401.2, 'CRtvCtrAvTqWJJFAKtQj', 4236, Decimal
('-593025992867.0'), 'RszoxbXgzeQUKxUWUwjW', Decimal('8972
92.13'), 'eltHxhXKSMSBdkYNBKDM', 'qKyEcgEghzygLBtrDgNH', '
JWinaAoCYRIUlIaqtnzz', 4382)

pyfloat(left_digits=None, right_digits=None, positive=False)

38708374670569.0

pystruct(count=10, *value_types)

(['vOUJyBXllLYBOPGOVKeF', 'LQXUERZLWbJjrkZtuEAU', 'mQZmdQz
YtvqATSCtaneh', datetime(1972, 12, 21, 7, 12, 43), 954, 'c
wtDwirfTZbgHNJkKbZr', 'dgywPltIUvnTEpYeTXEI', 'hXguPatBUgH
KORxZvbqp', datetime(1991, 6, 30, 6, 41, 14), 'matthewbail
[email protected]'], {'dolor': 'GVMfCDclyOiunAcfPilb', 'repella
t': 'iZioZidYMokNRSnGPXbb', 'error': 'rnJZVgQwsrxKZeFfXwBC
', 'odio': 4311422623855.0, 'quasi': 8254, 'nisi': 'TgwvAA
tSgbyrIpefMJlQ', 'sed': 'http://www.hebert.com/search.htm'
, 'voluptatum': 'iSzyKhhkPmakUubULSOi', 'ut': Decimal('96.
896949'), 'quis': datetime(1991, 2, 6, 6, 56, 31)}, {'labo
rum': {2: 344436199953.795, 3: ['HDTLsyDjZYfodJyayNlT', 'V
IrzNDECqpSwDbbGAeMB', datetime(1976, 6, 18, 13, 14, 18)], 
4: {2: 'ZxYfUpEUtvmKmgtQpShK', 3: 'uvIGvHmGDbajELUKDsPy', 
4: [-8982765215071.65, 'HinyIpajLMVZCJizcboQ']}}, 'explica
bo': {9: 'bzepHkANahzKCGEbqIKx', 10: ['http://www.terrell.
com/tag/register.htm', datetime(1981, 11, 14, 0, 18, 7), 2
511], 11: {9: 152332992687.0, 10: -6992791.228, 11: ['uTYE
TJPqUBrluJqQzZrL', 8378636.39613861]}}, 'similique': {8: [
'aAtCPRBfFDwAbYnRcWDW', 'SbUNMwnaKCALZRucwTnv', 1479], 9: 
{8: 'ztpjzvsjwRhTIPCBOJUw', 9: ['XqNnYYHYWrIjQmYYznhu', 26
], 7: 'RPyMEQQeHqHSVObuMaMD'}, 7: 4505}, 'reprehenderit': 
{5: -65012075504.0, 6: [Decimal('-9300028992648.0'), 403, 
'[email protected]'], 7: {5: '[email protected]
m', 6: 41864.1197732031, 7: [6301, 903832216348.44]}}, 'co
nsectetur': {1: 3542, 2: ['kNqhMfVDAubokGpxAHYw', 'gbaird@
hotmail.com', 8620], 3: {1: 2644, 2: datetime(1993, 7, 21,
 18, 0, 16), 3: [-370105601349.9, 4985]}}, 'cupiditate': {
8: '[email protected]', 9: ['YpukAcOMwQIvwIbovXFg', 69
30, 'miNzyFppnNsprjRrQqlu'], 10: {8: 'YqIGbqcwCFhwXHeAQfxe
', 9: 'ppOXAREYRPiomzgRZZrm', 10: [-22132622438750.0, Deci
mal('822665489.754')]}}, 'labore': {0: 'oKTIIknxRTXaDqGoJm
Rc', 1: ['nCIiVMnZEeuEHGPVWBEz', datetime(1997, 8, 30, 8, 
31, 9), 145824308354.0], 2: {0: 'http://clark.com/list/faq
.php', 1: 'ZWBahLSeGEBwnsveHpBS', 2: ['IDvhoPcGQtJKquEFgjs
z', 'kOGzUSLcRchHPLsYxdFP']}}, 'distinctio': {8: {8: ['gYv
GPeFihzAcjmuSaCtl', 3414], 6: Decimal('-37.633405490301'),
 7: Decimal('349507466538.0')}, 6: 'CdWjADUzIYAtJBpqVbZx',
 7: [6394, 'http://ware-patel.com/list/index.asp', 'tekAYt
RGGvMwhlGykbVR']}, 'eveniet': {4: 'uIIkGrTBFBGDjcYvYDWH', 
5: ['YlAEotGrHqCyvcqRHAxj', 'IizfDHcTrxehSJZWyIjc', 1984],
 6: {4: 'oHmbYwbWPPkuPYDvgdtv', 5: 'pZimuNtaazubtmmHPEIa',
 6: [Decimal('78.15644531604'), 'atkinsdaniel@summers-mcdo
nald.info']}}, 'minima': {3: 1195, 4: [Decimal('-28155171.
587381'), Decimal('271.389'), 8377721689701.5], 5: {3: 308
8, 4: 'LKdCfDOrbAmogRDpSQSC', 5: [datetime(1983, 6, 8, 18,
 20, 17), '[email protected]']}}})

pyint()

2060

faker.providers.ssn

ssn()

505-32-6795

faker.providers.user_agent

chrome()

Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_7_0) AppleWeb
Kit/5322 (KHTML, like Gecko) Chrome/15.0.887.0 Safari/5322

user_agent()

Mozilla/5.0 (Macintosh; PPC Mac OS X 10_8_5) AppleWebKit/5
331 (KHTML, like Gecko) Chrome/14.0.857.0 Safari/5331

safari()

Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_8_9 rv:5.0; e
n-US) AppleWebKit/532.30.5 (KHTML, like Gecko) Version/5.0
 Safari/532.30.5

mac_processor()

U; PPC

opera()

Opera/8.71.(X11; Linux x86_64; it-IT) Presto/2.9.173 Versi
on/10.00

linux_platform_token()

X11; Linux i686

linux_processor()

x86_64

firefox()

Mozilla/5.0 (Windows NT 5.1; en-US; rv:1.9.0.20) Gecko/201
2-10-17 23:44:05 Firefox/3.8

mac_platform_token()

Macintosh; Intel Mac OS X 10_7_5

internet_explorer()

Mozilla/5.0 (compatible; MSIE 7.0; Windows 98; Trident/3.0
)

windows_platform_token()

Windows 98
Clone this wiki locally