Language it_IT¶
faker.providers.address
¶
fake.state_abbr()
# u'PI'
fake.latitude()
# Decimal('-9.053562')
fake.street_name()
# u'Piazza Eriberto'
fake.address()
# u'Via Manuele 6\nVitali del friuli, 60718 Viterbo (VS)'
fake.street_address()
# u'Incrocio Dindo 37 Piano 4'
fake.postcode()
# u'68005'
fake.country_code(representation="alpha-2")
# u'KG'
fake.longitude()
# Decimal('145.989689')
fake.country()
# u'Albania'
fake.geo_coordinate(center=None, radius=0.001)
# Decimal('-164.033065')
fake.secondary_address()
# u'Appartamento 12'
fake.street_suffix()
# u'Canale'
fake.city_prefix()
# u'San'
fake.city_suffix()
# u'umbro'
fake.building_number()
# u'77'
fake.city()
# u'Quarto Cleopatra'
fake.state()
# u'Avellino'
faker.providers.automotive
¶
fake.license_plate()
# u'BGR G20'
faker.providers.bank
¶
fake.bban()
# 'N0333999618412537880989'
fake.bank_country()
# 'IT'
fake.iban()
# 'IT72I9092327122320340837832'
faker.providers.barcode
¶
fake.ean(length=13)
# u'1047857622657'
fake.ean13()
# u'6116301943268'
fake.ean8()
# u'37397777'
faker.providers.color
¶
fake.rgb_css_color()
# u'rgb(174,199,10)'
fake.color_name()
# u'Azure'
fake.rgb_color()
# u'7,208,6'
fake.safe_hex_color()
# u'#11bb00'
fake.safe_color_name()
# u'teal'
fake.hex_color()
# u'#63b1e1'
faker.providers.company
¶
fake.company()
# u'Martini-Coppola s.r.l.'
fake.company_suffix()
# u'Group'
fake.catch_phrase()
# u'Interfaccia polarizzata object-oriented'
fake.bs()
# u'architetture strategiche virali'
faker.providers.credit_card
¶
fake.credit_card_security_code(card_type=None)
# u'686'
fake.credit_card_provider(card_type=None)
# u'Diners Club / Carte Blanche'
fake.credit_card_full(card_type=None)
# u'JCB 16 digit\nJarno Grasso\n3574253110308900 07/27\nCVC: 549\n'
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y")
# '03/25'
fake.credit_card_number(card_type=None)
# u'6011601604068618'
faker.providers.currency
¶
fake.cryptocurrency_code()
# 'ADA'
fake.currency_code()
# 'XAF'
fake.currency_name()
# 'Icelandic kr\xc3\xb3na'
fake.cryptocurrency_name()
# 'Litecoin'
fake.cryptocurrency()
# ('MZC', 'MazaCoin')
fake.currency()
# ('NAD', 'Namibian dollar')
faker.providers.date_time
¶
fake.future_datetime(end_date="+30d", tzinfo=None)
# datetime.datetime(2018, 8, 19, 4, 3, 6)
fake.time_series(start_date="-30d", end_date="now", precision=None, distrib=None, tzinfo=None)
# <generator object time_series at 0xffffaa425af0>
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(2001, 5, 2, 0, 52, 14)
fake.date_this_decade(before_today=True, after_today=False)
# datetime.date(2016, 5, 1)
fake.date_time_this_month(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 8, 5, 19, 3, 9)
fake.past_date(start_date="-30d", tzinfo=None)
# datetime.date(2018, 7, 30)
fake.day_of_week()
# 'Monday'
fake.date_time_this_decade(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2015, 3, 27, 5, 9, 17)
fake.date_between(start_date="-30y", end_date="today")
# datetime.date(1993, 6, 29)
fake.date_time_this_century(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2014, 7, 30, 18, 35, 30)
fake.date(pattern="%Y-%m-%d", end_datetime=None)
# '1983-06-02'
fake.am_pm()
# 'AM'
fake.date_time_between_dates(datetime_start=None, datetime_end=None, tzinfo=None)
# datetime.datetime(2018, 8, 16, 10, 58, 38)
fake.date_object(end_datetime=None)
# datetime.date(1987, 10, 23)
fake.date_this_year(before_today=True, after_today=False)
# datetime.date(2018, 3, 20)
fake.iso8601(tzinfo=None, end_datetime=None)
# '1998-06-09T21:08:40'
fake.future_date(end_date="+30d", tzinfo=None)
# datetime.date(2018, 8, 24)
fake.date_this_century(before_today=True, after_today=False)
# datetime.date(2011, 9, 3)
fake.month()
# '11'
fake.year()
# '1975'
fake.day_of_month()
# '07'
fake.unix_time(end_datetime=None, start_datetime=None)
# 772647114
fake.timezone()
# u'Europe/Warsaw'
fake.century()
# u'XXI'
fake.date_of_birth(tzinfo=None, minimum_age=0, maximum_age=115)
# datetime.date(1993, 3, 3)
fake.time_object(end_datetime=None)
# datetime.time(21, 9, 46)
fake.date_time_this_year(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 7, 12, 23, 15, 42)
fake.date_time(tzinfo=None, end_datetime=None)
# datetime.datetime(1983, 8, 25, 6, 41, 22)
fake.time(pattern="%H:%M:%S", end_datetime=None)
# '08:01:52'
fake.date_this_month(before_today=True, after_today=False)
# datetime.date(2018, 8, 15)
fake.past_datetime(start_date="-30d", tzinfo=None)
# datetime.datetime(2018, 7, 23, 22, 54, 51)
fake.month_name()
# 'August'
fake.date_time_ad(tzinfo=None, end_datetime=None, start_datetime=None)
# datetime.datetime(1132, 3, 21, 23, 32, 18)
fake.time_delta(end_datetime=None)
# datetime.timedelta(16856, 10758)
faker.providers.file
¶
fake.unix_device(prefix=None)
# u'/dev/sda'
fake.mime_type(category=None)
# u'multipart/signed'
fake.file_path(depth=1, category=None, extension=None)
# u'/architecto/maxime.wav'
fake.unix_partition(prefix=None)
# u'/dev/xvdx0'
fake.file_name(category=None, extension=None)
# u'suscipit.odt'
fake.file_extension(category=None)
# u'jpeg'
faker.providers.internet
¶
fake.ascii_free_email(*args, **kwargs)
# 'leoneleone@gmail.com'
fake.image_url(width=None, height=None)
# u'https://dummyimage.com/438x755'
fake.tld()
# u'it'
fake.email(*args, **kwargs)
# u'rsilvestri@yahoo.com'
fake.url(schemes=None)
# u'http://www.rizzo.it/'
fake.ipv4_private(network=False, address_class=None)
# '172.30.78.205'
fake.user_name(*args, **kwargs)
# u'dimitricattaneo'
fake.uri_extension()
# u'.htm'
fake.uri_page()
# u'homepage'
fake.free_email_domain(*args, **kwargs)
# u'tim.it'
fake.safe_email(*args, **kwargs)
# u'oesposito@example.it'
fake.ascii_email(*args, **kwargs)
# 'genziana00@gentile.it'
fake.ipv4_network_class()
# u'b'
fake.ipv4_public(network=False, address_class=None)
# '172.41.186.141'
fake.ascii_company_email(*args, **kwargs)
# 'basiledindo@gentile.com'
fake.domain_name(*args, **kwargs)
# u'ruggiero.com'
fake.ipv4(network=False, address_class=None, private=None)
# '183.102.181.16'
fake.domain_word(*args, **kwargs)
# u'sorrentino'
fake.slug(*args, **kwargs)
# u'occaecati-nostrum'
fake.uri_path(deep=None)
# u'search/wp-content/explore'
fake.company_email(*args, **kwargs)
# u'pablobarone@grassi.it'
fake.uri()
# u'http://ferraro.it/app/home.html'
fake.ipv6(network=False)
# '3358:87b7:4901:e55f:73a9:beef:8f8:68c9'
fake.free_email(*args, **kwargs)
# u'nde-rosa@tele2.it'
fake.ascii_safe_email(*args, **kwargs)
# 'rebecca91@example.it'
fake.mac_address()
# u'ac:eb:84:8e:ab:16'
faker.providers.isbn
¶
fake.isbn10(separator="-")
# u'0-226-01160-7'
fake.isbn13(separator="-")
# u'978-1-355-86500-1'
faker.providers.job
¶
fake.job()
# 'Sales promotion account executive'
faker.providers.lorem
¶
fake.text(max_nb_chars=200, ext_word_list=None)
# u'Consectetur saepe eius temporibus esse voluptatibus. Adipisci sed nobis quae.'
fake.paragraphs(nb=3, ext_word_list=None)
# [ u'Cum voluptatem voluptatibus possimus. Laborum nihil tenetur doloribus. Laudantium ratione tempora ullam eaque cumque.',
# u'Debitis officia distinctio quia explicabo quisquam. Debitis eaque at odit natus ullam.',
# u'Ipsa perspiciatis ab eum. Totam explicabo numquam.']
fake.words(nb=3, ext_word_list=None)
# [u'sequi', u'autem', u'rerum']
fake.sentences(nb=3, ext_word_list=None)
# [ u'Quas quos fuga nostrum at officiis.',
# u'Aspernatur ad temporibus eligendi consectetur at.',
# u'Dolores vitae eos.']
fake.word(ext_word_list=None)
# u'vel'
fake.paragraph(nb_sentences=3, variable_nb_sentences=True, ext_word_list=None)
# u'Omnis itaque voluptatum deserunt ea tempore minima laudantium. In dolor nobis pariatur atque cupiditate. Dolorem voluptas minima.'
fake.sentence(nb_words=6, variable_nb_words=True, ext_word_list=None)
# u'Ullam architecto similique hic animi.'
faker.providers.misc
¶
fake.password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True)
# u'@o2dKL8Cq2'
fake.locale()
# u'szl_PL'
fake.binary(length=1048576)
# bytearray(b'}\xd4_\xf5`\xc0\xa5b:\xa2\x08g\xd2\x82\x9fm\xbdY\xecH\xb4&\xcd\xed\xa0$\xec\xb2D\x9b#h\x86\x94\'\xb0\xd7\x9c]\x0c\xbb\x06\x1f3\xb1\x14\xb2\x9b\xd5\xe2\x90\xf8\xcc\xce\xa3P\x05O\xcb\xc9gs`CE\x12\x04\x98\x91_\x8b\xda\xb0[\xa7\xaa\x81\xc4\xda\x1c\xc7rh\xcc\xedn\x08\x89\xb2\xae\x05\xe7\xd6\x19\xed\x8a\xa06H\xd4\xb0\xe5\x9a\xf7ip|\x1e\x97\x17\xb1\xc7_\xdd=Qe\x80\x976\xb8\x96b\xa6?3\n\xf9\x86\xb6P\x88<\xe1#\xc3Ey\xdeE\x1b\xba\x87\xd8\x94\xf6\x95\x11\xa7\xbe\x1c8\xa1\x15\xde:\xcd\xd0\xe0\x8as\x1b\xb0\xe42\x89\x95\x05B\x1c\xee\x99=E\x8e y]s\xe5\x91V\xc6\xeb\xca\xa5\x15\x90\xfb2\xbfu\x0f\xf6C\xdfp\x18\xc5^S\xbfw\xdb%\xa7!C0\xe11R\xd4\xf1h\xf4!\x08"\x82@7\xbe\xb8\x00\xaf$j[hhav\xaanSx\x81p\xf7\xda\xce\x13\x18HE\xe1I\xeeG\xa9\x82\x8dK\xdb\xbf\x0b)2\x1a\x9c\xdd\xcb\xcd;k\xbe\xbfa\xed\xc9\x80\xa5\xeb8\x8c\xab\xac\xb8\'\x04\xe0\xa1\'/\x93(\xa5\xc8\x12\xa2\x1e\x89VjU9\xe72T\xb5\xa4)S\x83\xfe%\x06\xa9<S\'\x08\x8d\xc5\xc9$\x1b\xf6E\xac\x14\xef\xc9]\r~\\s[\x15\xdc\xc7\x81\xbdE\x91n\x05U\xe3VL\x02\xc1\xdb \xe8\xd8EUWn}\x9d\xee%T\x83\xdf\x12P\xf6B/Q\xb7g\xde\xff?dW\x08Z\xbe\r\xfc=\r\xb8\xd7\x0fD\xd1\xa9\x86\x97\xfb\x9d\xf1M\x82\n6^{\xd4\xa8\xb1\xc7\xc2[n\xb4\xdc\x99xn\n\x97\xa7<?DG|\xaf\x03\xf2\x181\x93\x91`\xc3\x03l\xdb\x16hp\xd2\xb3vsn\xac\x93`\xc6\x96\xb7\x81+\xccm/,T)\tX\x96Q\xb6~v\x7f\x03\xb6\x92\xb3\xcb\x8dV\x16o\xd9\x8e\x86`Fn\x1c [\xf4\xf7\x90J;U\x97Mr\xd9\xf6\xe1N\x94p\x86PN\xea\x88#\xc5\x7f\x9f\xb8h\xb5\x92\x08\xa9Ld\xb8`2J\xb6\xb7$\xa7K\xce\xbf\xfc\x8d\x08\xea\xa5\xa5\xe5V\x1c\x04VXI-RW\xe6\x9f\xdb\x83\x86B!\xb8v\xad\x91\xb9\x93\x7f\xd2\x99\x05\x87\xe4\x97\xc6\xfb\xbe\xf4\xa1\xd15.SY\x9c\x81Pd\xc4g\xd9z\t\xbf\xb3\x1dO\xd7\xee\xa1>\xbb\xc3\xbeU\xf1\x88\xf5\x16V\x99\x9c\xba\xc4\xf9\xd8\x02\xf9o\xf6$\xb5\xf6\xe7\x10\xb4\x90\xfd\xfdA\x8a\xc1L7\x93\xc1\xf8K\xc5\x9e\xc8\xa1\x89\x1c\xc0\xdc,8\xff\xf0\x8d\xcd\xd3\xb0\x85e\x1f.e\xa6h\xf6p\xed$\xea\xae&\xebIt%\xc2\xe2\xd1\xce\x1e\xc7=\x82\x16`m\xe5j\xbfy[\x84\xbc\xce\xcb2&/\xaf\x00\x85ObW%\xe4\xfb\xc7~\xce \xb9\xaa_\x82\xe7\xfa\xa8\x81\xbd\x9d\xef\x16\x14\xc2ln\xedQ$A!Q\x80][\xda;7\xd7\x8d\x95\xd5\x83\x8e\x0es1\xdf\xb2\x19\x94x\xe6O\xe6\x14Vv~\xbe\xa7Q\xd8\x0f\xbd\x89\xaf\xf8s\xb8wa\x85\xd5E\xf9\'p\xaf/e\xc1\xc8\xed4s\x12\xf6\x06+\x87\x9d \x02\xb0?\xe9.w\xab\x8b\xa7\x84\x02\xff1B\xed\x10\xd1\x18C\xc0\xfb%5\xdb\x109\xcft\x84\x82\xb4\xc41\xe7Uq5\x13\xf4\xcc\xedz\x97d\x0e2\xfb\xa8\xd1\xfbVU\xb6j\xa6\xa3\x10f\x90X_Y\xb8\x0b\xc0=\xfa\x83\xc4\xea\xd9\xee\xac\xbf\xc0\'\xf3:\xef3U\x96G\x93\x99U0\x17^q\x0e\x91\x83\x1doE\x1e\xecWS\xd8\xd2=\xb5\xf1s\xdd\x19=\xfa\x11K\x91\x1ei3ps\r\r\x10\xf8\x88\x17^\xb0\x93s\xa8\xdb^\xe5K\xfb\xd7\x90E\xd5D\xcc\xc0\xc6\x04:\xd3b\xd6ASx\x04\xe7$?\x99\x0f\xc6L\xb0\xcf\xc4wHU\xd3PSz6\xf5fz[\xb0\xa2\xe0\x07 Pq\xb6\x87\xd3;,l\xfb\xdfc\xf3q\xd46W\x04\xfc\x16\tU\x07\xe5TB\x12\x80N\xfclnUMB]e\xad\xc5\xea/\xdd\x82+yD\xe4\xce\x81\x94\xa5\xdbM\xb0\xc1$\x0c\x12\xbe\x106f\x85E\xda\x0b#\xe8W\x9c\xed#\xce\x92')
fake.md5(raw_output=False)
# '2d9560b7403234e10a80dece6b1325b7'
fake.sha1(raw_output=False)
# '44d482990cd1f2c16ea1a7b2e64cd6afc27c068e'
fake.null_boolean()
# None
fake.sha256(raw_output=False)
# '6ffb1dbc323d439914db1a963160f85e4cfffe813614d0d8671280deb5f3ba72'
fake.uuid4()
# '5c796cde-cbbe-1ce9-540c-b6cc4c65c5ac'
fake.language_code()
# u'ce'
fake.boolean(chance_of_getting_true=50)
# True
faker.providers.person
¶
fake.last_name_male()
# u'Fiore'
fake.name_female()
# u'Nayade Fabbri'
fake.prefix_male()
# u'Dott.'
fake.prefix()
# u'Sig.'
fake.name()
# u'Emilia Sartori'
fake.suffix_female()
# u''
fake.name_male()
# u'Abramo Ferrara'
fake.first_name()
# u'Umberto'
fake.suffix_male()
# u''
fake.suffix()
# u''
fake.first_name_male()
# u'Giancarlo'
fake.first_name_female()
# u'Caligola'
fake.last_name_female()
# u'Mariani'
fake.last_name()
# u'Galli'
fake.prefix_female()
# u'Dott.'
faker.providers.phone_number
¶
fake.phone_number()
# u'+39 209 0373910'
fake.msisdn()
# '7733485318838'
faker.providers.profile
¶
fake.simple_profile(sex=None)
# { 'address': u'Rotonda Martino 63 Piano 1\nSesto Penelope sardo, 66358 Catanzaro (VI)',
# 'birthdate': datetime.date(1962, 3, 22),
# 'mail': u'montanariprimo@alice.it',
# 'name': u'Quasimodo Battaglia',
# 'sex': 'F',
# 'username': u'bortolo95'}
fake.profile(fields=None, sex=None)
# { 'address': u'Incrocio Grassi 69 Piano 9\nSettimo Amos, 86132 Benevento (BO)',
# 'birthdate': datetime.date(2007, 12, 10),
# 'blood_group': '0+',
# 'company': u'Rinaldi, Coppola e Leone SPA',
# 'current_location': (Decimal('-7.892084'), Decimal('-25.689127')),
# 'job': 'Youth worker',
# 'mail': u'osvaldomilani@virgilio.it',
# 'name': u'Ian Farina',
# 'residence': u'Viale Gianmarco 8\nFontana salentino, 61426 Ravenna (AP)',
# 'sex': 'F',
# 'ssn': u'ZFDPBM19J37G119K',
# 'username': u'lucericci',
# 'website': [ u'https://pellegrini-ricci.it/',
# u'http://www.marini-battaglia.com/',
# u'http://www.de.org/']}
faker.providers.python
¶
fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types)
# ( u'deborah38@de.it',
# u'http://www.serra.it/',
# -85687042639.985,
# u'rWITRESJWNedCGiRRiSC',
# Decimal('-36.21982547'),
# Decimal('53450191616.6'))
fake.pystr(min_chars=None, max_chars=20)
# u'fGbhYWdaBCZaZXRyfCBt'
fake.pystruct(count=10, *value_types)
# ( [ u'QbbrwupmBtHVEpNShxXr',
# Decimal('-4.94657386818E+12'),
# u'http://silvestri.it/home/',
# u'RHDxdpQTKdPwYjiuiJff',
# 511,
# 8234,
# u'http://www.piras-palmieri.com/',
# u'LicMnWOvmawrpVgIMtrB',
# u'kHMgSovWawJwPXdGMuFW',
# u'asCiIDMieCerwujeXdcc'],
# { u'alias': u'scpgCOcyecygtJXoJtSE',
# u'corrupti': u'https://ricci.it/home.asp',
# u'laudantium': u'UXjpqtKjyEwkIVzczQlR',
# u'maiores': datetime.datetime(2013, 9, 4, 1, 7, 9),
# u'modi': datetime.datetime(2016, 11, 30, 10, 19, 26),
# u'necessitatibus': u'BwWYyEBYZjSbLISmLLHW',
# u'nostrum': u'awFttaDLBWWikHbCGlMd',
# u'placeat': 4674,
# u'quia': u'lJHJdJILtgQGdIyeAaOF',
# u'suscipit': 6845},
# { u'animi': { 6: u'tLjUTxWdLbIApyuPRRUr',
# 7: [2311, Decimal('680.0'), 2849],
# 8: { 6: 5339,
# 7: 6048,
# 8: [ u'ypHKeIhDVMeapfijRNIp',
# Decimal('-92.801')]}},
# u'dicta': { 7: u'mFDPggdtKQDfVfdzUUal',
# 8: [ u'https://morelli.it/author.asp',
# 2292,
# u'wkIEHbFmWIonrUtKJltv'],
# 9: { 7: 1344,
# 8: u'fFUTRTNQQYmrgRnJitun',
# 9: [ u'yXnShExXKBwoVWuGtuRf',
# Decimal('-8.7489586838')]}},
# u'fugiat': { 8: datetime.datetime(1982, 3, 5, 4, 32, 22),
# 9: [9546, u'oUnFKMmSwfWMFLuhvhcN', 9096],
# 10: { 8: -2050.3001192,
# 9: u'kHAkzxMffADymaqKZuRV',
# 10: [ u'cHAbKdxVnvMJnBKOwxYW',
# u'KgdoVIBwBGKrGhxhXEHH']}},
# u'harum': { 2: 6573,
# 3: [Decimal('4.6105'), u'ORKglIksSKrrNpumfIaE', 4428],
# 4: { 2: 8349,
# 3: 3564,
# 4: [ 9152,
# u'http://www.fontana.net/main/list/faq.html']}},
# u'optio': { 5: u'ugSjEKrXVJNpWdCarBVH',
# 6: [850765737.143461, u'QLcSoAAKYQhbRcvwKnjC', 682],
# 7: { 5: 3118,
# 6: 3684,
# 7: [ u'YbLGkPnAfXQujqxtxVkt',
# u'RKEAJmnNFRazNUmBzLSN']}},
# u'praesentium': { 3: u'bflfmLxhuqflvUAGmSPa',
# 4: [ u'KXvofWxuypVdPuwJhcka',
# u'waIOGWMCRlQWuoiEyPLU',
# 784],
# 5: { 3: u'lvHCsIobXBuiJtqZxGjs',
# 4: Decimal('7.51828167056E+14'),
# 5: [ u'AYXdHfxpOQwfxBkpKNjc',
# u'JOCxMlhKjnfxLJZmWTqV']}},
# u'rem': { 9: u'https://www.ferraro.it/app/list/search/',
# 10: [ u'lmVWMKFovLSsiPAltFtD',
# u'FiQxRRociGuWylWjkILT',
# u'VpImcAVPbvpvGwVyMLKA'],
# 11: { 9: u'http://parisi.com/main/faq.html',
# 10: u'rinaldilamberto@libero.it',
# 11: [ u'tmartinelli@farina-benedetti.it',
# u'vOmUDUcghfIumdrGEUtV']}},
# u'ut': { 0: u'gcaruso@libero.it',
# 1: [ 8941,
# 5382,
# datetime.datetime(2012, 11, 2, 10, 21, 55)],
# 2: { 0: u'UuOISQibOuxHpsZqEMIA',
# 1: 7677,
# 2: [-500.951784971, 9351]}},
# u'vero': { 4: datetime.datetime(1989, 9, 29, 18, 23, 19),
# 5: [ datetime.datetime(2006, 2, 14, 11, 34, 20),
# u'EKbZTDArztgZyfHkelPd',
# u'liboriocarbone@villa.com'],
# 6: { 4: 4002,
# 5: u'NolczFBmncKLBMTrQGrR',
# 6: [ u'dangeloelsa@outlook.com',
# u'UenYkntrPmkBLKPAsMgV']}},
# u'vitae': { 1: 5394,
# 2: [ u'KuFNaWrsyThENAYfsrxz',
# u'donatella39@fastwebnet.it',
# u'ZWRSaOyAAJKTgcrkVEkt'],
# 3: { 1: datetime.datetime(1979, 8, 31, 7, 7, 19),
# 2: -496590887204.68,
# 3: [468, 9268]}}})
fake.pyfloat(left_digits=None, right_digits=None, positive=False)
# 3310679.6
fake.pydecimal(left_digits=None, right_digits=None, positive=False)
# Decimal('-44908217.4943')
fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types)
# [ u'gOgvCOlonNVboCWgNjDj',
# u'jYHZosLkFolxaDVapeHx',
# 3725,
# u'https://www.damico.net/',
# u'https://www.gallo-giordano.eu/categories/search/search.php',
# 40.64569512767,
# 1945,
# u'CcMAlwoFGmpbsXBwSArx',
# 7356,
# Decimal('8107749.0'),
# u'GqfxPRXWLxiOTAGSQRJw',
# u'TKoYalJMHyJYeZVFabVp']
fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types)
# ( u'dBPibfONpLsQbWUEjaAQ',
# 995228036.2,
# Decimal('-55243136.8'),
# u'damicodemi@basile.eu',
# datetime.datetime(1972, 11, 28, 9, 53, 54),
# datetime.datetime(2003, 7, 4, 22, 42, 49),
# u'sVZyWrGhGiucrIuuFoZc',
# u'GXlbPSKJKJDdmgAyFoRe',
# u'http://pellegrini-barone.it/blog/tag/author/')
fake.pybool()
# True
fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types)
# set([u'OgMDPatXIEdNHWwXAWGm', u'marco13@vodafone.it', u'fabio38@poste.it', u'EtbLtfMhFIhbGdIGLIeq', u'UAZKKMEhaBRdGoaEozbD', -433496604.2019, 595, Decimal('-4.45554886203E+13'), u'ileana86@rossetti.com', 8278, u'PGEqSwcrNpgHmSYnenJN', datetime.datetime(1975, 12, 11, 22, 14, 10), u'IvojYHTzFZbBHxYJZCpj'])
fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types)
# { u'alias': -3.7502,
# u'ea': u'aRwrMDKcleGXxXwoKghk',
# u'eos': u'https://www.mazza.it/home/',
# u'exercitationem': 8959186347.0,
# u'ipsum': datetime.datetime(1973, 9, 19, 17, 12, 20),
# u'itaque': 4961109215353.2,
# u'laborum': Decimal('16.99690062'),
# u'necessitatibus': 607423718846.129,
# u'nulla': 9062,
# u'quisquam': Decimal('-979684.15281'),
# u'veniam': u'SYZjyMZhwrQldqgMjWlT',
# u'voluptas': datetime.datetime(1971, 7, 12, 23, 52, 44)}
fake.pyint()
# 6056
faker.providers.ssn
¶
fake.ssn()
# u'SFFOXA44N26U391Z'
faker.providers.user_agent
¶
fake.mac_processor()
# u'U; PPC'
fake.firefox()
# u'Mozilla/5.0 (X11; Linux i686; rv:1.9.7.20) Gecko/2014-10-31 19:38:32 Firefox/3.6.2'
fake.linux_platform_token()
# u'X11; Linux x86_64'
fake.opera()
# u'Opera/8.50.(X11; Linux x86_64; th-TH) Presto/2.9.166 Version/11.00'
fake.windows_platform_token()
# u'Windows NT 5.1'
fake.internet_explorer()
# u'Mozilla/5.0 (compatible; MSIE 7.0; Windows NT 6.2; Trident/4.1)'
fake.user_agent()
# u'Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_9_5; rv:1.9.6.20) Gecko/2016-11-09 04:55:07 Firefox/6.0'
fake.linux_processor()
# u'i686'
fake.chrome(version_from=13, version_to=63, build_from=800, build_to=899)
# u'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_1) AppleWebKit/5330 (KHTML, like Gecko) Chrome/44.0.821.0 Safari/5330'
fake.mac_platform_token()
# u'Macintosh; U; Intel Mac OS X 10_8_5'
fake.safari()
# u'Mozilla/5.0 (Windows; U; Windows NT 6.0) AppleWebKit/533.18.3 (KHTML, like Gecko) Version/4.0.1 Safari/533.18.3'