Locale en_IN

faker.providers.address

class faker.providers.address.en_IN.Provider(generator)

Bases: faker.providers.address.Provider

address()

:example ‘791 Crist Parks, Sashabury, IL 86039-9874’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.address()
...
'H.No. 487\nSrinivasan Marg, Morena-938242'
'92/41\nYogi Zila\nChittoor 565938'
'40/80\nSem Zila, Mumbai-535139'
'871, Dutta Zila\nMoradabad-841858'
'19\nDutt Marg\nRamagundam-320947'
administrative_unit()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.administrative_unit()
...
'West Bengal'
'Madhya Pradesh'
'Tripura'
'Maharashtra'
'Arunachal Pradesh'
building_number()

:example ‘791’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.building_number()
...
'60'
'H.No. 87'
'47'
'H.No. 93'
'24/21'
city()

:example ‘Sashabury’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.city()
...
'Bidar'
'Rampur'
'Machilipatnam'
'Morena'
'Ballia'
city_name()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.city_name()
...
'Kharagpur'
'Bidar'
'Thane'
'Rampur'
'Sasaram'
city_suffix()

:example ‘town’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.city_suffix()
...
'Ville'
'Ville'
'Ville'
'Ville'
'Ville'
country()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.country()
...
'Maldives'
'Palestine'
'Kingdom of the Netherlands'
'Barbados'
'Israel'
country_code(representation='alpha-2')
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.country_code()
...
'MV'
'PS'
'NL'
'BB'
'IL'
current_country()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.current_country()
...
'India'
'India'
'India'
'India'
'India'
current_country_code()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.current_country_code()
...
'IN'
'IN'
'IN'
'IN'
'IN'
postcode()

:example 86039-9874

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.postcode()
...
'604876'
'759382'
'219489'
'411578'
'565938'
state()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.state()
...
'West Bengal'
'Madhya Pradesh'
'Tripura'
'Maharashtra'
'Arunachal Pradesh'
street_address()

:example ‘791 Crist Parks’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.street_address()
...
'04\nKibe Circle'
'H.No. 75\nWalla'
'24/21, Sura'
'92/41\nYogi Zila'
'81\nKalla Path'
street_name()

:example ‘Crist Parks’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.street_name()
...
'Sibal Marg'
'Bahri Marg'
'Kumer Road'
'Jain Chowk'
'Khare Road'
street_suffix()

:example ‘Avenue’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.street_suffix()
...
'Street'
'Street'
'Street'
'Street'
'Street'

faker.providers.person

class faker.providers.person.en_IN.Provider(generator)

Bases: faker.providers.person.Provider

first_name()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.first_name()
...
'Zain'
'Vritika'
'Alia'
'Arnav'
'Reyansh'
first_name_female()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.first_name_female()
...
'Zain'
'Vritika'
'Alia'
'Arnav'
'Reyansh'
first_name_male()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.first_name_male()
...
'Zain'
'Vritika'
'Alia'
'Arnav'
'Reyansh'
first_name_nonbinary()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.first_name_nonbinary()
...
'Zain'
'Vritika'
'Alia'
'Arnav'
'Reyansh'
language_name()

Generate a random i18n language name (e.g. English).

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.language_name()
...
'Luba-Katanga'
'Malay'
'Aymara'
'Interlingue'
'Quechua'
last_name()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.last_name()
...
'Uppal'
'Hans'
'Sibal'
'Walia'
'Kade'
last_name_female()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.last_name_female()
...
'Uppal'
'Hans'
'Sibal'
'Walia'
'Kade'
last_name_male()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.last_name_male()
...
'Uppal'
'Hans'
'Sibal'
'Walia'
'Kade'
last_name_nonbinary()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.last_name_nonbinary()
...
'Uppal'
'Hans'
'Sibal'
'Walia'
'Kade'
name()

:example ‘John Doe’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.name()
...
'Vritika Walia'
'Arnav Dayal'
'Adah Srinivasan'
'Dishani Gola'
'Hazel Boase'
name_female()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.name_female()
...
'Vritika Walia'
'Arnav Dayal'
'Adah Srinivasan'
'Dishani Gola'
'Hazel Boase'
name_male()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.name_male()
...
'Vritika Walia'
'Arnav Dayal'
'Adah Srinivasan'
'Dishani Gola'
'Hazel Boase'
name_nonbinary()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.name_nonbinary()
...
'Vritika Walia'
'Arnav Dayal'
'Adah Srinivasan'
'Dishani Gola'
'Hazel Boase'
prefix()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.prefix()
...
''
''
''
''
''
prefix_female()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.prefix_female()
...
''
''
''
''
''
prefix_male()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.prefix_male()
...
''
''
''
''
''
prefix_nonbinary()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.prefix_nonbinary()
...
''
''
''
''
''
suffix()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.suffix()
...
''
''
''
''
''
suffix_female()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.suffix_female()
...
''
''
''
''
''
suffix_male()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.suffix_male()
...
''
''
''
''
''
suffix_nonbinary()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.suffix_nonbinary()
...
''
''
''
''
''

faker.providers.phone_number

class faker.providers.phone_number.en_IN.Provider(generator)

Bases: faker.providers.phone_number.Provider

country_calling_code()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.country_calling_code()
...
'+687'
'+595'
'+880'
'+964'
'+41'
msisdn()

https://en.wikipedia.org/wiki/MSISDN

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.msisdn()
...
'6048764759382'
'2194892411578'
'5659387784080'
'6097535139332'
'1158714841858'
phone_number()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.phone_number()
...
'06048764759'
'+918242194892'
'01157815659'
'3877840801'
'6097535139'

faker.providers.ssn

class faker.providers.ssn.en_IN.Provider(generator)

Bases: faker.providers.ssn.Provider

Faker provider for Indian Identifiers

aadhaar_id()

Aadhaar is a 12 digit person identifier generated for residents of India. Details: https://en.wikipedia.org/wiki/Aadhaar Official Website: https://uidai.gov.in/my-aadhaar/about-your-aadhaar.html

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.aadhaar_id()
...
'460487647592'
'242194892418'
'878156593872'
'608016097537'
'939332871150'
ssn()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.ssn()
...
'604-87-6475'
'824-21-9489'
'411-57-8156'
'938-77-8408'
'160-97-5351'